Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSS or exception rules does not work on dood.wf #40

Open
zloyden opened this issue Aug 31, 2022 · 0 comments
Open

CSS or exception rules does not work on dood.wf #40

zloyden opened this issue Aug 31, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@zloyden
Copy link

zloyden commented Aug 31, 2022

It's related to AdguardTeam/AdguardFilters#128326. The problem is seen in AdGuard for iOS / Safari.
There is anti-adblock script that check the elements and If the check fails, you will also get an ad-blocking message.
The rules below should work on Safari (Mac or iOS), but they do not.
There is hab function that returns true even when adding one of these types of rules.

CSS rule:
dood.wf#$#.ad.doubleclick.google-ad.adsbox.pub_300x250.pub_300x250m.pub_728x90.text-ad.textAd.text_ad.text_ads.text-ads.skyscraper.text-ad-links { display: block !important; }


Exceptions:
dood.wf#@#.ad
dood.wf#@#.doubleclick
dood.wf#@#.google-ad
dood.wf#@#.adsbox
dood.wf#@#.pub_300x250
dood.wf#@#.pub_300x250m
dood.wf#@#.pub_728x90
dood.wf#@#.text-ad
dood.wf#@#.textAd
dood.wf#@#.text_ad
dood.wf#@#.text_ads
dood.wf#@#.text-ads
dood.wf#@#.skyscraper
dood.wf#@#.text-ad-links

To reproduce this:
add an exception below
dood.wf,dood.la,dood.pm,dood.so,dood.to,dood.watch,dood.ws#@%#//scriptlet("abort-current-inline-script", "document.getElementsByClassName", "allow adblock") and one of the type of the rules above.

This is a normal behaviour on Chrome via AdGuard for Chrome (the same with AdGuard for Mac / Windows).

Screenshot:

image


According to @AdamWr research, it can be happened on any site.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants