翻譯不完整。請協助 翻譯此英文文件。
有了附加元件開發套件(Add-on SDK),您可以使用標準的JavaScript、HTML、CSS等語法來建立Firefox的附加元件。SDK包含用來製作附加元件的JavaScript API,及建立、測試、運行或包裝附加元件的相關工具。
入門
指引
- 貢獻者指南
- 學習如何貢獻 SDK 以及 SDK 當中的重要術語,如模組、類(Class)及繼承(Inheritance)、私有屬性以及內容處理。
- SDK infrastructure
- Aspects of the SDK's underlying technology: modules, the Program ID, and the rules defining Firefox compatibility.
- Content scripts
- A 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.
- SDK idioms
- The SDK's event framework and the distinction between add-on scripts and content scripts.
- XUL migration
- A guide to porting XUL add-ons to the SDK. This guide includes a comparison of the two toolsets and a working example of porting a XUL add-on.