Volleynerd Knowledge Base

Saturday, July 30, 2005

How to write Firefox extensions


(updated 11/09/05)
Finally got my Firefox extension approved!! Unwrap Text

While poking around trying to get the description formatting correct, found these forms at mozillazine.org

(updated 7/30/05)
Someday, I want to write a "URL unwrapper" extension. Looks pretty easy...

(Use CopyPlainText as an example, since it works based on the current selection. Then use SuperDragNGo as another example since it opens another tab.)

How to write Firefox extensions

(Looks like that URL has moved, so here's a direct link to another one I found, I think from the same author)

roachfiend.com ? How to create Firefox extensions

... and here's a follow-up article by the same guy that tells about the auto-update check mechanism for extensions



References
MozillaZine (menu setup, enable/disable)

Building an Extension Walkthrough -- from Mozilla DEV

JavaScript reference from Mozilla.

DOM Inspector -- look for IDs, CSS styles, etc

Debugger - set breakpoints and inspect call stacks

Summary of some good extension developer tools, including Web Developer Extension, Greasemonkey, ColorZilla, Platypus

Mozilla Dev docs on what's changed in Firefox 1.5



Comments: Post a Comment

Home