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 1018414 of Example WebExtensions

  • Revision slug: Mozilla/Add-ons/WebExtensions/Examples
  • Revision title: Example WebExtensions
  • Revision id: 1018414
  • Created:
  • Creator: wbamberg
  • Is current revision? No
  • Comment

Revision Content

{{AddonSidebar}}

To help illustrate how to develop WebExtensions, we maintain a repository of simple example WebExtensions at https://github.com/mdn/webextensions-examples. This article describes the extensions in that repository.

These examples work in Firefox Nightly: some work in earlier versions of Firefox, but check the strict_min_version key in the add-on's manifest.json to make sure.

A recommended way to install these add-ons is to use about:debugging, which was added in Firefox 45, these will load the add-on straight from the directory so no zip or sign step is needed.

If you want to contribute to the repository, send us a pull request!

{{WebExtExamples}}

Revision Source

<div>{{AddonSidebar}}</div>

<p>To help illustrate how to develop WebExtensions, we maintain a repository of simple example WebExtensions at <a href="https://github.com/mdn/webextensions-examples">https://github.com/mdn/webextensions-examples</a>. This article describes the extensions in that repository.</p>

<p>These examples work in Firefox Nightly: some work in earlier versions of Firefox, but check the <a href="/en-US/Add-ons/WebExtensions/manifest.json/applications">strict_min_version</a> key in the add-on's manifest.json to make sure.</p>

<p>A recommended way to install these add-ons is to use <a href="/en-US/docs/">about:debugging</a>, which was added in Firefox 45, these will load the add-on straight from the directory so no zip or sign step is needed.</p>

<p>If you want to contribute to the repository, send us a pull request!</p>

<p>{{WebExtExamples}}</p>
Revert to this revision