1.46.0
gorhill/uBlock1.46.0Dec 22, 2022by github-actions[bot]
AI Summary
This release introduces new cosmetic filter operators and improves scriptlet injection reliability using Blob URLs while also rewriting the logger's exceptor feature.
Key Highlights
- Add `:remove-attr()` and `:remove-class()` pseudo selector operators
- Add pseudo-operator `:matches-attr()`
- Use Blob URLs to reliably inject scriptlets
- Rewrite logger's 'exceptor' feature
New Features
- Pseudo-operator `:remove-attr()`
- Pseudo-operator `:remove-class()`
- Pseudo-operator `:matches-attr()`
- Scriptlet injection via Blob URLs
Full Release Notes
[Commits to master since this release](https://github.com/gorhill/uBlock/compare/1.46.0...master)
[Commits since last release](https://github.com/gorhill/uBlock/compare/1.45.2...1.46.0)
To install the stable build:
- **Firefox**: Click [uBlock0_1.46.0.firefox.signed.xpi](https://addons.mozilla.org/firefox/downloads/file/4047353/ublock_origin-1.46.0.xpi)
- [uBO works best on Firefox](https://github.com/gorhill/uBlock/wiki/uBlock-Origin-works-best-on-Firefox).
- **Chromium**: Install from the Chrome store (CWS): <https://chrome.google.com/webstore/detail/ublock-origin/cjpalhdlnbpafiamejdnhcphjbkeiagm>
- **Edge**: Install from Microsoft Store: <https://microsoftedge.microsoft.com/addons/detail/odfafepnkmbhccpbejgmiehpchacaeak>
- The Microsoft Store version of uBO is published by [Nicole Rolls](https://github.com/nicole-ashley/uBlock-Edge)
- **Opera**: Install from Opera addons: <https://addons.opera.com/en/extensions/details/ublock/>
---
## Fixes
- [Add `options` stub to `nofab` scriptlet ](https://github.com/gorhill/uBlock/commit/f596559103efe4132bab64939ef785d07886e3ad)
- [Rewrite logger's "exceptor" feature](https://github.com/gorhill/uBlock/commit/a91781a4959c0381c8ab3230545e4e0f579d4a2c)
- [Be sure procedural filterer is present before use](https://github.com/gorhill/uBlock/commit/d77331f73ae28b4a67a109044a8ec67dc84ac9e2)
- [Use Blob URLs to reliably inject scriptlets](https://github.com/gorhill/uBlock/commit/0971025b21155f07955ed703143c3324c732cf03) -- as [suggested](https://github.com/uBlockOrigin/uBlock-issues/issues/235#issuecomment-1344313926) by @evilpie
- [Add :remove-attr() and :remove-class() pseudo selector operators](https://github.com/gorhill/uBlock/commit/992255e9937f81b5dd58524caa2ceeaeb29efb14)
- [Rework generic cosmetic filtering code](https://github.com/gorhill/uBlock/commit/26594fb902b1042843ebda1ab3b3aa6304ed3ae9)
- [Add pseudo-operator :matches-attr()](https://github.com/gorhill/uBlock/commit/76d70102f069856bffac7cd27dc40500c3bb9563)
- [Detect invalid usage of combinators in :not() pseudoclass](https://github.com/gorhill/uBlock/commit/62601639f678c90f25d7c25a600f60cb82bc995b)
- [Give more time for viewport to be ready](https://github.com/gorhill/uBlock/commit/92397baa3901f2a18564894098628955b2661e78) (in popup panel) -- [related feedback](https://github.com/uBlockOrigin/uBlock-issues/discussions/2385)
- [Handle potentially invalid CSS selector](https://github.com/gorhill/uBlock/commit/bdc7a4c5397c3a0b8a29b6735c053bd27ade9a61) (in logger)
- [Ensure state of more/less in panel reflect locked/disabled sections](https://github.com/gorhill/uBlock/commit/eb709335f842fc3e36647649f81df240ca8d664a)
- [Isolate generic cosmetic filters from specific ones in generated stylesheet](https://github.com/gorhill/uBlock/commit/9b3ad0702cbfadb586c251da6005d125e3567ad4)
- [Do not cname-uncloak same-origin network requests](https://github.com/gorhill/uBlock/commit/161a175bb0596ed6b7734dd7ff77e85204603e96)
- [Prevent the creation of non-cosmetic extended filters in element picker](https://github.com/gorhill/uBlock/commit/44753053c3fd732cccb321e5e64489ceb1d954cd)
- [Fix visual of DOM inspector layer in dark theme mode](https://github.com/gorhill/uBlock/commit/105c7f54466b5f5f1f5754607d5852a147171802)
- [Improve extraction of tokens from regexes](https://github.com/gorhill/uBlock/commit/d51b7e082b73db745a1f8321e65b086902d80d80)
- [Use placeholders to minimize vertical shifting at page load time](https://github.com/gorhill/uBlock/commit/2cc6835de0e408ea7a9d87274ede3a8030531c1b)
- [Bundled filter lists in releases are not timestamped](https://github.com/uBlockOrigin/uBlock-issues/issues/2358)
- [Ensure procedural filters are applied at least once](https://github.com/gorhill/uBlock/commit/73c2decdf567d6b1b25a4617ee2e08356446e150)
- [Code maintenance: replace uDom.js with dom.js](https://github.com/gorhill/uBlock/commit/feaa338678ab64e334d33d5b5fb06749877454e7)