Warning: The content of this article may be out of date. This tutorial describes how to create an extension for the old versions of Mozilla Suite (currently SeaMonkey). See Building an Extension for an up-to-date tutorial (it focuses on Firefox, but is also applicable to other new applications).
A Mozilla extension is an installable enhancement to the Mozilla browser that provides additional functionality (for example Linky, which adds an item to the context menu for opening multiple links in a document or selection). This tutorial walks you through the process of building a Mozilla extension that adds an icon to Mozilla's status bar showing the current status of the Mozilla source code (i.e. whether or not the latest version of the code is compiling successfully and passing tests). The extension will access Tinderbox, mozilla.org's webtool for tracking source code status, to get the status of the code.
- Making a Mozilla installation modifiable
- Finding the file to modify
- Finding the code to modify
- Adding the structure
- Specifying the appearance
- Enabling the behavior - retrieving tinderbox status
- Enabling the behavior - updating the status bar panel
- Enabling the behavior - updating the status periodically
- Making it into a static overlay
- Making it into a dynamic overlay and packaging it up for distribution
Original Document Information
- Author(s): Myk Melez
- Last Updated Date: September 19, 2006
- Copyright Information: Portions of this content are © 1998–2007 by individual mozilla.org contributors; content available under a Creative Commons license | Details.