-
Notifications
You must be signed in to change notification settings - Fork 94
Closed
Labels
bugSomething isn't workingSomething isn't workingfixedissue has been addressedissue has been addressed
Description
Prerequisites
- I verified that this is not a filter issue
- Filter issues MUST be reported at filter issue tracker
- This is not a support issue or a question
- Support issues and questions are handled at /r/uBlockOrigin
- I performed a cursory search of the issue tracker to avoid opening a duplicate issue
- Your issue may already be reported.
- I tried to reproduce the issue when...
- uBlock Origin is the only extension
- uBlock Origin with default lists/settings
- using a new, unmodified browser profile
- I am running the latest version of uBlock Origin
- I checked the documentation to understand that the issue I report is not a normal behavior
Description
In older versions, you could override where to redirect by creating a specific filter vs. generic redirect filter. E.g. uBlock Privacy has a generic redirect filter ||googletagmanager.com/gtm.js$script,redirect=googletagmanager.com/gtm.js
but you could override it by e.g. ||googletagmanager.com/gtm.js$important,script,redirect=noopjs,domain=tv-asahi.co.jp
(taken from the same list) and IIRC $important
was not mandatory. However on 1.31.0 it doesn't work any more.
A specific URL where the issue occurs
https://rocketnews24.com/
Steps to Reproduce
- Visit the site with default setup (JP filter is not needed)
- Scroll down and see some images were not loaded at first visit
- Add
@@||googletagmanager.com/gtm.js$script,domain=rocketnews24.com
, clear cache & cookie, reload the page and see they're now loaded - but actually exception is not needed, redirecting to noop.js works. - Add
||googletagmanager.com/gtm.js$important,script,redirect=noop.js,domain=rocketnews24.com
or||googletagmanager.com/gtm.js$important,script,redirect=none,domain=rocketnews24.com
and see the request still redirects togoogletagmanager.com/gtm.js
. Relaunch browser or whatsoever doesn't help, only way to make it work seems to be badfilter.
Expected behavior:
The specific redirect rule should override generic one.
Actual behavior:
Generic filter wins.
Your environment
- uBlock Origin version: 1.31.0
- Browser Name and version: Firefox 83.0
- Operating System and version: Windows 10
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingfixedissue has been addressedissue has been addressed