Script Filter

Removes script, applets, and/or objects. When removing script tries to convert scripts links to regular static links.

Parameters

eat_scripts

If set to true, removes HTML <script> elements and event attributes (e.g. onload).

Format:

fix_scripts = boolean

When removing scripts this filter tries to convert script links to static links. For example, something like

<a href="#" onclick="window.open('/sampletips/sampletip.asp?id=183','BabyWindow');">
will be converted to
<a href="/sampletips/sampletip.asp?id=183" target="BabyWindow">

Besides, this filter will try preserve links containing benign code like history.back().

eat_applets

If set to true, removes HTML <applet> elements.

Format:

fix_applets = boolean

eat_objects

If set to true, removes HTML <object> elements.

Format:

fix_objects = boolean

See also Common Filter Parameters.

Example

type = Popup Filter
name = Popup Killer
enabled = true
fix_popups = true
include = *
exclude = canadiantire.ca
exclude = bestbuy.ca