Skip to content

Firefox WebExtensions

Raymond Hill edited this page Oct 26, 2017 · 67 revisions

Stable release of uBO/webext has been available on AMO since early September 2017. uBO/webext is compatible with Firefox 52 and above. With Firefox 52 specifically, some features in uBO/webext may be disabled.

Read carefully if using uBO/webext

uBO/webext works best with Firefox 57 and above, and with multi-process enabled.

There are many reports of people experiencing issues with some web sites, or images not loading, etc. Turns out many of these are a result of using some legacy extensions along uBO/webext. For instance, Reek's AAK in GreaseMonkey has been causing issues with images not loading.

If you experience such issue, you will have to disable all your legacy extensions and see if this fixes your issue. If so, then you will have to re-enable your legacy extension one by one to find the one(s) causing the problem.

Those legacy extensions can cause multi-process to be disabled in your browser, and apparently when multi-process is disabled, this can cause many cases of page load failure.

Everything is moving to WebExtensions, so it might be just a good time to start giving up on legacy extensions, they are not going to be supported at all in a couple of weeks when Firefox 57 is released. See if your legacy extensions have a webext version in development. For example, the is a webext version of Greasemonkey in its development channel on AMO.

There are also Firefox issues specific to webext extensions which can cause a web page to load improperly:

Another option is to install uBO 1.13.8 and disable auto-update for it.

Having issues with uBO's cache storage being wiped-out on every restart of the browser? See if http://forums.mozillazine.org/viewtopic.php?f=9&t=3034189 helps.

Firefox for Android

Firefox for Android 56: you can access the popup panel using the "uBlock Origin" menu entry. However, the dashboard can't be accessed through about:addons. This is fixed in Firefox for Android 57. The workaround is to open uBO's dashboard through uBO's popup panel. Once you access the dashboard, you could create a bookmark out of it to allow direct access in the future.

Firefox for Android 55: As per documentation, only with Firefox Mobile 55 (beta) you can access uBO's popup panel.

Differences with uBO/legacy

  • script:contains filters will stop working
    • uBO's own filter lists have long ceased to rely on this filter syntax to solve reported filtering issues.
  • cosmetic filters will no longer use the browser's user styles Fixed with f32868766340e2fb8ec689f4b5683a413de847b6
  • uBO/webext has limited access to behind-the-scene network requests, unlike uBO/legacy which had full access to all behind-the-scene network requests. For example, you won't be able to see (and block) network requests made by other extensions. Related: "Support moz-extension: urls in MatchPattern".

Future of uBO/legacy

For all those Firefox and Firefox-based browsers based on Firefox v52 and less, uBO from https://addons.mozilla.org/ will cease to work, and they will have to install manually the xpi version from the repo here if you want to keep using the dev version of uBO.

As of writing, there is no plan to cease development of uBO/legacy. Hypothetically, this may change in some future if ever it becomes really non-trivial to keep a working legacy version.

I do expect users of legacy versions of Firefox to test and report any issues with uBO -- I can't afford the time needed to test all those versions.

If you still want to use uBO/legacy, a volunteer created an extension to enable uBO/webext to update automatically: https://github.com/JustOff/ublock0-updater.

Miscellaneous

Issue #2795 will be a collection of bugzilla.mozilla.org issues which currently affect the uBO/webext specifically.

Be sure to create backups of your uBO settings, if the transition from uBO/legacy to uBO/webext fails, you can always just restore all your settings from the backup file (see Settings pane in the dashboard for the backup/restore features).

Clone this wiki locally