Supported rules

Everything about using Adblock Plus on Google Chrome

Supported rules

Postby Ares2 » Thu Feb 10, 2011 3:07 am

Sorry if I've overlooked something obvious (Documentation , FAQ etc), I admit that I have no idea at all, the only thing I saw was https://adblockplus.org/blog/list-of-ad ... ome-issues which didn't give me clear answer.

I'm wondering what types of rules are supported by ABP for Chrome?

Background: http://forums.lanik.us/viewtopic.php?t=8014

1. What filter/exception rules options are supported (even if just hiding as mentioned in the known issues)? What happens with a rule that specifies one that isn't supported? Are exception rules even working at all? Specifically, what's wrong with
Code: Select all
@@||impde.tradedoubler.com/imp?type(img)$image,domain=sms-box.de|smsgott.de


2. Similar what about hiding rules?

3. Which of the above limitations will most likely not be fixed in the near future? (So we can discuss if we should modify EasyList instead of waiting for a fix)
Ares2
 
Posts: 1275
Joined: Fri Feb 15, 2008 1:47 pm

Re: Supported rules

Postby Wladimir Palant » Thu Feb 10, 2011 10:11 am

1. Exception rules are ignored for blocking :-(. The rules that currently only hide will consider exceptions properly however.
2. Nothing special here AFAIK (other than the "style" attribute - it isn't rewritten in Chrome, same as Firefox 4). There is an exception for Gmail however, only domain-bound rules will apply there (due to https://adblockplus.org/en/known-issues-chrome#gmail).
3. Gmail thing will most likely stay, I don't see this bug being resolved any time soon. And $object-subrequest/$xmlhttprequest will most likely stay useless since Chrome isn't capable of intercepting either.
Wladimir Palant
ABP Developer
 
Posts: 8397
Joined: Fri Jun 09, 2006 6:59 pm
Location: Cologne, Germany

Re: Supported rules

Postby Ares2 » Thu Feb 10, 2011 3:19 pm

Thanks.

But the plan is to make blocking rules actually block things in the future, right?

Wladimir Palant wrote:1. Exception rules are ignored for blocking :-(. The rules that currently only hide will consider exceptions properly however.

So for the example, one would have to disable the blocking rule ||tradedoubler.com^$third-party and then add something like .tradedoubler.com/ (would ||tradedoubler.com^ only be hiding as well?) and then the exception rule will work?
Ares2
 
Posts: 1275
Joined: Fri Feb 15, 2008 1:47 pm

Re: Supported rules

Postby Wladimir Palant » Thu Feb 10, 2011 3:46 pm

||tradedoubler.com^ only hides, yes.

The plan is to make blocking rules work "normally". The trouble is really Chrome's architecture - the background process has all the necessary data but getting it to the tab process (the one that needs to make the blocking decision) is problematic. Right now the tabs have only limited data - a list of domains to block. The changes to Adblock Plus/Firefox that I am working on right now (allow caching matcher data on disk) will also make it easier to share the data between processes in Chrome, meaning that the tab processes will have all the necessary data.
Wladimir Palant
ABP Developer
 
Posts: 8397
Joined: Fri Jun 09, 2006 6:59 pm
Location: Cologne, Germany

Re: Supported rules

Postby Hubird » Thu Feb 10, 2011 11:48 pm

These changes to ABP/ Firefox that you speak of, will they benefit Firefox users or a they just to make life easier for Chrome ABP development ?
User avatar
Hubird
 
Posts: 2850
Joined: Thu Oct 26, 2006 2:59 pm
Location: Australia

Re: Supported rules

Postby Wladimir Palant » Fri Feb 11, 2011 8:15 am

Hubird, these changes should largely improve startup performance.
Wladimir Palant
ABP Developer
 
Posts: 8397
Joined: Fri Jun 09, 2006 6:59 pm
Location: Cologne, Germany

Re: Supported rules

Postby Hubird » Fri Feb 11, 2011 8:31 am

Great !

Thanks for the clarification.
User avatar
Hubird
 
Posts: 2850
Joined: Thu Oct 26, 2006 2:59 pm
Location: Australia

Re: Supported rules

Postby Steve » Fri Feb 11, 2011 3:42 pm

Thanks for the enlightenment. :P
Steve
 


Return to Adblock Plus for Chrome support

Who is online

Users browsing this forum: No registered users and 6 guests