AdguardBrowserExtension
AdguardBrowserExtension copied to clipboard
Network rules with `$important` modifier are applied even if protection is disabled
Please answer the following questions for yourself before submitting an issue
- [x] Filters were updated before reproducing an issue
- [x] I checked the knowledge base and found no answer
- [x] I checked to make sure that this issue has not already been filed
AdGuard Extension version
5.1.94
Browser version
Chrome 138
OS version
Windows 11
Ad Blocking
AdGuard Base filter
Issue Details
Steps to reproduce:
- Add to user rules:
||securepubads.g.doubleclick.net/tag/js/gpt.js$script,domain=example.org,important
- Go to - https://example.org/
- Disable protection or add
example.orgto allowlist and reload website - Open browser console and execute:
const script = document.createElement('script');
script.src = 'https://securepubads.g.doubleclick.net/tag/js/gpt.js';
document.head.appendChild(script);
Expected Behavior
Request should not be blocked.
Actual Behavior
If there is a rule with $important modifier, then request is blocked even if protection is disabled.