Discussion of topics related to ad blocking.
Moderator: EasyList Authors
-
gotitbro
- Postaholic

- Posts: 866
- Joined: Sat Jul 09, 2016 8:33 pm
- Reputation: 5
Post
by gotitbro » Sun Jun 17, 2018 12:24 pm
Does anyone know if whitelisted element filters (
#@#
) can be overridden/disabled. For example, I am trying to override these filters in
uBlock filters – Unbreak:
Code: Select all
oxforddictionaries.com#@#.banbox
oxforddictionaries.com#@#.banner
Can I override without disabling the whole list?
-
smed79
- Liste AR Author

- Posts: 14564
- Joined: Sun Jan 17, 2010 4:00 am
- Reputation: 170
- Location: EasyList Forum
Post
by smed79 » Sun Jun 17, 2018 1:07 pm
Code: Select all
oxforddictionaries.com##.banner,important
oxforddictionaries.com##.banbox,important
•► 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
vgy.me,
imgur.com or
imgbb.com to upload your screenshots
-
intense
- Contributor

- Posts: 8501
- Joined: Wed Mar 27, 2013 9:56 am
- Reputation: 139
Post
by intense » Sun Jun 17, 2018 1:37 pm
important
is dedicated only to the network filters
https://github.com/gorhill/uBlock/wiki/ ... #important
Your filter is working only by chance (or ..a bug in uBo - I notified gorhill )
other working filters:
oxforddictionaries.com##.banner,abc
oxforddictionaries.com##.banner,fake
-
gotitbro
- Postaholic

- Posts: 866
- Joined: Sat Jul 09, 2016 8:33 pm
- Reputation: 5
Post
by gotitbro » Sun Jun 17, 2018 1:57 pm
Could be a bug, all the filters work for me too.
-
intense
- Contributor

- Posts: 8501
- Joined: Wed Mar 27, 2013 9:56 am
- Reputation: 139
Post
by intense » Sun Jun 17, 2018 1:58 pm
Yes, as I wrote above I already notified gorhill.
-
smed79
- Liste AR Author

- Posts: 14564
- Joined: Sun Jan 17, 2010 4:00 am
- Reputation: 170
- Location: EasyList Forum
Post
by smed79 » Sun Jun 17, 2018 2:23 pm
$generichide
option is a network filter?
•► 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
vgy.me,
imgur.com or
imgbb.com to upload your screenshots
-
intense
- Contributor

- Posts: 8501
- Joined: Wed Mar 27, 2013 9:56 am
- Reputation: 139
Post
by intense » Sun Jun 17, 2018 2:26 pm
The filter option important
means to ignore all exception filters (those prefixed with @@)
However, it seems to be a bug as you can see / test.
-
gotitbro
- Postaholic

- Posts: 866
- Joined: Sat Jul 09, 2016 8:33 pm
- Reputation: 5
Post
by gotitbro » Sun Jun 17, 2018 2:29 pm
So, currently there is no way of overriding whitelist element filters in ad blockers?
-
intense
- Contributor

- Posts: 8501
- Joined: Wed Mar 27, 2013 9:56 am
- Reputation: 139
Post
by intense » Sun Jun 17, 2018 2:42 pm
@gotitbro
The filters above are a trick you can use to disable the exception filters.
I had the answer from
@gorhill
Not a bug, this is still a valid CSS selector made of two selectors. By using an element name which matches nothing (fake), the exception cosmetic filter won't match the cosmetic filter ##.banner. It's useful to use the comma once in a while to coalesce target elements into a single cosmetic filter, example:
https://github.com/uBlockOrigin/uAssets ... #L554-L555
Another trick to bypass an exception filter using the mentioned case:
oxforddictionaries.com##.banner.banner
-
smed79
- Liste AR Author

- Posts: 14564
- Joined: Sun Jan 17, 2010 4:00 am
- Reputation: 170
- Location: EasyList Forum
Post
by smed79 » Sun Jun 17, 2018 2:46 pm
in
Adblock Plus

•► 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
vgy.me,
imgur.com or
imgbb.com to upload your screenshots
-
-Mark-
- Postaholic

- Posts: 373
- Joined: Tue Jul 05, 2016 7:46 pm
- Reputation: 16
Post
by -Mark- » Sun Jun 17, 2018 3:35 pm
smed79 wrote: ↑Sun Jun 17, 2018 2:23 pm
$generichide
option is a network filter?
Yes and can be disabled by
$generichide,important
in uBO.