1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-07-08 04:49:12 +02:00
uBlock/tools
Raymond Hill cbfd2ad942
Create a MVP version of uBOLite for Firefox
What does not work at the time of commit:

Cosmetic filtering does not work:

The content scripts responsible for cosmetic filtering fail when
trying to inject the stylesheets through document.adoptedStyleSheets,
with the following error message:

  XrayWrapper denied access to property Symbol.iterator
  (reason: object is not safely Xrayable).
  See https://developer.mozilla.org/en-US/docs/Xray_vision for more
  information. ... css-declarative.js:106:8

A possible solution is to inject those content scripts in the
MAIN world. However Firefox scripting API does not support MAIN
world injection at the moment.

Scriptlet-filtering does not work:

Because scriptlet code needs to be injected in the MAIN world,
and this is currently not supported by Firefox's scripting API,
see https://bugzilla.mozilla.org/show_bug.cgi?id=1736575

There is no count badge on the toolbar icon in Firefox, as it
currently does not support the `DNR.setExtensionActionOptions`
method.

Other than the above issues, it does appear uBO is blocking
properly with no error reported in the dev console.

The adoptedStyleSheets issue though is worrisome, as the
cosmetic filtering content scripts were designed with ISOLATED
world injection in mind. Being forced to inject in MAIN world
(when available) make things a bit more complicated as uBO
has to ensure it's global variables do not leak into the page.
2023-04-07 10:19:43 -04:00
..
copy-common-files.sh Use set -e in Bash scripts (#3791) 2021-07-31 17:34:25 -04:00
import-crowdin.sh Fix crowdin import script 2022-11-29 11:05:21 -05:00
make-assets.sh Use git clone instead of submodule to pull uAssets dependencies 2022-11-14 09:50:53 -05:00
make-browser.sh Remove globals.js (#3849) 2021-08-23 10:54:16 -04:00
make-chromium-meta.py fix dd92337a4a (commitcomment-29051501) 2018-05-20 07:45:39 -04:00
make-chromium.sh Use python3 instead of python 2022-06-10 11:16:49 -04:00
make-clean.sh Use set -e in Bash scripts (#3791) 2021-07-31 17:34:25 -04:00
make-dig.sh Add support for nodejs flavors 2021-08-15 10:43:36 -04:00
make-firefox-meta.py Fix https://github.com/uBlockOrigin/uBlock-issues/issues/636 2019-06-17 07:35:14 -04:00
make-firefox.sh Update make-firefox.sh 2021-08-25 08:47:45 +00:00
make-mv3.sh Create a MVP version of uBOLite for Firefox 2023-04-07 10:19:43 -04:00
make-nodejs.sh [mv3] Add support for redirect= filters 2022-10-16 12:05:24 -04:00
make-npm.sh Run npm install in make-npm.sh (#3831) 2021-08-16 12:34:54 -04:00
make-opera-meta.py changes needed for releasing uBO/opera 1.15.24 2018-04-09 10:04:32 -04:00
make-opera.sh Remove locales without a translated description 2022-11-18 13:09:27 -05:00
make-thunderbird.sh Use python3 instead of python 2022-06-10 11:16:49 -04:00
pull-assets.sh Use git clone instead of submodule to pull uAssets dependencies 2022-11-14 09:50:53 -05:00