Adblock: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
(initial)
 
(Merging the two Adblock articles)
Line 1: Line 1:
Advantages of [http://adblock.mozdev.org Adblock]
[http://adblock.mozdev.org 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.
* Can block images/scripts/flash/iframes
 
* Can prevent ads from being downloaded (not just hidden)
Blocks ads in any directory called "banner", "banners", or any case insensitive equvalent:
* Can use very selective wildcards (and regexps if you know how to)
  /.*\/banners?\/.*/i
* Can be invoked right from the status-bar
 
Blocks ads in any directory called "ad", "ads", or any case insensitive equvalent:
  /.*\/ads?\/.*/i
 
Blocks ads on Yahoo!:
/http\:\/\/us\.a1\.yimg\.com\/us\.yimg\.com\/a\/.*/

Revision as of 14:40, 25 March 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 equvalent:

 /.*\/banners?\/.*/i

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

 /.*\/ads?\/.*/i

Blocks ads on Yahoo!:

/http\:\/\/us\.a1\.yimg\.com\/us\.yimg\.com\/a\/.*/