The file called
chrome.manifest tells Thunderbird what packages and overlays are provided by the extension. Open the file called
chrome.manifest that you created and add this code:
content myfirstext chrome/content/
contentspecifies the type of material in the package
myfirstextis the name of the chrome package (specified in the first segment of
chrome/content/is the location of the package's files within the
So, this line says that for a chrome package
myfirstext, we can find its content files in the directory
content/ (which is a path relative to the location of
To change the Thunderbird user interface to support the extension, you create an overlay and then merge it with the default Thunderbird interface. Later in the tutorial we will create a XUL overlay file that will merge with the default
messenger.xul file. At this point we are going to specify in
chrome.manifest the existence of the overlay (which we will create later).
Add this line at the end of
messenger.xulloads. For more information on chrome manifests and the properties they support, see the Chrome Manifest Reference.
If you used the Add-On Builder as described in the previous step, open the
chrome.manifest file that was in the archive package in a text editor. You will see the
content line at the top of the file. Add the
overlay line at the bottom of the file. It doesn't matter if there are other
overlay lines in the file.