Text Signature Filter looks for signature strings in HTML text. This filter is similar to two other signature filters: Script Signature Filter and Comment Signature Filter.
One or more string parameters define a set of string signatures to look for. Currently only text enclosed in <table> and <div> HTML elements is examined. If at least one of the strings is found, the whole element is deleted.
Format:
string = text
See examples below.
One or more script_string parameters define a set of string signatures to look for within HTML <script> elements (that is between <script> and </script> tags). If there is a match the whole script is deleted. See an example below.
Format:
string = text
See also Common Filter Parameters.
Consider this simple filter:
name = Ad Remover enabled = true logging = true time = users = exclude_users = include = * string = advertisement string = a d v e r t i s e m e n t
Foxy web-based user interface will show the same filter like this:
This filter will efficiently delete HTML fragment below. The whole <table> element is deleted because one of the search strings (“advertisement”) was found inside.
<table>
<tr>
<td>
= ADVERTISEMENT =
</td>
</tr>
<tr>
<td>
<script language="JavaScript" src="/bannrs/random_ad.js"/>
<noscript>
<img src="/banners/6039743.gif">
</noscript>
</td>
</tr>
</table>