From 65eac5e8553a475eff188a5b6e2a3256ed283a6f Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Sat, 17 Nov 2007 17:24:44 +0000 Subject: [PATCH] - Use new action defaults. - Minor fixes and rewordings. --- doc/source/user-manual.sgml | 92 +++++++++++-------------------------- 1 file changed, 28 insertions(+), 64 deletions(-) diff --git a/doc/source/user-manual.sgml b/doc/source/user-manual.sgml index f50a10bf..33615593 100644 --- a/doc/source/user-manual.sgml +++ b/doc/source/user-manual.sgml @@ -33,7 +33,7 @@ This file belongs into ijbswa.sourceforge.net:/home/groups/i/ij/ijbswa/htdocs/ - $Id: user-manual.sgml,v 2.44 2007/11/15 03:30:20 hal9 Exp $ + $Id: user-manual.sgml,v 2.45 2007/11/16 11:48:46 hal9 Exp $ Copyright (C) 2001-2007 Privoxy Developers http://www.privoxy.org/ See LICENSE. @@ -59,7 +59,7 @@ -$Id: user-manual.sgml,v 2.44 2007/11/15 03:30:20 hal9 Exp $ +$Id: user-manual.sgml,v 2.45 2007/11/16 11:48:46 hal9 Exp $ @@ -6858,7 +6814,7 @@ wiki. -# My user.action file. <fred@foobar.com> +# My user.action file. <fred@example.com> @@ -6961,7 +6917,7 @@ stupid-server.example.com/ { +block } www.example.com/nasty-ads/sponsor\.gif - another.popular.site.net/more/junk/here/ + another.example.net/more/junk/here/ @@ -7007,8 +6963,8 @@ stupid-server.example.com/ You like the fun text replacements in default.filter, - but it is disabled in the distributed actions file. (My colleagues on the team just - don't have a sense of humour, that's why! ;-). So you'd like to turn it on in your private, + but it is disabled in the distributed actions file. + So you'd like to turn it on in your private, update-safe config, once and for all: @@ -7104,7 +7060,7 @@ stupid-server.example.com/ client-header-filter to rewrite headers that are send by the client, and server-header-filter - to rewrite headers that are send by the server, and + to rewrite headers that are send by the server. @@ -7122,7 +7078,7 @@ stupid-server.example.com/ Multiple filter files can be defined through the filterfile config directive. The filters - as supplied by the developers will be found in + as supplied by the developers are located in default.filter. It is recommended that any locally defined or modified filters go in a separately defined file such as user.filter. @@ -7130,7 +7086,7 @@ stupid-server.example.com/ - 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 @@ -7139,9 +7095,14 @@ stupid-server.example.com/ - Content filtering works on any text-based document type, including - HTML, JavaScript, CSS etc. (all text/* - MIME types, except text/plain). + 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. + 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 filters, you should first be familiar with HTML syntax, and, of course, regular expressions. @@ -9132,6 +9093,9 @@ In file: user.action [ View ] [ Edit ]