WebExtensions is a new extension API for Firefox.
It's developed for cross-browser compatibility: to a large extent the API 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 API is also fully compatible with multiprocess Firefox.
We intend to deprecate XUL and XPCOM-based add-ons, and encourage add-on developers to use the WebExtensions API for new development. We're also intending to extend the APIs to support the needs of add-on developers, so if you have ideas, we'd love to hear them.
Getting started
- Prerequisites
- What you need to get started.
- Walkthrough
- An example walkthrough of a simple WebExtension.
- Porting from Google Chrome
- What changes you'll need to make if you're porting an existing Chrome extension.
- Anatomy of a WebExtension
- An overview of the main pieces of a WebExtension: manifest.json and other files.
- Packaging
- How to package a WebExtension and install it in Firefox.
Reference
- WebExtension APIs
- Reference docs for all the APIs supported by Firefox.
- manifest.json
- Reference for manifest.json.