domain part exclusion

Everything about using Adblock Plus on Mozilla Firefox, Thunderbird and SeaMonkey

domain part exclusion

Postby eventide » Mon Oct 30, 2017 12:05 am

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

Postby eventide » Mon Oct 30, 2017 12:13 am

I tried creating a new filter without success:

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

Re: domain part exclusion

Postby mapx » Mon Oct 30, 2017 9:00 am

try
Code: Select all
mail.google.com#@#.gb_b


read about hiding filters:
https://adblockplus.org/en/filters#elemhide
User avatar
mapx
 
Posts: 21947
Joined: Thu Jan 06, 2011 3:01 pm

Re: domain part exclusion

Postby eventide » Mon Oct 30, 2017 11:29 am

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.
eventide
 
Posts: 9
Joined: Thu Sep 21, 2017 3:56 am

Re: domain part exclusion

Postby mapx » Mon Oct 30, 2017 12:48 pm

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
User avatar
mapx
 
Posts: 21947
Joined: Thu Jan 06, 2011 3:01 pm

Re: domain part exclusion

Postby eventide » Mon Oct 30, 2017 4:44 pm

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
eventide
 
Posts: 9
Joined: Thu Sep 21, 2017 3:56 am

Re: domain part exclusion

Postby mapx » Mon Oct 30, 2017 6:24 pm

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")
User avatar
mapx
 
Posts: 21947
Joined: Thu Jan 06, 2011 3:01 pm

Re: domain part exclusion

Postby eventide » Mon Oct 30, 2017 6:32 pm

your elemhide filter still doesn't work, & yes wildcards work cause i'm using ubo.
eventide
 
Posts: 9
Joined: Thu Sep 21, 2017 3:56 am

Re: domain part exclusion

Postby mapx » Mon Oct 30, 2017 6:55 pm

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/
User avatar
mapx
 
Posts: 21947
Joined: Thu Jan 06, 2011 3:01 pm

Re: domain part exclusion

Postby eventide » Mon Oct 30, 2017 7:11 pm

thanks ))
eventide
 
Posts: 9
Joined: Thu Sep 21, 2017 3:56 am


Return to Adblock Plus for Firefox support

Who is online

Users browsing this forum: Google [Bot], jackBire, zakunovviktya and 10 guests