Forums
New posts
Search forums
News
Security News
Technology News
Giveaways
Giveaways, Promotions and Contests
Discounts & Deals
Reviews
Users Reviews
Video Reviews
Support
Windows Malware Removal Help & Support
Inactive Support Threads
Mac Malware Removal Help & Support
Mobile Malware Removal Help & Support
Blog
Log in
Register
What's new
Search
Search titles only
By:
Search titles only
By:
Reply to thread
Menu
Install the app
Install
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Forums
Software
Browsers
Web Extensions
uBlock Origin Lite - MV3-based content blocker
Message
<blockquote data-quote="oldschool" data-source="post: 1068090" data-attributes="member: 71262"><p>This was posted as a commit at <a href="https://github.com/gorhill/uBlock/commit/cbfd2ad942a2cf183bc98141b029c594c75efc97" target="_blank">Create a MVP version of uBOLite for Firefox · gorhill/uBlock@cbfd2ad</a> Other than [USER=28093]@gorhill[/USER]'s comments I have no idea what this means for MV3 on Firefox in the short of long term, though MV2 support will hopefully continue well into the future.</p><p>[CODE] Create a MVP version of uBOLite for Firefox</p><p></p><p>What does not work at the time of commit:</p><p></p><p>Cosmetic filtering does not work:</p><p></p><p>The content scripts responsible for cosmetic filtering fail when</p><p>trying to inject the stylesheets through document.adoptedStyleSheets,</p><p>with the following error message:</p><p></p><p> XrayWrapper denied access to property Symbol.iterator</p><p> (reason: object is not safely Xrayable).</p><p> See https://developer.mozilla.org/en-US/docs/Xray_vision for more</p><p> information. ... css-declarative.js:106:8</p><p></p><p>A possible solution is to inject those content scripts in the</p><p>MAIN world. However Firefox scripting API does not support MAIN</p><p>world injection at the moment.</p><p></p><p>Scriptlet-filtering does not work:</p><p></p><p>Because scriptlet code needs to be injected in the MAIN world,</p><p>and this is currently not supported by Firefox's scripting API,</p><p>see https://bugzilla.mozilla.org/show_bug.cgi?id=1736575</p><p></p><p>There is no count badge on the toolbar icon in Firefox, as it</p><p>currently does not support the `DNR.setExtensionActionOptions`</p><p>method.</p><p></p><p>Other than the above issues, it does appear uBO is blocking</p><p>properly with no error reported in the dev console.</p><p></p><p>The adoptedStyleSheets issue though is worrisome, as the</p><p>cosmetic filtering content scripts were designed with ISOLATED</p><p>world injection in mind. Being forced to inject in MAIN world[/CODE]</p></blockquote><p></p>
[QUOTE="oldschool, post: 1068090, member: 71262"] This was posted as a commit at [URL='https://github.com/gorhill/uBlock/commit/cbfd2ad942a2cf183bc98141b029c594c75efc97']Create a MVP version of uBOLite for Firefox · gorhill/uBlock@cbfd2ad[/URL] Other than [USER=28093]@gorhill[/USER]'s comments I have no idea what this means for MV3 on Firefox in the short of long term, though MV2 support will hopefully continue well into the future. [CODE] 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[/CODE] [/QUOTE]
Insert quotes…
Verification
Post reply
Top