Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Revision 1089097 of Add-on SDK

  • URL revize: Mozilla/Add-ons/SDK
  • Název revize: Add-on SDK
  • ID revize: 1089097
  • Vytvořeno:
  • Autor: rolfedh
  • Aktuální revize? Ano
  • Komentář Editorial review. Minor edit.

Obsah revize

{{AddonSidebar}}

Using the Add-on SDK, you can create Firefox add-ons. You can use various standard Web technologies: JavaScript, HTML, and CSS, to create the add-ons. The SDK includes JavaScript APIs, which you can use to create add-ons and tools for creating, running, testing, and packaging add-ons.


Tutorials

Create user interface components
Create user interface components such as toolbar buttons, context menus, menu items, and dialogs.
Modify web pages
Modify pages matching a URL pattern or dynamically modify a particular tab.
Putting it together
Walkthrough of the Annotator example add-on.

Guides

Contributor's guide
Learn how to start contributing to the SDK and about the most important idioms used in the SDK code such as modules, classes and inheritance, private properties, and content processes.
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.
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.
Multiprocess Firefox and the SDK
How to check whether your add-on is compatible with multiprocess Firefox or not and fix it accordingly.

Reference

High-Level APIs
Reference documentation for the high-level SDK APIs.
Tools reference
Reference documentation for the jpm tool used to develop, test and package add-ons, the console global used for logging, and the package.json file.
Low-Level APIs
Reference documentation for the low-level SDK APIs.

 


{{CommunityBox("Add-on SDK", "https://mail.mozilla.org/listinfo/dev-addons", "https://groups.google.com/forum/?fromgroups#!forum/mozilla-labs-jetpack", "jetpack", "Team info|https://wiki.mozilla.org/Jetpack|Jetpack Wiki|Designs and plans for the SDK tools", "mozillajetpack", "firefox-addon-sdk")}}

Zdroj revize

<p>{{AddonSidebar}}</p>

<p>Using the Add-on SDK, you can create Firefox add-ons. You can use various&nbsp;standard Web technologies: JavaScript, HTML, and CSS, to create the add-ons. The SDK includes JavaScript APIs, which you can use to create add-ons&nbsp;and tools for creating, running, testing, and packaging add-ons.</p>

<hr />
<h3 id="Tutorials"><a href="/en-US/Add-ons/SDK/Tutorials">Tutorials</a></h3>

<div class="column-container">
<div class="column-half">
<dl>
 <dt><a href="/en-US/Add-ons/SDK/Tutorials#getting-started">Getting started</a></dt>
 <dd>How to <a href="/en-US/Add-ons/SDK/Tutorials/Installation">install the SDK</a> and <a href="/en-US/Add-ons/SDK/Tutorials/Getting_Started_(jpm)">use the jpm tool</a> to develop, test, and package add-ons.</dd>
 <dt><a href="/en-US/Add-ons/SDK/Tutorials#interact-with-the-browser">Interact with the browser</a></dt>
 <dd><a href="/en-US/Add-ons/SDK/Tutorials/Open_a_Web_Page">Open web pages</a>, <a href="/en-US/Add-ons/SDK/Tutorials/Listen_For_Page_Load">listen for pages loading</a>&nbsp;and <a href="/en-US/Add-ons/SDK/Tutorials/List_Open_Tabs">list open pages</a>.</dd>
 <dt><a href="/en-US/Add-ons/SDK/Tutorials#development-techniques">Development techniques</a></dt>
 <dd>Learn about common development techniques, such as <a href="/en-US/Add-ons/SDK/Tutorials/Unit_testing">unit testing</a>, <a href="/en-US/Add-ons/SDK/Tutorials/Logging">logging</a>, <a href="/en-US/Add-ons/SDK/Tutorials/Creating_Reusable_Modules">creating reusable modules</a>, <a href="/en-US/Add-ons/SDK/Tutorials/l10n">localization</a>, and <a href="/en-US/Add-ons/SDK/Tutorials/Mobile_development">mobile development</a>.</dd>
</dl>
</div>

<div class="column-half">
<dl>
 <dt><a href="/en-US/Add-ons/SDK/Tutorials#create-user-interfaces">Create user interface components</a></dt>
 <dd>Create user interface components such as <a href="/en-US/Add-ons/SDK/Tutorials/Adding_a_Button_to_the_Toolbar">toolbar buttons</a>, <a href="/en-US/Add-ons/SDK/Tutorials/Add_a_Context_Menu_Item">context menus</a>, <a href="/en-US/Add-ons/SDK/Tutorials/Add_a_Menu_Item_to_Firefox">menu items</a>, and <a href="/en-US/Add-ons/SDK/Tutorials/Display_a_Popup">dialogs</a>.</dd>
 <dt><a href="/en-US/Add-ons/SDK/Tutorials#modify-web-pages">Modify web pages</a></dt>
 <dd>Modify pages <a href="/en-US/Add-ons/SDK/Tutorials/Modifying_Web_Pages_Based_on_URL">matching a URL pattern</a> or dynamically <a href="/en-US/Add-ons/SDK/Tutorials/Modifying_the_Page_Hosted_by_a_Tab">modify a particular tab</a>.</dd>
 <dt><a href="/en-US/Add-ons/SDK/Tutorials/Annotator">Putting it together</a></dt>
 <dd>Walkthrough of the Annotator example add-on.</dd>
