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 maxVersion references in chapter 2 have been bumped to 3.0.*.
  • All preventBubble references have been changed to stopPropagation, since the preventBubble call 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.

« »
 

5 Comments

  1. i 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

  2. For 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!

  3. Hey man, thank You very much for this :) . Will be surely read and used :)

  4. Hi, 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.

  5. Really good tutorial. Thank you so much!

Leave a Reply