AdguardBrowserExtension icon indicating copy to clipboard operation
AdguardBrowserExtension copied to clipboard

`script` modifier doesn't work alongside with `popup` modifier

Open AdamWr opened this issue 3 years ago • 0 comments

Issue Details

  • AdGuard version:
    • 4.0.131/4.0.125/3.6.17
  • Browser and version:
    • Chrome 99

Steps to reproduce

  1. Disable all filter lists
  2. Add this rule:
||eugenerhachi.com^$script,popup
  1. Go to - https://example.org/
  2. Run this script in console:
(function() { var s = document.createElement('script'); s.setAttribute("type", "text/javascript"); s.src = 'https://eugenerhachi.com/tMpARQEpa5z/36802'; document.getElementsByTagName('head')[0].appendChild(s);})();

Actual Behavior

Script/Request is not blocked.

Screenshot:

image

Expected Behavior

Script/Request should be blocked.

It's blocked by rule like this:

||eugenerhachi.com^$script
Screenshot:

image

AdamWr avatar Mar 02 '22 09:03 AdamWr