outdated description

Discussion on adblockplus.org website and translations
Post Reply
anon

outdated description

Post by anon »

en/faq_internal#filters
Besides of translating filters into regular expressions Adblock Plus also tries to extract text information from them. What it needs is a unique string of eight characters (a "shortcut") that must be present in every address matched by the filter (the length is arbitrary, eight just seems reasonable here). For example, if you have a filter |http://ad.* then Adblock Plus has the choice between "http://a", "ttp://ad" and "tp://ad.", any of these strings will always be present in whatever this filter will match. Unfortunately finding a shortcut for filters that simply don't have eight characters unbroken by wildcards or for filters that have been specified as regular expressions is impossible.
I think there is different after 1.3.5, could you please update it?
User avatar
Gingerbread Man
Posts: 1339
Joined: Fri Aug 12, 2011 5:28 am

Re: outdated description

Post by Gingerbread Man »

This thread could've used a better title.

I was also wondering about this. The minimum seems to be down to a string of 3 characters now.
User avatar
Crits
Posts: 394
Joined: Mon Jan 16, 2012 11:54 am
Location: France
Contact:

Re: outdated description

Post by Crits »

For those interested, the new matching algorithm is explained in this topic: forum/viewtopic.php?t=6118
Author of Liste FR, an ad-blocking subscription for French websites
Post Reply