AdguardBrowserExtension icon indicating copy to clipboard operation
AdguardBrowserExtension copied to clipboard

$popup disables simple blocking rule

Open 105th opened this issue 1 year ago • 0 comments

AdGuard Extension version

4.3.26 beta

Browser version

Chrome 122

OS version

macOS 12.5

What filters do you have enabled?

No response

What Stealth Mode options do you have enabled?

No response

Issue Details

Steps to reproduce:

  1. Add rules to the user-rules section (these rules were removed from our filters):
/gtm.js?$popup
||data.r.pl^
  1. Open the site r.pl.

Actual behavior:

The request to https://data.r.pl/gtm.js?id=GTM-5S6834 is not rejected because the tsurlfilter filtering engine selects the rule /gtm.js?$popup as it now has a +1 priority weight. The tswebextension then checks that this is not a document request and will bypass it.

Expected behavior:

The request to https://data.r.pl/gtm.js?id=GTM-5S6834 should be blocked.

Expected Behavior

No response

Screenshots

Screenshot 1:

Additional Information

No response

105th avatar Feb 29 '24 20:02 105th