Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 3.14 KB

index.org

File metadata and controls

37 lines (24 loc) · 3.14 KB

Add-on settings

Developer documentation

Browser target versions

This extension mainly targets supported versions of Firefox. An overview about those can be found in the release calendar.

Typically ESRs are holding back what can be supported - so end of support from Mozilla side also may mean end of support from this extension to get rid of some workarounds.

Developing on Firefox

Open a new tab and go to about:debugging (links to internal pages are not possible). Then “This Firefox” -> “Load Temporary Add-on…”, navigate to add on folder, and select manifest.json.

To get a debugger for the background script click on “Inspect”.

./firefox_about_debugging.png

In case not all sources are displayed reload the page - missing background.js here will cause missing log entries.

./firefox_debugger.png

MDN has decent documentation about writing browser extensions. The first extension example is useful for a quick introduction on how things work, the examples useful for going a bit more in depth.

Both background scripts and content scripts sections should be understood for this extension - a lot of required functionality can be only implemented in one location, so messages need to be passed around to make things work.

The API support page is very useful to determine the minimum version of Firefox this can support, as well as checking which other browsers this could be ported to with minimal effort.

Future development

Firefox bugs relevant to this extension