Inversing :-abp-has does not work

Various discussions related to filter list maintenance

Moderator: njones

Post Reply
peace2000
Posts: 6
Joined: Mon Sep 25, 2017 2:04 pm

Inversing :-abp-has does not work

Post 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
peace2000
Posts: 6
Joined: Mon Sep 25, 2017 2:04 pm

Re: Inversing :-abp-has does not work

Post by peace2000 »

Ok, nevermind, ABP just doesn't support this syntax, made a feature request here: https://gitlab.com/eyeo/adblockplus/abc ... issues/369
Post Reply