Toolbar Tutorial Fixes for Firefox 3
I have made several changes to the Toolbar Tutorial to support the upcoming Firefox 3.0. Here’s a rundown of what has changed:
- The downloadable files in chapter 1 have been updated to support Firefox 3.0.
- All
maxVersionreferences in chapter 2 have been bumped to3.0.*. - All
preventBubblereferences have been changed tostopPropagation, since thepreventBubblecall has been deprecated. - I have unified formatting across the various chapters, to be more consistent.
As always, please let me know if you spot an error.

LeiAnLeiAn
April 20, 2008 at 7:23 pmi can’t make the package on how to make it js & xpi the folder i have created, and how to make a button along with the File Edit.. Help. I want to make a button after Help
Jonah
April 21, 2008 at 10:53 pmFor the packaging step, carefully reread Chapter 7: Packaging the Toolbar. I discuss step-by-step how to package your extension correctly. There are other tutorials around the web on packaging; just do a quick Google search.
As for adding items to the main menu, I believe you can do this by adding menu elements to the primary menubar element (which has an ID value of
main-menubar). If you still run into trouble, consider asking your questions at the MozillaZine Extension Development Forum. The folks there are very knowledgeable. Good luck!Geekhall Admin
April 27, 2008 at 6:50 amHey man, thank You very much for this
. Will be surely read and used
Pontus
October 17, 2008 at 5:05 amHi, I just want to thank you for the Firefox toolbar tutorial.
After 1 year of development its not much of the tutorial code left in my extension. But i check your blog out from time to time mainly to get compatibility updates on the tutorial code for new versions of FF. So keep up the good work.
Tamlyn
November 19, 2008 at 4:17 pmReally good tutorial. Thank you so much!