[Done] Domain exceptions for element hiding

Various discussions related to Adblock Plus development

[Done] Domain exceptions for element hiding

Postby Wladimir Palant » Mon May 11, 2009 8:06 am

Now that whitelisting for element hiding seems to work reliably (dear Firefox developers, please don't break it again!), I thought that unifying the handling with the $domain option might be a good idea. Meaning that following rules will be possible:

"~example.com##.ad" - will be applied everywhere but on example.com and its subdomains

"example.com,~bad.example.com##.ad" - will be applied on all of example.com with exception of bad.example.com and all its subdomains

"example.com,~bad.example.com,really.bad.example.com##.ad" - same as above but will still be applied on really.bad.example.com

Technically, these element hiding rules will still be applied on all the positive entries in the domain list. However, the mechanism used for whitelisting will also be used to make sure that they have no effect on the negative entries in the list.

Any comments?
Last edited by Wladimir Palant on Mon Jun 15, 2009 8:02 am, edited 1 time in total.
Wladimir Palant
ABP Developer
 
Posts: 8395
Joined: Fri Jun 09, 2006 6:59 pm
Location: Cologne, Germany

Postby Ares2 » Mon May 11, 2009 12:57 pm

Woooot!! I can't imagine a more useful/important feature for EasyList. 8) Thanks for implementing that, Wladimir.
Ares2
 
Posts: 1275
Joined: Fri Feb 15, 2008 1:47 pm

Postby Stupid Head » Thu May 14, 2009 4:24 am

I'm for it. :)
What, me worry?
User avatar
Stupid Head
 
Posts: 214
Joined: Sat Aug 26, 2006 8:11 pm
Location: USA

Postby Lucas Malor » Thu May 28, 2009 1:42 pm

Well, I don't like the syntax :P but I like the idea. Can something like this be implemented also for filters?
User avatar
Lucas Malor
 
Posts: 72
Joined: Wed Aug 23, 2006 7:34 am

Postby Ares2 » Thu May 28, 2009 5:27 pm

Lucas Malor wrote:Can something like this be implemented also for filters?

Done. :P

http://adblockplus.org/forum/viewtopic.php?t=3269

http://adblockplus.org/releases/adblock ... 1-released
Ares2
 
Posts: 1275
Joined: Fri Feb 15, 2008 1:47 pm

Postby Lucas Malor » Fri May 29, 2009 1:33 pm

Excellent... :D
User avatar
Lucas Malor
 
Posts: 72
Joined: Wed Aug 23, 2006 7:34 am

Postby Wladimir Palant » Mon Jun 15, 2009 8:03 am

Wladimir Palant
ABP Developer
 
Posts: 8395
Joined: Fri Jun 09, 2006 6:59 pm
Location: Cologne, Germany


Return to Adblock Plus development

Who is online

Users browsing this forum: No registered users and 2 guests