1.52.0

gorhill/uBlock1.52.0Sep 8, 2023by github-actions[bot]

AI Summary

A feature-rich update introducing new scriptlets for manipulating JSON and fetch responses, alongside improvements to the UI such as moving the icon to the navigation bar and adding visual hints for the firewall pane.

Key Highlights

  • Added `json-prune-xhr-response` and `trusted-replace-xhr-response` scriptlets
  • Added `json-prune-fetch-response` and `trusted-replace-fetch-response` scriptlets
  • Improved element picker to use Unicode hostnames
  • Moved uBO's icon to the nav bar by default
  • Added visual hints for filtered rows in the firewall pane

New Features

  • json-prune-xhr-response scriptlet
  • trusted-replace-xhr-response scriptlet
  • json-prune-fetch-response scriptlet
  • trusted-replace-fetch-response scriptlet

Full Release Notes

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

To install the stable build:

- **Firefox**: Click [uBlock0_1.52.0.firefox.signed.xpi](https://addons.mozilla.org/firefox/downloads/file/4164949/ublock_origin-1.52.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 / changes

- [Add `json-prune-xhr-response` and `trusted-replace-xhr-response` scriptlets](https://github.com/gorhill/uBlock/commit/3152896d42)
- [Use `globalThis` instead of `self` in scriptlet helper](https://github.com/gorhill/uBlock/commit/2282215e1c)
- [Add `json-prune-fetch-response` scriptlet](https://github.com/gorhill/uBlock/commit/749cec0f09)
- [Position reload icon in logger as per feedback](https://github.com/gorhill/uBlock/commit/eccfd3b823)
- [Re-factor extra args for `set-constant` scriptlet](https://github.com/gorhill/uBlock/commit/f407c28a00)
- [Use Unicode version of hostnames in element picker](https://github.com/gorhill/uBlock/commit/55d068aca3)
- [Disallow trailing CSS universal selector unless properly separated](https://github.com/gorhill/uBlock/commit/393fd90f9d)
- [Fix/improve `xml-prune` scriptlet](https://github.com/gorhill/uBlock/commit/4b83101ab9)
    - [Improve `xml-prune` scriptlet](https://github.com/gorhill/uBlock/commit/334a7440f3)
- [Put uBO's icon in nav bar by default](https://github.com/gorhill/uBlock/commit/21bb4e56ed)
- [Properly serialize CSS combinators according to position in selector](https://github.com/gorhill/uBlock/commit/fbc7a0e0ae)
- [Improve `no-xhr-if` scriptlet](https://github.com/gorhill/uBlock/commit/418087de9c)
    - [Improve `no-xhr-if` scriptlet](https://github.com/gorhill/uBlock/commit/bf591d93fb)
- [Use non-normalized URL for reload/report operations](https://github.com/gorhill/uBlock/commit/79ed0c76cb)
- [Add commented keywords to `googlesyndication_adsbygoogle.js` scriptlet](https://github.com/gorhill/uBlock/commit/7bcc340ab0)
- [Improve `fingerprint2.js` scriptlet](https://github.com/gorhill/uBlock/commit/3c609793fd)
- [Nothing can come after action operator in procedural cosmetic filters](https://github.com/gorhill/uBlock/commit/a3a2ac5ec0)
- [Add `trusted-replace-fetch-response` scriptlet](https://github.com/gorhill/uBlock/commit/82a7d11f78)
- [Harden `spoof-css` scriptlet](https://github.com/gorhill/uBlock/commit/64b849ab0b)
- [Support negated pattern for stack test in scriptlets](https://github.com/gorhill/uBlock/commit/84cc69aa10)
- [Fix looking up clickable URLs in code viewer](https://github.com/gorhill/uBlock/commit/223e230e49)
- [Fine tune logging capabilities of `json-prune` scriptlet](https://github.com/gorhill/uBlock/commit/81b2fcee5d)
- [Add `stackNeedle` argument to `json-prune` scriptlet](https://github.com/gorhill/uBlock/commit/4649ae4d78)
- [Improve `remove-class` behavior](https://github.com/gorhill/uBlock/commit/fa489fdb87)
- [Add visual hint for filtered out rows in firewall pane](https://github.com/gorhill/uBlock/commit/c74fc6460e)
- [Add `$currentISODate$` to `trusted-set-local-storage-item` scriptlet](https://github.com/gorhill/uBlock/commit/8ddad9e39b)
- [Eliminate case-sensitivity from values in `set-cookie` scriptlet](https://github.com/gorhill/uBlock/commit/03d0d8d4ce)