X-Git-Url: http://www.privoxy.org/gitweb/?a=blobdiff_plain;f=doc%2Fwebserver%2Fuser-manual%2Ffilter-file.html;h=d225df1ed015e0443ec8c79cb550a2f7e352f7cf;hb=3b3e93244ab9a04daf15de964593063779e382ed;hp=98e54a41afbb37f2ef838131a7af5d2795939ab7;hpb=9c113a4c0231441c0005cae73bc9e1cf32a71596;p=privoxy.git diff --git a/doc/webserver/user-manual/filter-file.html b/doc/webserver/user-manual/filter-file.html index 98e54a41..d225df1e 100644 --- a/doc/webserver/user-manual/filter-file.html +++ b/doc/webserver/user-manual/filter-file.html @@ -116,7 +116,7 @@ HREF="actions-file.html#SERVER-HEADER-FILTER" >server-header-filter - to rewrite headers that are send by the server, and

filterfile config directive. The filters - as supplied by the developers will be found in + as supplied by the developers are located in default.filter.

Command tasks for content filters are to eliminate common annoyances in +> Common tasks for content filters are to eliminate common annoyances in HTML and JavaScript, such as pop-up windows, exit consoles, crippled windows without navigation tools, the infamous <BLINK> tag etc, to suppress images with certain width and height attributes (standard banner sizes or web-bugs), or just to have fun.

Content filtering works on any text-based document type, including - HTML, JavaScript, CSS etc. (all text/* - MIME types, except Enabled content filters are applied to any content whose + "Content Type" header is recognised as a sign + of text-based content, with the exception of text/plain). - Substitutions are made at the source level, so if you want to . + Use the force-text-mode action + to also filter other content.

Substitutions are made at the source level, so if you want to "roll your own"

9.1. Filter File Tutorial