Adblock Plus is probably one of the most popular Firefox extensions of all time. It blocks almost any advertisement on the Internet and is highly effective. Users can add filters to Adblock Plus that whitelist those websites which means that ads on those websites will be shown. This is excellent for webmasters who want to make sure that their websites are displaying the correct ads and visitors who want to give something back to a website that they really like.
The filter list grows over time, I know mine does and becomes ineffective this way due to duplicate entries and ineffective usage of space in the filter list. Thankfully though the Adblock website offers a way to optimize this filter list to make it more effective. Before you can start with the optimization you need to export your current filter list.
Press CTRL + SHIFT + A to open Adblock Plus. Click on Filters > Export Filters to save the filter list as a text document. Now load the Adblock Plus optimization website and paste the contents of the saved filtered list into the form.
The default options that are available at the bottom should be sufficient for most users. Just make sure you check Optimize including preexisting RegExes if you already have an optimized version but added new filters to that one. Click on the optimize button which should display some stats and of course the new optimized filter list.
Now copy and paste the new filter list into a text document and import it again into Adblock Plus. Press CTRL + SHIFT + A again and click on Filters > Import Filters. Select the text document that contains the updated filter list and click ok. Make sure you select Overwrite when asked if you want to overwrite or append the filter list.
My filter list, which only contained 12 lines and 364 chars was reduced to 1 line and 251 chars which means a reduction of 91.7 % and 31 %.
Wladimir Palant from Adblock Plus contacted me and told me that Adblock Plus users should use the following two scripts if they want to optimize their filter list. You find the correct links in the article now.Advertisement
Ghacks is a technology news blog that was founded in 2005 by Martin Brinkmann. It has since then become one of the most popular tech news sites on the Internet with five authors and regular contributions from freelance writers.