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

Fix #199545 matzoo.pl #199552

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fix #199545 matzoo.pl #199552

wants to merge 1 commit into from

Conversation

ntnguyen1234
Copy link
Member

Issue: #199545

@@ -6621,6 +6621,8 @@ gospodarkamorska.pl##.Home_categories_box > div.polecamy-slider > div[class*="po
instalki.pl##center > a.gofollow > img
onet.pl##a[href^="https://milionymonet.onet.pl/"]
pograne.eu###custom_html-8
! https://github.com/AdguardTeam/AdguardFilters/issues/199545
@@||matzoo.pl^$generichide
Copy link
Member

@Alex-302 Alex-302 Feb 27, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Too wide. It is ok only for content blockers.
For AdGuards with scriptlets/CSS support we can use
matzoo.pl#%#//scriptlet('prevent-setInterval' or 'bait.offsetParent'), matzoo.pl#%#//scriptlet('abort-on-property-write', 'bait')

but it seems matzoo.pl###bear_wrap is enough.
@AdamWr Please also take a look.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

but it seems matzoo.pl###bear_wrap is enough

It looks like that when adblock is detected they also add pointer-events: none (and opacity) CSS property to #task_area element, so unfortunately this rule cannot be used, because this element will be not clickable.

Scriptlets work fine on my end.
There is probably a typo in the first one, so I checked out:

matzoo.pl#%#//scriptlet('prevent-setInterval', 'bait.offsetParent')

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

By the way, there are old rules for this website in Base filter:

@@||matzoo.pl/*/adsbygoogle.js
matzoo.pl#$#.spolecznoscinet { height: 1px!important; }
matzoo.pl#%#//scriptlet("prevent-setTimeout", "adblock")

So I think that these rules can be deleted/replaced by a new ones.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants