domain part exclusion

Everything about using Adblock Plus on Mozilla Firefox, Thunderbird and SeaMonkey
Post Reply
eventide
Posts: 9
Joined: Thu Sep 21, 2017 3:56 am

domain part exclusion

Post by eventide »

I have this filter:

google.*##.gb_b

Can i exclude this only from the filter & if yes, how ?

mail.google.com
eventide
Posts: 9
Joined: Thu Sep 21, 2017 3:56 am

Re: domain part exclusion

Post by eventide »

I tried creating a new filter without success:

||mail.google.com##.gb_b
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: domain part exclusion

Post by mapx »

try

Code: Select all

mail.google.com#@#.gb_b
read about hiding filters:
en/filters#elemhide
eventide
Posts: 9
Joined: Thu Sep 21, 2017 3:56 am

Re: domain part exclusion

Post by eventide »

Thanks, & is there a possibility to even avoid any filters i create for google.* only to be active on mail.google.com
by using a general exclusion filter on:
mail.google.com

without having to specify it's for ##.gb_b.. or another section.
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: domain part exclusion

Post by mapx »

you could try:
- avoids generic (with no domain in the rule) hiding filters to impact mail.google.com

Code: Select all

@@||mail.google.com^$generichide
- avoids any hiding rule on mail.google.com

Code: Select all

@@||mail.google.com^$elemhide
eventide
Posts: 9
Joined: Thu Sep 21, 2017 3:56 am

Re: domain part exclusion

Post by eventide »

Unfortunately, with this filter:
google.*##.gb_b

only the specified filter worked:
mail.google.com#@#.gb_b

neither:
@@||mail.google.com^$generichide

or:
@@||mail.google.com^$elemhide

stopped:
google.*##.gb_b
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: domain part exclusion

Post by mapx »

Now I can see this filter is even wrong:
google.*##.gb_b

Does it work for you ? The domain has to be complete (like google.com, google.fr and without wildcard)
I tested a similar filter and has no effect.

(however I corrected the filter generichide above - was missing a "c")
eventide
Posts: 9
Joined: Thu Sep 21, 2017 3:56 am

Re: domain part exclusion

Post by eventide »

your elemhide filter still doesn't work, & yes wildcards work cause i'm using ubo.
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: domain part exclusion

Post by mapx »

What are you doing here (using uBo) ? :lol:

Well, in uBo it's simple, just add this rule (no filter, rule !):

Code: Select all

no-cosmetic-filtering: mail.google.com true
However, for your future filter issues (uBo specific) in uBo report here:
https://github.com/uBlockOrigin/uAssets/issues

for other filters easylist forum:
http://forums.lanik.us/
eventide
Posts: 9
Joined: Thu Sep 21, 2017 3:56 am

Re: domain part exclusion

Post by eventide »

thanks ))
Post Reply