Adblock: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
No edit summary
No edit summary
Line 10: Line 10:
  /yimg\.com(.*/adv/|/a[^u])(?!vision)/
  /yimg\.com(.*/adv/|/a[^u])(?!vision)/


To optimize your filters automatically see this site: [http://translate.google.com/translate?u=http%3A%2F%2Fadblock.free.fr%2Foptimize%2F&langpair=fr%7Cen&hl=en&ie=UTF-8&oe=UTF-8&prev=%2Flanguage_tools Optimize Filters]
===Links===
 
* [http://aasted.org/adblock/viewforum.php?f=1 Adblock Support Forums]
 
* [http://translate.google.com/translate?u=http%3A%2F%2Fadblock.free.fr%2Foptimize%2F&langpair=fr%7Cen&hl=en&ie=UTF-8&oe=UTF-8&prev=%2Flanguage_tools Optimize your filters automatically]
 
* [http://www.pierceive.com/ Download a good set of Adblock filters]
----
* [http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Objects:RegExp Regexp Syntax]
 
* [http://bene.sitesled.com/adblock.htm Adblock Plus - supports whitelisting]
French users see http://adblock.free.fr/
* [http://adblock.free.fr/ Guide to Adblock (French)]

Revision as of 01:10, 3 September 2005

Adblock is a Mozilla and Firefox extension. It blocks graphics on pages, block graphics from ever loading, CSS files, JavaScript files, embedded frames (IFRAMEs), and Flash movies. It uses either wildcards or regular expressions to match files to block. The following is a list of example filters for Adblock.

Blocks ads in any directory called "banner", "banners", or any case insensitive equivalent:

 /\Wbanners?\W/

Blocks ads in any directory called "ad", "ads", or any case insensitive equivalent:

 /\Wads?\W/

Blocks ads on Yahoo!:

/yimg\.com(.*/adv/|/a[^u])(?!vision)/

Links