exception rules/allow filtered object for domain

Posting here is no longer possible, please use the forum of a filter list project, such as EasyList
Locked
cewood
Posts: 2
Joined: Thu Jun 18, 2009 5:54 pm

exception rules/allow filtered object for domain

Post by cewood »

Hi
I have been trying to find a way to avoid disabling two rules that are conflicting with a site that I use.

The rules in question are...

###textad
###textAd


I have tried mimicking those rules like so...

###textad$domain=~site.com
###textAd$domain=~site.com


I have also tried making an exception rule...

@@|http://site.com#div(textad)
@@|http://site.com#div(id=textad)
@@|http://site.com###textad


But none have worked to date.

Any help you can provide would be greatly appreciated, ideally I would prefer using an exception rule, that way I can collect any such rules and write them into a personal subscription to use in all the browsers that I use around the place.
Ares2
Posts: 1275
Joined: Fri Feb 15, 2008 12:47 pm

Post by Ares2 »

Domain exception for element hiding rules will be possible in Adblock Plus 1.1: http://adblockplus.org/forum/viewtopic.php?t=3919
cewood
Posts: 2
Joined: Thu Jun 18, 2009 5:54 pm

Post by cewood »

Ares2 wrote:Domain exception for element hiding rules will be possible in Adblock Plus 1.1: http://adblockplus.org/forum/viewtopic.php?t=3919
Hi Ares and thanks for your reply.

I always forget to mention something, I am already using the Adblock Plus 1.1 Development build atm, but your links did send me down the right path.

As I previously mentioned I had been trying to use the $domain option in my filter, but it wasn't till I took a look at these two links...

http://adblockplus.org/forum/viewtopic.php?t=3919
http://adblockplus.org/development-buil ... ng-as-well

that I saw that you can write the filters like so in the new version...

~example.com###textad
~example.com###textAd


I like to think I'm not a complete tragic, but I can't see any example of code like that in the documentation, which might be because this hasn't been finally released yet.

If that is the reason then is there any other source for documentation that you guys refer to, and also was there a similar fashion I could have written that filter using the $domain syntax, or was that just not going to work?

Appreciate the help.
Wladimir Palant

Post by Wladimir Palant »

cewood wrote:but I can't see any example of code like that in the documentation
You guessed correctly - experimental features don't appear in the documentation. They will be documented however once Adblock Plus 1.1 is released.
Locked