Toolbar Tutorial Fixes for Firefox 3

Apr 19, 2008

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

LeiAnLeiAn

11:23 PM on Apr 20, 2008
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

Jonah

2:53 AM on Apr 22, 2008
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!

Geekhall Admin

10:50 AM on Apr 27, 2008
Hey man, thank You very much for this :). Will be surely read and used :)

Pontus

9:05 AM on Oct 17, 2008
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.

Tamlyn

9:17 PM on Nov 19, 2008
Really good tutorial. Thank you so much!

Leave a Comment

Ignore this field:
Never displayed
Leave this blank:
Optional; will not be indexed
Ignore this field:
Both Markdown and a limited set of HTML tags are supported
Leave this empty: