AdguardForWindows icon indicating copy to clipboard operation
AdguardForWindows copied to clipboard

HTML requests are not displayed in the filtering log if there is a rule with`$generichide` modifier

Open AdamWr opened this issue 1 year ago • 0 comments

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 version

7.18.0 nightly 12 (4793) (CL 1.16.8, DL 2.5.38 )

Browser version

127

OS version

Windows 11

Traffic filtering

  • [X] yes, I do

Ad Blocking

AdGuard Base filter

Privacy

No response

Social

No response

Annoyances

No response

Security

No response

Other

No response

Language-specific

No response

Which DNS server do you use?

DNS protection disabled

DNS protocol

None

Custom DNS

No response

What Stealth Mode options do you have enabled?

No response

Support ticket ID

No response

Issue Details

Steps to reproduce:

  1. Enable Base filter and add this rule to user rules:
example.org#%#AG_onLoad((function(){const e=document.createElement("div");e.innerHTML='<iframe width="560" height="315" src="https://www.youtube.com/embed/55UrUXJG4Ig?si=g7tmkWp2l60Y_h16" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>',document.body.appendChild(e)}));
  1. Open filtering log and check to log only HTML requests
  2. Go to - https://example.org/

Expected Behavior

A rule from first step adds YouTube iframe to website and it should be visible in the filtering log (like on the screenshot below, it's from 7.17.2 version).

Screenshot

image

Actual Behavior

Iframe (youtube.com/embed/) is not visible in the filtering log if there is $generichide rule.

Screenshot

image

If I add:

@@||www.youtube.com^$generichide,badfilter

to user rules then iframe is displayed correctly.

Screenshot

image

Screenshots

No response

Additional Information

No response

AdamWr avatar Aug 13 '24 13:08 AdamWr