Getting startedHow to install the SDK and use the cfx tool to develop, test, and package add-ons. |
Create user interface componentsCreate user interface components such as toolbar buttons, menu items, and dialogs |
Interact with the browserOpen web pages, listen for pages loading, and list open pages. |
Modify web pagesModify pages matching a URL pattern or dynamically modify a particular tab. |
Development techniquesLearn about common development techniques, such as unit testing, logging, creating reusable modules, localization, and mobile development. |
Putting it togetherWalkthrough of the Annotator example add-on. |
SDK infrastructureAspects of the SDK's underlying technology: Modules, the Program ID, and the rules defining Firefox compatibility. |
SDK idiomsThe SDK's event framework and the distinction between add-on scripts and content scripts. |
Content scriptsA detailed guide to working with content scripts, including: how to load content scripts, which objects content scripts can access, and how to communicate between content scripts and the rest of your add-on. |
XUL migrationA guide to porting XUL add-ons to the SDK. This guide includes a comparison of the two toolsets and a worked example of porting a XUL add-on. |
High-Level APIsReference documentation for the high-level SDK APIs. |
Low-Level APIsReference documentation for the low-level SDK APIs. |
Tools referenceReference documentation for the cfx tool used to develop, test, and package add-ons, the console global used for logging, and the package.json file. |