Adblock Plus advanced element hiding rules on Safari

Discussion of other internet issues.

Moderator: EasyList Authors

Post Reply
kamucsalofilter
New Member
New Member
Posts: 4
Joined: Mon Aug 06, 2018 2:57 pm
Reputation: 0

Adblock Plus advanced element hiding rules on Safari

Post by kamucsalofilter » Mon Aug 06, 2018 5:33 pm

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)

User avatar
smed79
Liste AR Author
Liste AR Author
Posts: 13481
Joined: Sun Jan 17, 2010 4:00 am
Reputation: 134
Location: EasyList Forum

Post by smed79 » Mon Aug 06, 2018 6:07 pm

Invalid CSS selector error
For ABP advanced element hiding rules, the correct option separator should be #?#

Read https://adblockplus.org/development-bui ... ding-rules
•► Before posting, to find your answer fast, read Forum « RULES » and use « Search »
••► Don't post clickable links » use inline text bbcode notation « [ C ] » or « [ code ] »
•••► Use imgur.com, imgbb.com or vgy.me to upload your screenshots

kamucsalofilter
New Member
New Member
Posts: 4
Joined: Mon Aug 06, 2018 2:57 pm
Reputation: 0

Post by kamucsalofilter » Mon Aug 06, 2018 6:27 pm

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.

User avatar
smed79
Liste AR Author
Liste AR Author
Posts: 13481
Joined: Sun Jan 17, 2010 4:00 am
Reputation: 134
Location: EasyList Forum

Post by smed79 » Mon Aug 06, 2018 7:41 pm

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
•► Before posting, to find your answer fast, read Forum « RULES » and use « Search »
••► Don't post clickable links » use inline text bbcode notation « [ C ] » or « [ code ] »
•••► Use imgur.com, imgbb.com or vgy.me to upload your screenshots

Post Reply