Adblock Plus advanced element hiding rules on Safari

Discussion of topics related to ad blocking.
Locked
kamucsalofilter
New Member
New Member
Posts: 4
Joined: Mon Aug 06, 2018 2:57 pm

Adblock Plus advanced element hiding rules on Safari

Post 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)
User avatar
smed79
Liste AR/FR Author
Liste AR/FR Author
Posts: 15839
Joined: Sun Jan 17, 2010 4:00 am
Location: EasyList Forum

Post 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
•► Read RULES / Use forum Search
••► Don't post clickable links
•••►Upload screenshots at imgbb.com
kamucsalofilter
New Member
New Member
Posts: 4
Joined: Mon Aug 06, 2018 2:57 pm

Post 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.
User avatar
smed79
Liste AR/FR Author
Liste AR/FR Author
Posts: 15839
Joined: Sun Jan 17, 2010 4:00 am
Location: EasyList Forum

Post 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
•► Read RULES / Use forum Search
••► Don't post clickable links
•••►Upload screenshots at imgbb.com
Moved from General Internet Topics to Ad Blocking Topics on Tue Apr 16, 2019 2:05 pm by LanikSJ

Locked