The browser extension APIs are designed to promote cross-browser compatibility among extensions. The WebExtension APIs is therefore, to a large extent, code-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. Almost all of the WebExtension APIs provide support for callback functions under the chrome namespace, the same as Chrome. The only APIs that aren't supported in the chrome namespace are those that are intentionally incompatible with Chrome. In those cases, the API documentation page states that support is provided only in the browser namespace. The process of porting an extension from Chrome or Opera is, therefore, relatively straightforward:
If you use the Chrome command-line option for loading an unpacked extension, check out the web-ext tool which automates temporary installation in Firefox for development.
jennyevans blossomica aseffasamson rebloor Uemmra3 Makyen wbamberg andrewtruongmoz AndreiPetcu kumar303 yfdyh000
Develop
DebuggingDevelop
Temporary installation in FirefoxDevelop
Testing persistent and restart featuresStay up-to-date on news and events for Firefox extension developers.