The Deep End

go to graworks.com! email!

Tuesday, January 03, 2006

Using Reloadchromezilla with Firefox/Thunderbird 1.5

With whatever 1.5, you won't need to edit chrome.rdf! All you need to do is install Reloadchromezilla, install your extension, and reload the chrome as often as you would like! You will have to make one simple edit to a "chrome.manifest" file, as explained later.

As noted in this mozillazine entry, you could just restart firefox/thunderbird and see the changes you made in your extension. Reloadchromezilla is useful because instead of restarting, you can just click the button. This works because "reloading the chrome" will cause mozilla to update the changes you made to your extension. For more information on how Reloadchromezila works, see this previous post.

Read this mozillazine entry for how to package and install your extension, but the installation method below worked for me:

1. package your extension into an
.xpi, and drag into the extensions folder in your profile directory. This is usually located in C:\documents and settings\(your user name)\Application Data\Mozilla\Firefox or Application Data\Thunderbird

2. restart Firefox/thunderbird. On the restart, your extension will install.

3. once installed, to edit your files, extract your .jar file. This will reveal your .js and .xul files

4. To get the program to use these files instead of the .jar, you'll have to edit your chrome.manifest file. All you have to do is replace jar:chrome/(your extension).jar!/ with chrome/

you're replacing the jar stuff with "chrome" because the files will be in the chrome folder.

5. start developing! Use the Reloadchromezilla button or highly customizable context menu!