aleph 10a27ceefc Stash desktop 8 years ago
..
beastify 10a27ceefc Stash desktop 8 years ago
bookmark-it 10a27ceefc Stash desktop 8 years ago
borderify 10a27ceefc Stash desktop 8 years ago
chill-out 10a27ceefc Stash desktop 8 years ago
commands 10a27ceefc Stash desktop 8 years ago
context-menu-demo 10a27ceefc Stash desktop 8 years ago
favourite-colour 10a27ceefc Stash desktop 8 years ago
latest-download 10a27ceefc Stash desktop 8 years ago
notify-link-clicks-i18n 10a27ceefc Stash desktop 8 years ago
open-my-page-button 10a27ceefc Stash desktop 8 years ago
page-to-extension-messaging 10a27ceefc Stash desktop 8 years ago
quicknote 10a27ceefc Stash desktop 8 years ago
tabs-tabs-tabs 10a27ceefc Stash desktop 8 years ago
user-agent-rewriter 10a27ceefc Stash desktop 8 years ago
CONTRIBUTING.md 10a27ceefc Stash desktop 8 years ago
LICENSE 10a27ceefc Stash desktop 8 years ago
README.md 10a27ceefc Stash desktop 8 years ago
examples.json 10a27ceefc Stash desktop 8 years ago

README.md

webextensions-examples

https://github.com/mdn/webextensions-examples

Maintained by the MDN team at Mozilla.

WebExtensions are a way to write browser extensions: that is, programs installed inside a web browser that modify the behaviour of the browser or of web pages loaded by the browser. They are built on a set of cross-browser APIs, so WebExtensions written for Google Chrome or Opera will in most cases run in Firefox or Edge too.

The "webextensions-examples" repository is a collection of simple but complete and installable WebExtensions. You can use the examples to see how to use the WebExtensions APIs, and as a starting point for your own WebExtensions.

The examples are made available under the Mozilla Public License 2.0.

How to use "webextensions-examples"

To use the repository, first clone it.

Each example is in its own top-level directory. Install an example in your favourite web browser (see installation instructions for Firefox), and see how it works. Each example has its own short README explaining what it does.

To find your way around a WebExtension's internal structure, have a look at the Anatomy of a WebExtension page on MDN.

To use these examples in Firefox, you need at least Firefox 45. Some examples rely on APIs that were added in more recent versions of Firefox. To check the minimum version of Firefox needed for a given example, see the strict_min_version part of the applications key in the example's manifest.json file.

Learn more

To learn more about developing WebExtensions, see the WebExtensions documentation on MDN for getting started guides, tutorials, and full API reference docs.

Problems?

If you find a problem, please file a bug.

If you need help, email the dev-addons mailing list or contact the WebExtensions team in the #webextensions IRC channel on irc.mozilla.org.

Contributing

We welcome contributions, whether they are whole new examples, new features, bug fixes, or translations of localizable strings into new languages. Please see the CONTRIBUTING.md file for more details.