All Projects → mdn → Webextensions Examples

mdn / Webextensions Examples

Licence: mpl-2.0
Example Firefox add-ons created using the WebExtensions API

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
CSS
56736 projects
python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Webextensions Examples

awesome-extension-apis
Awesome cross-extension APIs that enable browser extensions to integrate with each other.
Stars: ✭ 17 (-99.44%)
Mutual labels:  webextensions, webextensions-apis
Treestyletab
Tree Style Tab, Show tabs like a tree.
Stars: ✭ 2,438 (-20.07%)
Mutual labels:  webextensions
Netflix Categories
Unlock Netflix Hidden Categories With This Browser Extension
Stars: ✭ 93 (-96.95%)
Mutual labels:  webextensions
Patchfox
A client for scuttlebutt network as a Firefox WebExtension
Stars: ✭ 142 (-95.34%)
Mutual labels:  webextensions
Redux Webext
Redux for WebExtensions
Stars: ✭ 101 (-96.69%)
Mutual labels:  webextensions
Downzemall
DownZemAll! is a download manager for Windows, MacOS and Linux
Stars: ✭ 157 (-94.85%)
Mutual labels:  webextensions
Github Contribution Color Graph
Change colors of contribution graph in GitHub.
Stars: ✭ 70 (-97.7%)
Mutual labels:  webextensions
Extension Create
Create modern cross-browser extensions with no build configuration.
Stars: ✭ 167 (-94.52%)
Mutual labels:  webextensions
Violentmonkey
Violentmonkey provides userscripts support for browsers. It works on browsers with WebExtensions support.
Stars: ✭ 2,642 (-13.38%)
Mutual labels:  webextensions
Css Feature Toggle Devtools Extension
A devtools extension for toggling CSS features allowing developers to see how pages/apps render in browsers that don't support modern CSS features
Stars: ✭ 138 (-95.48%)
Mutual labels:  webextensions
Web Ext
A command line tool to help build, run, and test web extensions
Stars: ✭ 1,846 (-39.48%)
Mutual labels:  webextensions
Ui Tool
UI for create-web-ext
Stars: ✭ 104 (-96.59%)
Mutual labels:  webextensions
Addon
ClearURLs is an add-on based on the new WebExtensions technology and will automatically remove tracking elements from URLs to help protect your privacy.
Stars: ✭ 161 (-94.72%)
Mutual labels:  webextensions
Retrotxt
RetroTxt is the WebExtension that turns ANSI, ASCII, NFO text into in-browser HTML
Stars: ✭ 93 (-96.95%)
Mutual labels:  webextensions
Smartproxy
Firefox/Chrome browser extension. SmartProxy will automatically enable/disable proxy for the sites you visit, based on customizable patterns.
Stars: ✭ 199 (-93.48%)
Mutual labels:  webextensions
Trace.moe Webextension
WebExtension for the Anime Reverse Search Engine to search by image
Stars: ✭ 89 (-97.08%)
Mutual labels:  webextensions
Vertical Tabs Reloaded
Firefox add-on for arranging tabs vertically
Stars: ✭ 115 (-96.23%)
Mutual labels:  webextensions
Kuma
The project that powers MDN.
Stars: ✭ 1,903 (-37.61%)
Mutual labels:  mdn
Bukubrow Webext
WebExtension for Buku
Stars: ✭ 240 (-92.13%)
Mutual labels:  webextensions
Browser
The browser extension vault (Chrome, Firefox, Opera, Edge, Safari, & more).
Stars: ✭ 3,305 (+8.36%)
Mutual labels:  webextensions

webextensions-examples Build Status

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

Maintained by Mozilla's Add-ons team.

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

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

For an index of all the examples, see the "Example extensions" page on MDN.

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 a top-level folder and includes a short README explaining what it does. To see how an example works, install it in Firefox by following the installation instructions.

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, use the most recent release of Firefox. However, most examples work with earlier releases.

A few examples rely on APIs that are only available in pre-release versions of Firefox. Where this is the case, the example declares the minimum version that it needs in the strict_min_version attribute of the browser_specific_settings key in the extension's manifest.json file.

Installing an example

Some examples work only on specific domains or pages. Details of any restrictions are provided in each example's README file. None of the examples work in private browsing windows by default, see Extensions in Private Browsing for details.

To run an example extension:

  1. Open Firefox and load the about:debugging page. Click Load Temporary Add-on and select the manifest.json file within the folder of an example extension. Here is a video that demonstrates how to do this.
  2. Install the web-ext tool. At the command line, open the example extension's folder and type web-ext run. This launches Firefox and installs the extension automatically. This tool provides some additional development features, such as automatic reloading.

Support for other browsers

These examples are tested in Firefox. They may work in other browsers, if the browser supports the APIs used. Note that these examples all use the browser namespace and promises to work with asynchronous functions. This means the examples won't work in Chrome unless you use the polyfill provided by Mozilla. See the overview of WebExtension APIs for more information.

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 encounter an issue:

If you cannot resolve the issue, file a bug.

Contributing

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].