1.50.0

gorhill/uBlock1.50.0Jun 7, 2023by github-actions[bot]

AI Summary

A major update featuring new scriptlets for data pruning and attribute manipulation, support for injecting scripts into different execution worlds, and the addition of Thunderbird as a supported platform.

Key Highlights

  • Added `evaldata-prune` and `spoof-css` scriptlets
  • Support for injecting scriptlets in MAIN or ISOLATED worlds
  • Added trusted-source support for privileged scriptlets
  • Added Thunderbird as a supported target
  • Added 'scriptlet' filter expression to the logger

New Features

  • evaldata-prune scriptlet
  • remove-node-text scriptlet
  • trusted-set-constant scriptlet
  • spoof-css scriptlet
  • World isolation (MAIN/ISOLATED) for scriptlets
  • Thunderbird support

Full Release Notes

[Commits to master since this release](https://github.com/gorhill/uBlock/compare/1.50.0...master)
[Commits since last release](https://github.com/gorhill/uBlock/compare/1.49.2...1.50.0)

To install the stable build:

- **Firefox**: Click [uBlock0_1.50.0.firefox.signed.xpi](https://addons.mozilla.org/firefox/downloads/file/4121906/ublock_origin-1.50.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**: Review pending <!--Install from Opera addons: <https://addons.opera.com/en/extensions/details/ublock/> -->

## Fixes / changes

- [Add support to remove attributes in `xml-prune` scriptlet](https://github.com/gorhill/uBlock/commit/f8c4b8e52d9e93e0419eb8b0891084e59be0616b)
- [Fix/improve `href-sanitizer` scriptlet](https://github.com/gorhill/uBlock/commit/f3b720d532c7a42a6ad5167e3b6f860004b4c2b6)
- [Add `evaldata-prune` scriptlet](https://github.com/gorhill/uBlock/commit/c8de9041917b61035171e454df886706f27fc4f3)
- [Add support for `xhr` in `xml-prune`](https://github.com/gorhill/uBlock/commit/d3fae27017a1ce65fcba35ef7ca59b6a22ad2bde)
- [Add `remove-node-text.js` scriptlet](https://github.com/gorhill/uBlock/commit/2bb446797a12086f2eebc0c8635b671b8b90c477)
- [Add `trusted-set-constant` scriptlet](https://github.com/gorhill/uBlock/commit/19cdd50a1cd0ef984f14673cb6e0022cbe2d1b3a)
- [Support injecting scriptlet in MAIN or ISOLATED world](https://github.com/gorhill/uBlock/commit/1a863a877d1bd7ea906c8afff84ee24312472240)
- [Add trusted-source support for privileged scriptlets (and add `replace-node-text` scriptlet)](https://github.com/gorhill/uBlock/commit/41876336db48292de06707adfa5e97dab74297d2)
- [Add `spoof-css` scriptlet](https://github.com/gorhill/uBlock/commit/d40546058478ab4451dd5f7b8ac7ef735c5cc0ae)
- [Add back AdGuard Tracking Protection](https://github.com/gorhill/uBlock/commit/02dff78eab1c62e49829b3970626bf43b919f496)
- [Expand/harden some scriptlets](https://github.com/gorhill/uBlock/commit/2ef2888805db5dad140a2bbe28dfd137d30edee7)
- [Return string when storage.sync.get() promise fails](https://github.com/gorhill/uBlock/commit/d5dec1d3c4f393ea048c105f80d7c40eade60621)
- [Do not bail out when `content-disposition` is `inline`](https://github.com/gorhill/uBlock/commit/a3a80e3b3f41e58446096bcdcf085e550afcd449)
- [Fix improperly unselecting imported lists](https://github.com/gorhill/uBlock/commit/1a9a8aae0c8969dad9743e31dd465c8892b89f32)
- [Report injected scriptlets in troubleshooting information](https://github.com/gorhill/uBlock/commit/578fc21bd9c69f58ab4d7121159ae39e2e981763)
- [Fix rendering issue of row-filter icon in popup panel](https://github.com/gorhill/uBlock/commit/56092189d1cdab0872a832f9152b3b23015ad6cb)
- [Add "scriptlet" filter expression to logger](https://github.com/gorhill/uBlock/commit/88fb6b153df088d1b4f4015386498ec15aed53e3)
- [Fix hostname-detecting regex](https://github.com/gorhill/uBlock/commit/a6b13e6b9cd48eacdac63cc3f40ce179dc13fd1d)
- [Add support for sublists in "Filter lists" pane](https://github.com/gorhill/uBlock/commit/84fad1deebe5b453de6526cab7e93d06bc8baa84)
- [Properly handle converted procedural filters in logger](https://github.com/gorhill/uBlock/commit/5fd35ffb3c91cc3fe13908746b34c3263895b89e)
- [Mind small screen size in asset viewer](https://github.com/gorhill/uBlock/commit/c31e087946c34610b91f7c1339f1a6f0781b88ad)
- [Add thunderbird as target for installation](https://github.com/gorhill/uBlock/commit/11c3f303762de88e8e2211e5ae0ad74490dd1136)
- [Add ability to execute aeld scriptlet at a later time](https://github.com/gorhill/uBlock/commit/3c12173dfe4eea7c4b6758c556ed2dd5fcdbdd99)
- [Move hostname label to top of popup panel](https://github.com/gorhill/uBlock/commit/b8cfa382e84902e21cea7fa5e57ccf22e36d2388)
- [Offer opportunity to update filter lists before reporting issue](https://github.com/gorhill/uBlock/commit/4a92f96206c2fba138c7323c3c4c9524ef71fa26)
- [Fix compiling of negated regex-based `to=` domain](https://github.com/gorhill/uBlock/commit/3dddf4ca47bac1b165794575d4e6eb1f24d3deea)