Does adblock support spaces?

General information, announcements and questions about the EasyList subscriptions.
Locked
hellfire
Postaholic
Postaholic
Posts: 225
Joined: Mon Jan 11, 2016 4:02 pm

Does adblock support spaces?

Post by hellfire »

I have seen a website that have spaces in class names. Example:

Code: Select all

div class="dialog dialog1 dialog2 dialog3"
Is this filter format correct?

Code: Select all

example.com##.dialog dialog1 dialog2 dialog3
i have to keep website secret since the web dev will quickly change it.
gorhill
uBlock Origin Author
uBlock Origin Author
Posts: 230
Joined: Mon Aug 18, 2014 3:17 pm

Post by gorhill »

Your filter won't work -- it's not a good CSS selector. Use:

Code: Select all

example.com##.dialog.dialog1.dialog2.dialog3
hellfire
Postaholic
Postaholic
Posts: 225
Joined: Mon Jan 11, 2016 4:02 pm

Post by hellfire »

it doesn't work. I did updated the filters and cleared cache. This is another example of class name
(image removed)

Edit: I passed anti adblock. the website trying hard bypassing my filters
User avatar
fanboy
EasyList Author
EasyList Author
Posts: 12220
Joined: Wed Sep 05, 2007 8:17 pm

Post by fanboy »

Code: Select all


example.com##div[class*="dialog"]
Locked