What's the priority of rules?

Posting here is no longer possible, please use the forum of a filter list project, such as EasyList
Locked
Chris Hsu
Posts: 3
Joined: Thu Apr 14, 2011 2:33 pm
Location: Taiwan

What's the priority of rules?

Post by Chris Hsu »

I have one custom element hiding rule as following:

Code: Select all

~www.nownews.com##.adbanner
It doesn't work after EasyList (English) add the rule:

Code: Select all

~cvvp.nva.gov.lv##.adbanner
If I disable the rule in EasyList, my rule will work fine. Does Adblock Plus process rules with priority?
How can I fix the problem without disabling rule in EasyList?

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

Re: What's the priority of rules?

Post by Hubird »

I'm pretty sure your only solution is to ask the EasyList guys to consider modifying their rule to

Code: Select all

~nownews.com,~cvvp.nva.gov.lv##.adbanner
Michael
Posts: 1361
Joined: Sat Dec 19, 2009 12:29 pm

Re: What's the priority of rules?

Post by Michael »

Chris, on which page of the domain does the filter cause problems? Previous discussion of the precedence of element rules is located at forum/viewtopic.php?t=7190.
Chris Hsu
Posts: 3
Joined: Thu Apr 14, 2011 2:33 pm
Location: Taiwan

Re: What's the priority of rules?

Post by Chris Hsu »

Michael wrote:Chris, on which page of the domain does the filter cause problems? Previous discussion of the precedence of element rules is located at forum/viewtopic.php?t=7190.
Dear Michael,

Please visit http://www.nownews.com/newsflash/index.php?sid=14
This filter will block everything of that page.

BR,
Chris Hsu
LorenzoC

Re: What's the priority of rules?

Post by LorenzoC »

I don't understand the language, anyway, can't you block the top banner with /ad2004/* ?

Those above aren't blocking rules, they are element hiding rules.
LorenzoC

Re: What's the priority of rules?

Post by LorenzoC »

Or /ad2004/*$domain=nownews.com
MonztA
ABP Developer
Posts: 3957
Joined: Mon Aug 14, 2006 12:18 am
Location: Germany

Re: What's the priority of rules?

Post by MonztA »

Chris Hsu
Posts: 3
Joined: Thu Apr 14, 2011 2:33 pm
Location: Taiwan

Re: What's the priority of rules?

Post by Chris Hsu »

Hey guys, thanks for your help. :D

I think it would be better if Adblock Plus supports merging or override rules.
Locked