B2G OS add-ons

Note: B2G OS add-ons are based on the WebExtensions API, which is also supported in Firefox desktop starting with version 42 and is based on the extension APIs used in Chrome and Opera.

Prerequisites

You should follow the below steps to get set up to start developing extensions.

 

1. Enable USB Debugging

 

In the Settings app on the device, select Developer > Debugging via USB > ADB and Devtools.  You should now be able to debug installed apps using WebIDE, either via a USB cable, and over Wifi (no USB cable required.)

2. Set up WebIDE

The WebIDE tool is part of Firefox and can be used to install add-ons on your phone during development — see Testing your add-on using WebIDE for more information.

See also

Developing

 

 Get involved

 

Document Tags and Contributors

 Last updated by: chrisdavidmills,