</dl>
</div>
</div>

<hr />
<h3 id="Guides">Guides</h3>

<div class="column-container">
<div class="column-half">
<dl>
 <dt><a href="/en-US/Add-ons/SDK/Guides#contributors-guide">Contributor's guide</a></dt>
 <dd>Learn <a href="/en-US/Add-ons/SDK/Guides/Getting_Started">how to start contributing</a> to the SDK&nbsp;and about the most important idioms used in the SDK code&nbsp;such as <a href="/en-US/Add-ons/SDK/Guides/Modules">modules</a>, <a href="/en-US/Add-ons/SDK/Guides/Classes_and_Inheritance">classes and inheritance</a>, <a href="/en-US/Add-ons/SDK/Guides/Private_Properties">private properties</a>, and <a href="/en-US/Add-ons/SDK/Guides/Content_Processes">content processes</a>.</dd>
 <dt><a href="/en-US/Add-ons/SDK/Guides#sdk-infrastructure">SDK infrastructure</a></dt>
 <dd>Aspects of the SDK's underlying technology: <a href="/en-US/Add-ons/SDK/Guides/Module_structure_of_the_SDK">modules</a>, the <a href="/en-US/Add-ons/SDK/Guides/Program_ID">Program ID</a>&nbsp;and the rules defining <a href="/en-US/Add-ons/SDK/Guides/Firefox_Compatibility">Firefox compatibility</a>.</dd>
 <dt><a href="/en-US/Add-ons/SDK/Guides/Content_Scripts">Content scripts</a></dt>
 <dd>A detailed guide to working&nbsp;with content scripts.</dd>
</dl>
</div>

<div class="column-half">
<dl>
 <dt><a href="/en-US/Add-ons/SDK/Guides#sdk-idioms">SDK idioms</a></dt>
 <dd>The SDK's <a href="/en-US/Add-ons/SDK/Guides/Working_with_Events">event framework</a> and the <a href="/en-US/Add-ons/SDK/Guides/Two_Types_of_Scripts">distinction between add-on scripts and content scripts</a>.</dd>
 <dt><a href="/en-US/Add-ons/SDK/Guides/XUL_Migration_Guide">XUL migration</a></dt>
 <dd>A guide to <a href="/en-US/Add-ons/SDK/Guides/XUL_Migration_Guide">porting XUL add-ons to the SDK</a>. This guide includes a <a href="/en-US/Add-ons/SDK/Guides/XUL_vs_SDK">comparison of the two toolsets</a> and a <a href="/en-US/Add-ons/SDK/Guides/Porting_the_Library_Detector">working example</a> of porting a XUL add-on.</dd>
 <dt><a href="/en-US/Add-ons/SDK/Guides/Multiprocess_Firefox_and_the_SDK">Multiprocess Firefox and the SDK</a></dt>
 <dd>How to check whether your add-on is compatible with multiprocess Firefox or not and fix it accordingly.</dd>
</dl>
</div>
</div>

<hr />
<h3 id="Reference">Reference</h3>

<div class="column-container">
<div class="column-half">
<dl>
 <dt><a href="/en-US/Add-ons/SDK/High-Level_APIs">High-Level APIs</a></dt>
 <dd>Reference documentation for the high-level SDK APIs.</dd>
 <dt><a href="/en-US/Add-ons/SDK/Tools">Tools reference</a></dt>
 <dd>Reference documentation for the <a href="/en-US/Add-ons/SDK/Tools/jpm">jpm tool</a> used to develop, test&nbsp;and package add-ons, the <a href="/en-US/Add-ons/SDK/Tools/console">console</a> global used for logging, and the <a href="/en-US/Add-ons/SDK/Tools/package_json">package.json</a> file.</dd>
</dl>
</div>

<div class="column-half">
<dl>
 <dt><a href="/en-US/Add-ons/SDK/Low-Level_APIs">Low-Level APIs</a></dt>
 <dd>Reference documentation for the low-level SDK APIs.</dd>
</dl>
</div>
</div>

<p>&nbsp;</p>

<hr />
<div>{{CommunityBox("Add-on SDK", "https://mail.mozilla.org/listinfo/dev-addons", "https://groups.google.com/forum/?fromgroups#!forum/mozilla-labs-jetpack", "jetpack", "Team info|https://wiki.mozilla.org/Jetpack|Jetpack Wiki|Designs and plans for the SDK tools", "mozillajetpack", "firefox-addon-sdk")}}</div>
Návrat k této revizi