how to get rid of the snails

Posting here is no longer possible, please use the forum of a filter list project, such as EasyList
Locked
anonymous74100

how to get rid of the snails

Post by anonymous74100 »

I got 9 slow filters. How do I optimize them.

Code: Select all

/ado.js
/ad.js
/banner*.swf
||openx.
||adv.
||adslv.
||promo.
||agk.lv^$third-party
||puls.lv^
LorenzoC

Re: how to get rid of the snails

Post by LorenzoC »

It depends what version of ABP you are using.

Stable ABP uses the "old" algorithm which requires "keywords" to be at least 8 characters.
So all the above rules are "wrong" and you can't do anything about it.

Development ABP uses a "new" algorithm which requires "keyowrds" to be 3 characters proceeded and followed by a special characters like */ads/* or ||ads.*

So for the Dev Builds these are "good":
/ado.*
||openx.*
||adv.*
||adslv.*
||promo.*
||agk.*^$third-party
||puls.*

While these are "wrong":
/ad.* (too short)
/banner*. (missing special character at the end of the word)
User avatar
Hubird
Posts: 2850
Joined: Thu Oct 26, 2006 2:59 pm
Location: Australia
Contact:

Re: how to get rid of the snails

Post by Hubird »

It is great that you are making a Latvian Adblock subscription but it would be best if you made it a "supplemental" subscription (only add rules for Latvian sites not already blocked by generic rules in one of the current general English Adblock lists).
anonymous74100

Re: how to get rid of the snails

Post by anonymous74100 »

I installed the dev build, so I'm down to 2 snails.
What do you mean by:
LorenzoC wrote:missing special character at the end of the word
User avatar
Hubird
Posts: 2850
Joined: Thu Oct 26, 2006 2:59 pm
Location: Australia
Contact:

Re: how to get rid of the snails

Post by Hubird »

Also, I would remove:

Code: Select all

/banners/*
/city24/*
/banner*.swf
Above filters are asking for trouble

Code: Select all

*.swf?ClickTag=
Known to cause false positives

Code: Select all

##A[href*="openx."]
##A[href*=".php?bannerID="]
##A[href="/reklama"]
These are also slow filtters and should be avoided
LorenzoC

Re: how to get rid of the snails

Post by LorenzoC »

I mean
*/ads/*
is "good", while
*/ads*
if "wrong" because the "keyword" ads is not immediately followed by the required "special character".

Read this:
forum/viewtopic.php?f=4&t=6118
anonymous74100

Re: how to get rid of the snails

Post by anonymous74100 »

Hubird wrote:It is great that you are making a Latvian Adblock subscription but it would be best if you made it a "supplemental" subscription (only add rules for Latvian sites not already blocked by generic rules in one of the current general English Adblock lists).
Most Latvian sites have endless foreign tracking scripts from .ee .se .ru and others.
Hubird wrote:Also, I would remove:
I will consider it, but these are gonna stay:

Code: Select all

/banners/*
/city24/*
##A[href="/reklama"]
User avatar
Hubird
Posts: 2850
Joined: Thu Oct 26, 2006 2:59 pm
Location: Australia
Contact:

Re: how to get rid of the snails

Post by Hubird »

anonymous74100 wrote:Most Latvian sites have endless foreign tracking scripts from .ee .se .ru and others.
That's fine, normally subscription authors do not worry about the domains the unwanted items originate from only the domain they can be seen on. It is fine to ad rules for ".ee .se .ru" domains if they were seen on Latvian sites.

Code: Select all

/banners/*
/city24/*
Obviously the choice is yours but these are both very generic and could very easily cause false positives. Not every banner is an ad (site heading banners for example).
anonymous74100

Re: how to get rid of the snails

Post by anonymous74100 »

Hubird wrote: Not every banner is an ad (site heading banners for example).
OK, I'll remove

Code: Select all

/banners/*
, but I haven't seen a valid use of

Code: Select all

/city24/*
User avatar
fanboy
Posts: 3446
Joined: Sun Jun 17, 2007 4:45 am
Contact:

Re: how to get rid of the snails

Post by fanboy »

"city24" doesn't sounds very ad-like to me.
Locked