[Done] Domain exceptions for element hiding
Posted: 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?
"~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?