Adblock

From MozillaZine Knowledge Base
Revision as of 14:40, 25 March 2005 by Hao2lian (talk | contribs) (Merging the two Adblock articles)
Jump to navigationJump to search

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\/.*/