Adblock: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
(→‎External links: Removed outdated and irrelevant links)
(→‎External links: More relevent link)
Line 16: Line 16:


===External links===
===External links===
* [http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Objects:RegExp Regexp Syntax]
* [http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Guide:Regular_Expressions Regular Expressions]


[[Category:Extensions (Firefox)]] [[Category:Extensions (Mozilla Suite)]]
[[Category:Extensions (Firefox)]] [[Category:Extensions (Mozilla Suite)]]

Revision as of 10:59, 4 March 2007

Adblock is an extension for Firefox and Mozilla Suite. It can hide graphics on pages, block them from ever loading, block JavaScript files, embedded frames (IFRAMEs), and Flash movies. It uses wildcards and 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)/

Additionally, there are several filtersets available online such as the popular Filterset.G and FiltersetP

See also

Problematic extensions

External links