Page 1 of 1

Adblock Plus advanced element hiding rules on Safari

Posted: Mon Aug 06, 2018 5:33 pm
by kamucsalofilter
This is a very useful subselector. May I hope that it will work on Safari sooner than later? :)

Code: Select all

website.com#?#.class:-abp-contains(string)
The following syntax (which would be obvious) causes Invalid CSS selector error:

Code: Select all

website.com##.class:-abp-contains(string)

Re: Adblock Plus advanced element hiding rules on Safari

Posted: Mon Aug 06, 2018 6:07 pm
by smed79
Invalid CSS selector error
For ABP advanced element hiding rules, the correct option separator should be #?#

Read https://adblockplus.org/development-bui ... ding-rules

Re: Adblock Plus advanced element hiding rules on Safari

Posted: Mon Aug 06, 2018 6:27 pm
by kamucsalofilter
Thanks, Smed79 (and the another final answer in the checksum topic). Yeah, fortunately it works on Chrome or Firefox well. :) And could you please tell me anything about the #?# version's Safari-compatibility? I'm building a key filter against hoaxes and scams and this selector has an important rule.

Re: Adblock Plus advanced element hiding rules on Safari

Posted: Mon Aug 06, 2018 7:41 pm
by smed79
could you please tell me anything about the #?# version's Safari-compatibility
Sorry, no idea.

Probably it's better if you ask on Adblock Plus forum
https://adblockplus.org/forum/viewforum.php?f=18
https://issues.adblockplus.org/ticket/5287