Page 1 of 1

Inversing :-abp-has does not work

Posted: Mon Sep 13, 2021 6:18 pm
by peace2000
Hi, why this filter:

Code: Select all

yle.fi#?##yle-consent-sdk-container:not(:-abp-has(~ .yle__app a[href^="https://twitter.com/"]))
Doesn't work in ABP?

In uBO, it works without an issue. The purpose of the filter is to hide GDPR popup if the article doesn't have embedded tweets.

Test page:

Code: Select all

https://yle.fi/uutiset/3-12096847

Re: Inversing :-abp-has does not work

Posted: Tue Sep 21, 2021 8:15 pm
by peace2000
Ok, nevermind, ABP just doesn't support this syntax, made a feature request here: https://gitlab.com/eyeo/adblockplus/abc ... issues/369