1.45.0
gorhill/uBlock1.45.0Nov 8, 2022by github-actions[bot]
AI Summary
A significant update featuring a new cosmetic filter parser based on the CSSTree library and the introduction of the `xml-prune` scriptlet.
Key Highlights
- New cosmetic filter parser using CSSTree library
- Add new scriptlet: xml-prune
- Harden scriptlet injections
- Add support to report/filter SVG image elements in element picker
Breaking Changes
- Breaking change: filter list authors, please read the commit message
New Features
- CSSTree-based cosmetic filter parser
- xml-prune scriptlet
- SVG support in element picker
Full Release Notes
[Commits to master since this release](https://github.com/gorhill/uBlock/compare/1.45.0...master)
[Commits since last release](https://github.com/gorhill/uBlock/compare/1.44.4...1.45.0)
To install the stable build:
- **Firefox**: Click [uBlock0_1.45.0.firefox.signed.xpi](https://addons.mozilla.org/firefox/downloads/file/4027736/ublock_origin-1.45.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:
- [Try to inject scriptlets at onResponseStarted() time](https://github.com/gorhill/uBlock/commit/49df063191496f5118e381acf7b2962386857f99)
- [Harden scriptlet injections](https://github.com/gorhill/uBlock/commit/bccd5a02649fb6f5fe748b78539b1d574fbb48b4)
- Might fix ["ublock origin not blocking ads in the sidebar of Opera GX while using youtube music"](https://www.reddit.com/r/uBlockOrigin/comments/ye6abt/ublock_origin_not_blocking_ads_in_the_sidebar_of/), to be confirmed
- [Fix improperly detecting ruleset changes re. dynamic URL filtering](https://github.com/gorhill/uBlock/commit/d027a3f7c4104297cd2bf1c443659ad804c1a145)
- [Add new scriptlet: xml-prune](https://github.com/gorhill/uBlock/commit/bf690145c493acd86e578d7a860da238f0af72d4)
- [New cosmetic filter parser using CSSTree library](https://github.com/gorhill/uBlock/commit/a71b71e4c8a2037fc68970bc8912a76732edaade)
- Breaking change: filter list authors, please read the commit message
- [Add support to report/filter SVG image elements in element picker](https://github.com/gorhill/uBlock/commit/887a87d9ca8d575f3e71708086f44df96ac7cbc7)
- [Add original Firefox-authored google-ima shim script](https://github.com/gorhill/uBlock/commit/b6b6e49d57e41e0f99ce6d06da300e52e5e1adf9)
- [element-picker: Declare we support both light and dark color-schemes](https://github.com/gorhill/uBlock/commit/4044aa182aa5639c945e163251d1e79f7f11bb22) by @emilio
- [Redesign document-blocked page](https://github.com/gorhill/uBlock/commit/3029c78a55d1d9d063339b78d1fc286dcb778a3d)
- [Make popup panel reflect state of the actual blocked page](https://github.com/gorhill/uBlock/commit/60d120621514a3b33cc6fe4754d4f8fed3e1f514)
- [Unescaped escaped commas in regex-based removeparam values](https://github.com/gorhill/uBlock/commit/f806438de6f0106d15bd559d5d30e1cd5a7da324)
- [Fix redundant calls to extract image data](https://github.com/gorhill/uBlock/commit/0c9ab84846f68982888a6b2af2ed75f4fd140ea2)
- [Extend matches-css() to support any pseudo-element](https://github.com/gorhill/uBlock/commit/7bc0b5d2bda39ff0ddb1eb62bb748c239a02d994)