1.53.0

gorhill/uBlock1.53.0Oct 31, 2023by github-actions[bot]

AI Summary

Adds new scriptlets, network filter options, and improves existing ones, alongside bringing the `header=` option out of experimental status.

Key Highlights

  • New scriptlets `trusted-prune-inbound-object` and `trusted-click-element`
  • New network filter option `urltransform`
  • Brings `header=` filter option out of experimental status
  • Improved `google-ima` shim script

New Features

  • Add `trusted-prune-inbound-object` scriptlet
  • Add `trusted-click-element` scriptlet
  • Add new static network filter option `urltransform`

Full Release Notes

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

To install the stable build:

- **Firefox**: Click [uBlock0_1.53.0.firefox.signed.xpi](https://addons.mozilla.org/firefox/downloads/file/4188488/ublock_origin-1.53.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: <https://chrome.google.com/webstore/detail/ublock-origin/cjpalhdlnbpafiamejdnhcphjbkeiagm>
- **Edge**: Install from Microsoft Store: <https://microsoftedge.microsoft.com/addons/detail/odfafepnkmbhccpbejgmiehpchacaeak>
    <sub>The Microsoft Store version of uBO is published by [Nicole Rolls](https://github.com/nicole-ashley/uBlock-Edge)</sub>
- **Opera**: Install from Opera addons: <https://addons.opera.com/en/extensions/details/ublock/>

---

## Fixes / changes

- [Add additional set-cookie names](https://github.com/gorhill/uBlock/commit/d51b393fdb) (by @ryanbr)
- [Improve google-ima shim script](https://github.com/gorhill/uBlock/commit/b445f4f4cd) (by @kzar)
- [Match `type` exactly in `prevent-addEventListener` scriptlet](https://github.com/gorhill/uBlock/commit/d32204f984)
- [Add filtering expressions for logger output](https://github.com/gorhill/uBlock/commit/a9ff41ae55)
- [Add warning against adding custom filters from untrusted sources](https://github.com/gorhill/uBlock/commit/f1ce3b2191)
- [Consider _My filters_ an untrusted source by default](https://github.com/gorhill/uBlock/commit/64c1f8767c)
- [Add `trusted-prune-inbound-object` scriptlet](https://github.com/gorhill/uBlock/commit/1c9da227d7)
- [Add `dontOverwrite` vararg to `(trusted-)set-cookie` scriptlets](https://github.com/gorhill/uBlock/commit/607bba6eaf)
- [Add "on" and "off" values to set-cookie](https://github.com/gorhill/uBlock/commit/eb66129fbf) (by @peace2000)
- [Fine tune `set-local-storage-item` as per feedback](https://github.com/gorhill/uBlock/commit/41d91ed080)
- [Support AdGuard's `[trusted-]set-cookie-reload` scriptlets](https://github.com/gorhill/uBlock/commit/9d3acd91b8)
- [Ignore assets older than cached version when fetching from CDNs](https://github.com/gorhill/uBlock/commit/7daf31336a)
- [Support quoting scriptlet parameters with backticks](https://github.com/gorhill/uBlock/commit/027c7a4fb5)
- [Add new static network filter option: `urltransform`](https://github.com/gorhill/uBlock/commit/2e4525fe3c)
- [Support pane: mark lists as obsolete only when update button is clicked](https://github.com/gorhill/uBlock/commit/bee64ebd90)
- [Bring `header=` filter option out of experimental status](https://github.com/gorhill/uBlock/commit/c96a673338)
- [Add `trusted-click-element` scriptlet](https://github.com/gorhill/uBlock/commit/7af88b025d)
- [Add ability to update lists through links with specifically crafted URLs](https://github.com/gorhill/uBlock/commit/0325dcdcb4)
- [Fix overzealous matching in `(remove|replace)-node-text` scriptlets](https://github.com/gorhill/uBlock/commit/e5c1b63315)
- [Fix `no-xhr-if` scriptlet for Firefox](https://github.com/gorhill/uBlock/commit/6f74df942d)
- [Support restoring from `application/json` file](https://github.com/gorhill/uBlock/commit/437453233d)
- [Use safe versions of `Math.floor`/`Math.random` in scriptlets](https://github.com/gorhill/uBlock/commit/780383faef)
- [Improve `google-ima.js` surrogate](https://github.com/gorhill/uBlock/commit/02c7b32bef)
- [Add `stackToMatch` vararg to `json-prune`-related scriptlets](https://github.com/gorhill/uBlock/commit/6b211f622c)
- [Reduce race conditions in scriptlet injection on Firefox](https://github.com/gorhill/uBlock/commit/4cac9d185b)
- [Add scriptlet aliases for compatibility with AdGuard lists](https://github.com/gorhill/uBlock/commit/4e2aa3e384)
- [Remove unmaintained urlhaus PUP filter list](https://github.com/gorhill/uBlock/commit/c3cd596175)
- [Use AG version of urlhaus list](https://github.com/gorhill/uBlock/commit/402e2ebf57)
- [Minor code review of scriptlets](https://github.com/gorhill/uBlock/commit/cce3f3efc1)