Toolbar Tutorial Fixes for Firefox 3
Posted on April 19, 2008 at 5:32 pmI 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.
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
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!Hey man, thank You very much for this :). Will be surely read and used