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 993427 of Porting a Google Chrome extension

  • Revision slug: Mozilla/Add-ons/WebExtensions/Porting_from_Google_Chrome
  • Revision title: Porting from Google Chrome
  • Revision id: 993427
  • Created:
  • Creator: wbamberg
  • Is current revision? No
  • Comment

Revision Content

{{AddonSidebar}}

WebExtensions are designed for cross-browser compatibility: to a large extent the technology is compatible with the extension API supported by Google Chrome and Opera. Extensions written for these browsers will in most cases run in Firefox with just a few changes. The process of porting an extension from Chrome or Opera is like this:

  1. Review your use of manifest.json features and WebExtension APIs against the Chrome incompatibilities reference. If you're using features or APIs that are not yet supported in Firefox, you may not be able to port your extension yet.
  2. Add the applications key to the extension's manifest.json file.
  3. Check you have done the basic setup for installing WebExtensions in Firefox.
  4. Package the extension as an XPI, install the extension in Firefox, and test it.
  5. Submit it to AMO for signing and distribution.

Revision Source

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

<p>WebExtensions are designed for cross-browser compatibility: to a large extent the technology is compatible with the <a class="external external-icon" href="https://developer.chrome.com/extensions">extension API</a> supported by Google Chrome and Opera. Extensions written for these browsers will in most cases run in Firefox with just a few changes. The process of porting an extension from Chrome or Opera is like this:</p>

<ol>
 <li>Review your use of manifest.json features and WebExtension APIs against the <a href="/en-US/Add-ons/WebExtensions/Chrome_incompatibilities">Chrome incompatibilities reference</a>. If you're using features or APIs that are not yet supported in Firefox, you may not be able to port your extension yet.</li>
 <li>Add the <code><a href="/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/applications">applications</a></code> key to the extension's manifest.json file.</li>
 <li><a href="/en-US/Add-ons/WebExtensions/Prerequisites">Check you have done the basic setup for installing WebExtensions in Firefox</a>.</li>
 <li><a href="/en-US/Add-ons/WebExtensions/Packaging_and_installation">Package the extension as an XPI, install the extension in Firefox, and test it</a>.</li>
 <li><a href="/en-US/Add-ons/Distribution">Submit it to AMO for signing and distribution</a>.</li>
</ol>

<ul>
</ul>
Revert to this revision