Combine Exception Rules

Everything about using Adblock Plus on Mozilla Firefox, Thunderbird and SeaMonkey
Post Reply
Dentalfi
Posts: 3
Joined: Thu Jun 26, 2014 1:15 am

Combine Exception Rules

Post by Dentalfi »

Can/How can I efficiently combine these exception rules to unblock the same content on two sites, one of which has two suffixes?

Code: Select all

@@||domain1.com/images/image.jpg
@@||domain1.org/images/image.jpg
@@||domain2.com/images/image.jpg
User avatar
smed79
Posts: 1224
Joined: Thu Jan 14, 2010 11:51 pm
Location: EasyList Forum
Contact:

Re: Combine Exception Rules

Post by smed79 »

Code: Select all

@@||domain1.com/images/image.jpg$domain=site1.com|site2.com
@@||domain1.org/images/image.jpg$domain=site1.com|site2.com
@@||domain2.com/images/image.jpg$domain=site1.com|site2.com
or

Code: Select all

@@||domain1.*/images/image.jpg$domain=site1.com|site2.com
@@||domain2.com/images/image.jpg$domain=site1.com|site2.com
- filters
- filter-cheatsheet
Dentalfi
Posts: 3
Joined: Thu Jun 26, 2014 1:15 am

Re: Combine Exception Rules

Post by Dentalfi »

Thank you. I also tried

Code: Select all

$domain=site1.*|site2.com
but the wildcard does not appear to work in this case; is it possible?
User avatar
smed79
Posts: 1224
Joined: Thu Jan 14, 2010 11:51 pm
Location: EasyList Forum
Contact:

Re: Combine Exception Rules

Post by smed79 »

No, you need the exact domain or subdomain.
Post Reply