Add-on SDK for Firefox updated
Mozilla has released version 1.1 of the Add-on SDK for the Firefox browser, formerly known as Jetpack. The new release includes one major change designed to simplify the porting of older add-ons from the XUL/XPCOM architecture. It affects the global
Components object, which is frequently used in such add-ons but which will not be available to add-ons in the future. The update will enable developers to port their old add-ons regardless by using
require("chrome") to suppress any errors that would be generated.
Other advancements include the support for images in context menus and a mechanism that facilitates the communication between an add-on's "content scripts" and the scripts loaded by a web page. In future, the SDK developers plan to follow the browser's release cycle and will release each new version two weeks before the new browser version becomes available.
More details about the latest version are available in the release notes. The Add-on SDK is platform-independent and requires Python. It is available to download (direct download) from the project's web page.