remove all of the CVS "$Id: xxx" lines that GIT doesn't do anything with
[privoxy.git] / doc / webserver / user-manual / actions-file.html
index c0eb301..9963c88 100644 (file)
@@ -7,7 +7,7 @@
 NAME="GENERATOR"
 CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
 REL="HOME"
-TITLE="Privoxy 3.0.17 User Manual"
+TITLE="Privoxy 3.0.27 User Manual"
 HREF="index.html"><LINK
 REL="PREVIOUS"
 TITLE="The Main Configuration File"
@@ -42,7 +42,7 @@ CELLSPACING="0"
 ><TH
 COLSPAN="3"
 ALIGN="center"
->Privoxy 3.0.17 User Manual</TH
+>Privoxy 3.0.27 User Manual</TH
 ></TR
 ><TR
 ><TD
@@ -94,21 +94,20 @@ CLASS="APPLICATION"
 >Privoxy</SPAN
 > takes for which URLs, and thus determines
  how ad images, cookies and various other aspects of HTTP content and
- transactions are handled, and on which sites (or even parts thereof). 
+ transactions are handled, and on which sites (or even parts thereof).
  There are a number of such actions, with a wide range of functionality.
  Each action does something a little different.
- These actions give us a veritable arsenal of tools with which to exert 
- our control, preferences and independence. Actions can be combined so that 
+ These actions give us a veritable arsenal of tools with which to exert
+ our control, preferences and independence. Actions can be combined so that
  their effects are aggregated when applied against a given set of URLs.</P
 ><P
-> There 
+> There
  are three action files included with <SPAN
 CLASS="APPLICATION"
 >Privoxy</SPAN
 > with
  differing purposes:</P
 ><P
-> <P
 ></P
 ><UL
 ><LI
@@ -145,9 +144,9 @@ CLASS="FILENAME"
 >    <TT
 CLASS="FILENAME"
 >user.action</TT
-> - is intended to be for local site 
+> - is intended to be for local site
     preferences and exceptions. As an example, if your ISP or your bank
-    has specific requirements, and need special handling, this kind of 
+    has specific requirements, and need special handling, this kind of
     thing should go here. This file will not be upgraded.
    </P
 ></LI
@@ -176,25 +175,25 @@ CLASS="EMPHASIS"
     influence on your browsing unless you select them explicitly in the
     editor</I
 ></SPAN
->. A default installation should be pre-set to 
+>. A default installation should be pre-set to
     <TT
 CLASS="LITERAL"
 >Cautious</TT
 >. New users should try this for a while before
-    adjusting the settings to more aggressive levels. The more aggressive 
-    the settings, then the more likelihood there is of problems such as sites 
+    adjusting the settings to more aggressive levels. The more aggressive
+    the settings, then the more likelihood there is of problems such as sites
     not working as they should.
    </P
 ><P
 >    The <SPAN
 CLASS="GUIBUTTON"
 >Edit</SPAN
-> button allows you to turn each 
+> button allows you to turn each
     action on/off individually for fine-tuning. The <SPAN
 CLASS="GUIBUTTON"
 >Cautious</SPAN
 >
-    button changes the actions list to low/safe settings which will activate 
+    button changes the actions list to low/safe settings which will activate
     ad blocking and a minimal set of <SPAN
 CLASS="APPLICATION"
 >Privoxy</SPAN
@@ -229,11 +228,10 @@ CLASS="FILENAME"
 >default.action</TT
 > are:
    </P
-><P
->    <DIV
+><DIV
 CLASS="TABLE"
 ><A
-NAME="AEN2534"
+NAME="AEN2870"
 ></A
 ><P
 ><B
@@ -398,13 +396,10 @@ TITLE="C4"><THEAD
 ></TBODY
 ></TABLE
 ></DIV
->
-    </P
 ></LI
 ></UL
-></P
 ><P
-> The list of actions files to be used are defined in the main configuration 
+> The list of actions files to be used are defined in the main configuration
  file, and are processed in the order they are defined (e.g.
  <TT
 CLASS="FILENAME"
@@ -439,7 +434,7 @@ CLASS="EMPHASIS"
 ><TT
 CLASS="FILENAME"
 >.action</TT
->). 
+>).
  Generally, <TT
 CLASS="FILENAME"
 >user.action</TT
@@ -466,7 +461,7 @@ CLASS="EMPHASIS"
  universal set in <TT
 CLASS="FILENAME"
 >user.action</TT
-> or any other actions file after 
+> or any other actions file after
  <TT
 CLASS="FILENAME"
 >default.action</TT
@@ -486,8 +481,7 @@ CLASS="APPLICATION"
 >Privoxy</SPAN
 > upgrades easier.</P
 ><P
-> 
- Actions can be used to block anything you want, including ads, banners, or
+> Actions can be used to block anything you want, including ads, banners, or
  just some obnoxious URL whose content you would rather not see. Cookies can be accepted
  or rejected, or accepted only during the current browser session (i.e. not
  written to disk), content can be modified, some JavaScripts tamed, user-tracking
@@ -501,7 +495,7 @@ CLASS="SECT2"
 ><H2
 CLASS="SECT2"
 ><A
-NAME="AEN2633"
+NAME="RIGHT-MIX"
 >8.1. Finding the Right Mix</A
 ></H2
 ><P
@@ -511,7 +505,7 @@ HREF="actions-file.html#ACTIONS"
 >, like cookie suppression
  or script disabling, may render some sites unusable that rely on these
  techniques to work properly. Finding the right mix of actions is not always easy and
- certainly a matter of personal taste. And, things can always change, requiring 
+ certainly a matter of personal taste. And, things can always change, requiring
  refinements in the configuration. In general, it can be said that the more
  <SPAN
 CLASS="QUOTE"
@@ -536,7 +530,7 @@ CLASS="SECT2"
 ><H2
 CLASS="SECT2"
 ><A
-NAME="AEN2640"
+NAME="HOW-TO-EDIT"
 >8.2. How to Edit</A
 ></H2
 ><P
@@ -567,7 +561,7 @@ CLASS="QUOTE"
 >"Advanced"</SPAN
 > setting is more
  aggressive, and will be more likely to cause problems for some sites.
- Experienced users only! 
+ Experienced users only!
  </P
 ><P
 > If you prefer plain text editing to GUIs, you can of course also directly edit the
@@ -575,7 +569,7 @@ CLASS="QUOTE"
  <TT
 CLASS="FILENAME"
 >default.action</TT
-> which is richly commented with many 
+> which is richly commented with many
  good examples.</P
 ></DIV
 ><DIV
@@ -613,7 +607,7 @@ CLASS="QUOTE"
  the last match wins. If not, the effects are aggregated.
  E.g. a URL might match a regular section with a heading line of <TT
 CLASS="LITERAL"
->{ 
+>{
  +<A
 HREF="actions-file.html#HANDLE-AS-IMAGE"
 >handle-as-image</A
@@ -633,11 +627,10 @@ CLASS="emphasis"
 CLASS="EMPHASIS"
 >both</I
 ></SPAN
-> actions to apply. And there may well be 
- cases where you will want to combine actions together. Such a section then 
+> actions to apply. And there may well be
+ cases where you will want to combine actions together. Such a section then
  might look like:</P
-><P
-> <TABLE
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="100%"
@@ -659,8 +652,6 @@ CLASS="LITERAL"
 ></TD
 ></TR
 ></TABLE
->
- </P
 ><P
 > You can trace this process for URL patterns and any given URL by visiting <A
 HREF="http://config.privoxy.org/show-url-info"
@@ -682,8 +673,7 @@ NAME="AF-PATTERNS"
 >8.4. Patterns</A
 ></H2
 ><P
-> 
- As mentioned, <SPAN
+> As mentioned, <SPAN
 CLASS="APPLICATION"
 >Privoxy</SPAN
 > uses <SPAN
@@ -714,11 +704,11 @@ CLASS="EMPHASIS"
 > Generally, an URL pattern has the form
  <TT
 CLASS="LITERAL"
->&#60;domain&#62;&#60;port&#62;/&#60;path&#62;</TT
+>&#60;host&#62;&#60;port&#62;/&#60;path&#62;</TT
 >, where the
  <TT
 CLASS="LITERAL"
->&#60;domain&#62;</TT
+>&#60;host&#62;</TT
 >, the <TT
 CLASS="LITERAL"
 >&#60;port&#62;</TT
@@ -743,9 +733,9 @@ CLASS="EMPHASIS"
 ></SPAN
 > be included in the pattern. This is assumed already!</P
 ><P
-> The pattern matching syntax is different for the domain and path parts of
- the URL. The domain part uses a simple globbing type matching technique, 
- while the path part uses more flexible 
+> The pattern matching syntax is different for the host and path parts of
+ the URL. The host part uses a simple globbing type matching technique,
+ while the path part uses more flexible
  <A
 HREF="http://en.wikipedia.org/wiki/Regular_expressions"
 TARGET="_top"
@@ -760,7 +750,7 @@ CLASS="QUOTE"
  (<TT
 CLASS="LITERAL"
 >:</TT
->). If the domain part contains a numerical IPv6 address,
+>). If the host part contains a numerical IPv6 address,
  it has to be put into angle brackets
  (<TT
 CLASS="LITERAL"
@@ -781,12 +771,12 @@ CLASS="LITERAL"
 ></DT
 ><DD
 ><P
->    is a domain-only pattern and will match any request to <TT
+>    is a host-only pattern and will match any request to <TT
 CLASS="LITERAL"
 >www.example.com</TT
 >,
     regardless of which document on that server is requested. So ALL pages in
-    this domain would be covered by the scope of this action. Note that a 
+    this domain would be covered by the scope of this action. Note that a
     simple <TT
 CLASS="LITERAL"
 >example.com</TT
@@ -800,7 +790,7 @@ CLASS="LITERAL"
 ></DT
 ><DD
 ><P
->    means exactly the same. For domain-only patterns, the trailing <TT
+>    means exactly the same. For host-only patterns, the trailing <TT
 CLASS="LITERAL"
 >/</TT
 > may
@@ -885,6 +875,20 @@ CLASS="LITERAL"
 ><DT
 ><TT
 CLASS="LITERAL"
+>10.0.0.1/</TT
+></DT
+><DD
+><P
+>    Matches any URL with the host address <TT
+CLASS="LITERAL"
+>10.0.0.1</TT
+>.
+    (Note that the real URL uses plain brackets, not angle brackets.)
+   </P
+></DD
+><DT
+><TT
+CLASS="LITERAL"
 >&#60;2001:db8::1&#62;/</TT
 ></DT
 ><DD
@@ -907,7 +911,7 @@ CLASS="LITERAL"
     there is no top-level domain called <TT
 CLASS="LITERAL"
 >.html</TT
->. So its 
+>. So its
     a mistake.
    </P
 ></DD
@@ -918,12 +922,14 @@ CLASS="SECT3"
 ><H3
 CLASS="SECT3"
 ><A
-NAME="AEN2752"
->8.4.1. The Domain Pattern</A
+NAME="HOST-PATTERN"
+>8.4.1. The Host Pattern</A
 ></H3
 ><P
-> The matching of the domain part offers some flexible options: if the
- domain starts or ends with a dot, it becomes unanchored at that end. 
+> The matching of the host part offers some flexible options: if the
+ host pattern starts or ends with a dot, it becomes unanchored at that end.
+ The host pattern is often referred to as domain pattern as it is usually
+ used to match domain names and not IP addresses.
  For example:</P
 ><P
 ></P
@@ -1021,7 +1027,7 @@ CLASS="LITERAL"
 CLASS="LITERAL"
 >www.example.net/cgi/testing.pl</TT
 > for instance. All these
-    cases are matched. 
+    cases are matched.
    </P
 ></DD
 ></DL
@@ -1033,7 +1039,7 @@ CLASS="LITERAL"
 CLASS="QUOTE"
 >"*"</SPAN
 > represents zero or more arbitrary characters (this is
- equivalent to the 
+ equivalent to the
  <A
 HREF="http://en.wikipedia.org/wiki/Regular_expressions"
 TARGET="_top"
@@ -1057,7 +1063,7 @@ CLASS="QUOTE"
  <SPAN
 CLASS="QUOTE"
 >"character classes"</SPAN
-> in square brackets which is similar to 
+> in square brackets which is similar to
  the same regular expression technique. All of this can be freely mixed:</P
 ><P
 ></P
@@ -1074,7 +1080,7 @@ CLASS="LITERAL"
 >    matches <SPAN
 CLASS="QUOTE"
 >"adserver.example.com"</SPAN
->, 
+>,
     <SPAN
 CLASS="QUOTE"
 >"ads.example.com"</SPAN
@@ -1111,7 +1117,7 @@ CLASS="LITERAL"
 >, <TT
 CLASS="LITERAL"
 >a.b.c.d.e.upix.com</TT
-> etc. 
+> etc.
    </P
 ></DD
 ><DT
@@ -1124,14 +1130,14 @@ CLASS="LITERAL"
 >     matches <TT
 CLASS="LITERAL"
 >www1.example.com</TT
->, 
+>,
      <TT
 CLASS="LITERAL"
 >www4.example.cc</TT
 >, <TT
 CLASS="LITERAL"
 >wwwd.example.cy</TT
->, 
+>,
      <TT
 CLASS="LITERAL"
 >wwwz.example.com</TT
@@ -1141,7 +1147,7 @@ CLASS="emphasis"
 CLASS="EMPHASIS"
 >not</I
 ></SPAN
-> 
+>
      <TT
 CLASS="LITERAL"
 >wwww.example.com</TT
@@ -1158,7 +1164,7 @@ CLASS="SECT3"
 ><H3
 CLASS="SECT3"
 ><A
-NAME="AEN2828"
+NAME="PATH-PATTERN"
 >8.4.2. The Path Pattern</A
 ></H3
 ><P
@@ -1197,7 +1203,7 @@ CLASS="QUOTE"
  i.e. it matches as if it would start with a <SPAN
 CLASS="QUOTE"
 >"^"</SPAN
-> (regular expression speak 
+> (regular expression speak
  for the beginning of a line).</P
 ><P
 > Please also note that matching in the path is <SPAN
@@ -1207,7 +1213,7 @@ CLASS="EMPHASIS"
 >CASE INSENSITIVE</I
 ></SPAN
 >
- by default, but you can switch to case sensitive at any point in the pattern by using the 
+ by default, but you can switch to case sensitive at any point in the pattern by using the
  <SPAN
 CLASS="QUOTE"
 >"(?-i)"</SPAN
@@ -1241,7 +1247,7 @@ CLASS="LITERAL"
 >     Is equivalent to just <SPAN
 CLASS="QUOTE"
 >".example.com"</SPAN
->, since any documents 
+>, since any documents
      within that domain are matched with or without the <SPAN
 CLASS="QUOTE"
 >".*"</SPAN
@@ -1275,12 +1281,12 @@ CLASS="QUOTE"
     expression called for at least two <SPAN
 CLASS="QUOTE"
 >"/'s"</SPAN
->, thus the path 
-    requirement. It also would match 
+>, thus the path
+    requirement. It also would match
     <SPAN
 CLASS="QUOTE"
 >"www.example.com/testing/index_html"</SPAN
->, because of the 
+>, because of the
     special meta-character <SPAN
 CLASS="QUOTE"
 >"."</SPAN
@@ -1294,19 +1300,19 @@ CLASS="LITERAL"
 ></DT
 ><DD
 ><P
->    This regular expression is conditional so it will match any page 
+>    This regular expression is conditional so it will match any page
     named <SPAN
 CLASS="QUOTE"
 >"index.html"</SPAN
-> regardless of path which in this case can 
+> regardless of path which in this case can
     have one or more <SPAN
 CLASS="QUOTE"
 >"/'s"</SPAN
->. And this one must contain exactly 
+>. And this one must contain exactly
     <SPAN
 CLASS="QUOTE"
 >".html"</SPAN
-> (but does not have to end with that!).
+> (and end with that!).
    </P
 ></DD
 ><DT
@@ -1326,7 +1332,7 @@ CLASS="QUOTE"
 >, <SPAN
 CLASS="QUOTE"
 >"banner"</SPAN
->, 
+>,
     <SPAN
 CLASS="QUOTE"
 >"banners"</SPAN
@@ -1338,6 +1344,7 @@ CLASS="QUOTE"
 >"junk"</SPAN
 >.
     The path does not have to end in these words, just contain them.
+    The path has to contain at least two slashes (including the one at the beginning).
    </P
 ></DD
 ><DT
@@ -1347,7 +1354,7 @@ CLASS="LITERAL"
 ></DT
 ><DD
 ><P
->    This is very much the same as above, except now it must end in either 
+>    This is very much the same as above, except now it must end in either
     <SPAN
 CLASS="QUOTE"
 >".jpg"</SPAN
@@ -1360,7 +1367,7 @@ CLASS="QUOTE"
 > or <SPAN
 CLASS="QUOTE"
 >".png"</SPAN
->. So this 
+>. So this
     one is limited to common image formats.
    </P
 ></DD
@@ -1370,7 +1377,7 @@ CLASS="QUOTE"
 > There are many, many good examples to be found in <TT
 CLASS="FILENAME"
 >default.action</TT
->, 
+>,
  and more tutorials below in <A
 HREF="appendix.html#REGEX"
 >Appendix on regular expressions</A
@@ -1382,12 +1389,12 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="TAG-PATTERN"
->8.4.3. The Tag Pattern</A
+>8.4.3. The Request Tag Pattern</A
 ></H3
 ><P
-> Tag patterns are used to change the applying actions based on the
- request's tags. Tags can be created with either the
- <A
+> Request tag patterns are used to change the applying actions based on the
+ request's tags. Tags can be created based on HTTP headers with either
the <A
 HREF="actions-file.html#CLIENT-HEADER-TAGGER"
 >client-header-tagger</A
 >
@@ -1396,14 +1403,14 @@ HREF="actions-file.html#SERVER-HEADER-TAGGER"
 >server-header-tagger</A
 > action.</P
 ><P
-> Tag patterns have to start with <SPAN
+> Request tag patterns have to start with <SPAN
 CLASS="QUOTE"
 >"TAG:"</SPAN
 >, so <SPAN
 CLASS="APPLICATION"
 >Privoxy</SPAN
 >
- can tell them apart from URL patterns. Everything after the colon
+ can tell them apart from other patterns. Everything after the colon
  including white space, is interpreted as a regular expression with
  path pattern syntax, except that tag patterns aren't left-anchored
  automatically (<SPAN
@@ -1436,13 +1443,13 @@ CLASS="QUOTE"
 >"TAG: foo"</SPAN
 > wouldn't work as it requires white space.</P
 ><P
-> Sections can contain URL and tag patterns at the same time,
- but tag patterns are checked after the URL patterns and thus
+> Sections can contain URL and request tag patterns at the same time,
+ but request tag patterns are checked after the URL patterns and thus
  always overrule them, even if they are located before the URL patterns.</P
 ><P
-> Once a new tag is added, Privoxy checks right away if it's matched by one
- of the tag patterns and updates the action settings accordingly. As a result
- tags can be used to activate other tagger actions, as long as these other
+> Once a new request tag is added, Privoxy checks right away if it's matched by one
+ of the request tag patterns and updates the action settings accordingly. As a result
request tags can be used to activate other tagger actions, as long as these other
  taggers look for headers that haven't already be parsed.</P
 ><P
 > For example you could tag client requests which use the
@@ -1462,6 +1469,122 @@ CLASS="LITERAL"
  indirection is seldom needed anyway and even the example doesn't
  make too much sense.</P
 ></DIV
+><DIV
+CLASS="SECT3"
+><H3
+CLASS="SECT3"
+><A
+NAME="NEGATIVE-TAG-PATTERNS"
+>8.4.4. The Negative Request Tag Patterns</A
+></H3
+><P
+> To match requests that do not have a certain request tag, specify a negative tag pattern
+ by prefixing the tag pattern line with either <SPAN
+CLASS="QUOTE"
+>"NO-REQUEST-TAG:"</SPAN
+>
+ or <SPAN
+CLASS="QUOTE"
+>"NO-RESPONSE-TAG:"</SPAN
+> instead of <SPAN
+CLASS="QUOTE"
+>"TAG:"</SPAN
+>.</P
+><P
+> Negative request tag patterns created with <SPAN
+CLASS="QUOTE"
+>"NO-REQUEST-TAG:"</SPAN
+> are checked
+ after all client headers are scanned, the ones created with <SPAN
+CLASS="QUOTE"
+>"NO-RESPONSE-TAG:"</SPAN
+>
+ are checked after all server headers are scanned. In both cases all the created
+ tags are considered.</P
+></DIV
+><DIV
+CLASS="SECT3"
+><H3
+CLASS="SECT3"
+><A
+NAME="CLIENT-TAG-PATTERN"
+>8.4.5. The Client Tag Pattern</A
+></H3
+><DIV
+CLASS="WARNING"
+><P
+></P
+><TABLE
+CLASS="WARNING"
+BORDER="1"
+WIDTH="100%"
+><TR
+><TD
+ALIGN="CENTER"
+><B
+>Warning</B
+></TD
+></TR
+><TR
+><TD
+ALIGN="LEFT"
+><P
+> This is an experimental feature. The syntax is likely to change in future versions.</P
+></TD
+></TR
+></TABLE
+></DIV
+><P
+> Client tag patterns are not set based on HTTP headers but based on
+ the client's IP address. Users can enable them themselves, but the
+ Privoxy admin controls which tags are available and what their effect
+ is.</P
+><P
+> After a client-specific tag has been defined with the
+ <A
+HREF="config.html#CLIENT-SPECIFIC-TAG"
+>client-specific-tag</A
+>,
+ directive, action sections can be activated based on the tag by using a
+ CLIENT-TAG pattern. The CLIENT-TAG pattern is evaluated at the same priority
+ as URL patterns, as a result the last matching pattern wins. Tags that
+ are created based on client or server headers are evaluated later on
+ and can overrule CLIENT-TAG and URL patterns!</P
+><P
+> The tag is set for all requests that come from clients that requested
+ it to be set. Note that "clients" are  differentiated by IP address,
+ if the IP address changes the tag has to be requested again.</P
+><P
+> Clients can request tags to be set by using the CGI interface <A
+HREF="http://config.privoxy.org/client-tags"
+TARGET="_top"
+>http://config.privoxy.org/client-tags</A
+>.</P
+><P
+> Example:</P
+><TABLE
+BORDER="0"
+BGCOLOR="#E0E0E0"
+WIDTH="100%"
+><TR
+><TD
+><PRE
+CLASS="SCREEN"
+># If the admin defined the client-specific-tag circumvent-blocks,
+# and the request comes from a client that previously requested
+# the tag to be set, overrule all previous +block actions that
+# are enabled based on URL to CLIENT-TAG patterns.
+{-block}
+CLIENT-TAG:^circumvent-blocks$
+
+# This section is not overruled because it's located after
+# the previous one.
+{+block{Nobody is supposed to request this.}}
+example.org/blocked-example-page</PRE
+></TD
+></TR
+></TABLE
+></DIV
 ></DIV
 ><DIV
 CLASS="SECT2"
@@ -1506,29 +1629,25 @@ CLASS="LITERAL"
 >+block</TT
 >
  previously applied."</SPAN
->&#13;</P
+></P
 ><P
-> 
- Again, actions are invoked by placing them on a line, enclosed in curly braces and
- separated by whitespace, like in 
+> Again, actions are invoked by placing them on a line, enclosed in curly braces and
+ separated by whitespace, like in
  <TT
 CLASS="LITERAL"
 >{+some-action -some-other-action{some-parameter}}</TT
 >,
  followed by a list of URL patterns, one per line, to which they apply.
  Together, the actions line and the following pattern lines make up a section
- of the actions file. </P
+ of the actions file.</P
 ><P
-> 
- Actions fall into three categories:</P
+> Actions fall into three categories:</P
 ><P
-> <P
 ></P
 ><UL
 ><LI
 ><P
->  
-   Boolean, i.e the action can only be <SPAN
+>   Boolean, i.e the action can only be <SPAN
 CLASS="QUOTE"
 >"enabled"</SPAN
 > or
@@ -1537,8 +1656,7 @@ CLASS="QUOTE"
 >"disabled"</SPAN
 >. Syntax:
   </P
-><P
->   <TABLE
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="90%"
@@ -1571,11 +1689,8 @@ CLASS="REPLACEABLE"
 ></TD
 ></TR
 ></TABLE
->
-  </P
 ><P
->  
-   Example: <TT
+>   Example: <TT
 CLASS="LITERAL"
 >+handle-as-image</TT
 >
@@ -1583,12 +1698,10 @@ CLASS="LITERAL"
 ></LI
 ><LI
 ><P
->  
-   Parameterized, where some value is required in order to enable this type of action.
+>   Parameterized, where some value is required in order to enable this type of action.
    Syntax:
   </P
-><P
->   <TABLE
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="90%"
@@ -1622,15 +1735,12 @@ CLASS="REPLACEABLE"
 ></TD
 ></TR
 ></TABLE
->
-  </P
 ><P
 >   Note that if the URL matches multiple positive forms of a parameterized action,
    the last match wins, i.e. the params from earlier matches are simply ignored.
   </P
 ><P
->  
-   Example: <TT
+>   Example: <TT
 CLASS="LITERAL"
 >+hide-user-agent{Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.4) Gecko/20070602 Firefox/2.0.0.4}</TT
 >
@@ -1638,8 +1748,7 @@ CLASS="LITERAL"
 ></LI
 ><LI
 ><P
->  
-   Multi-value. These look exactly like parameterized actions,
+>   Multi-value. These look exactly like parameterized actions,
    but they behave differently: If the action applies multiple times to the
    same URL, but with different parameters, <SPAN
 CLASS="emphasis"
@@ -1658,8 +1767,7 @@ CLASS="EMPHASIS"
    that can be executed for the same request repeatedly, like adding multiple
    headers, or filtering through multiple filters. Syntax:
   </P
-><P
->   <TABLE
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="90%"
@@ -1709,11 +1817,8 @@ CLASS="REPLACEABLE"
 ></TD
 ></TR
 ></TABLE
->
-  </P
 ><P
->  
-   Examples: <TT
+>   Examples: <TT
 CLASS="LITERAL"
 >+add-header{X-Fun-Header: Some text}</TT
 > and
@@ -1724,7 +1829,6 @@ CLASS="LITERAL"
   </P
 ></LI
 ></UL
-></P
 ><P
 > If nothing is specified in any actions file, no <SPAN
 CLASS="QUOTE"
@@ -1739,8 +1843,8 @@ CLASS="APPLICATION"
  files will give a good starting point).</P
 ><P
 > Later defined action sections always over-ride earlier ones of the same type.
- So exceptions to any rules you make, should come in the latter part of the file (or 
- in a file that is processed later when using multiple actions files such 
+ So exceptions to any rules you make, should come in the latter part of the file (or
+ in a file that is processed later when using multiple actions files such
  as <TT
 CLASS="FILENAME"
 >user.action</TT
@@ -1813,12 +1917,12 @@ CLASS="LITERAL"
 >Notes:</DT
 ><DD
 ><P
->    This action may be specified multiple times, in order to define multiple 
-    headers. This is rarely needed for the typical user. If you don't know what 
+>    This action may be specified multiple times, in order to define multiple
+    headers. This is rarely needed for the typical user. If you don't know what
     <SPAN
 CLASS="QUOTE"
 >"HTTP headers"</SPAN
-> are, you definitely don't need to worry about this 
+> are, you definitely don't need to worry about this
     one.
    </P
 ><P
@@ -1828,8 +1932,7 @@ CLASS="QUOTE"
 ><DT
 >Example usage:</DT
 ><DD
-><P
->     <TABLE
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="90%"
@@ -1837,12 +1940,19 @@ WIDTH="90%"
 ><TD
 ><PRE
 CLASS="SCREEN"
->+add-header{X-User-Tracking: sucks}</PRE
+># Add a DNT ("Do not track") header to all requests,
+# event to those that already have one.
+#
+# This is just an example, not a recommendation.
+#
+# There is no reason to believe that user-tracking websites care
+# about the DNT header and depending on the User-Agent, adding the
+# header may make user-tracking easier.
+{+add-header{DNT: 1}}
+/</PRE
 ></TD
 ></TR
 ></TABLE
->
-   </P
 ></DD
 ></DL
 ></DIV
@@ -1889,7 +1999,7 @@ CLASS="LITERAL"
 HREF="actions-file.html#SET-IMAGE-BLOCKER"
 >set-image-blocker</A
 ></TT
->, and 
+>, and
     <TT
 CLASS="LITERAL"
 ><A
@@ -1897,7 +2007,7 @@ HREF="actions-file.html#HANDLE-AS-EMPTY-DOCUMENT"
 >handle-as-empty-document</A
 ></TT
 > actions.
-    
+
    </P
 ></DD
 ><DT
@@ -1929,14 +2039,13 @@ CLASS="QUOTE"
     enabled).
    </P
 ><P
-> 
-    A very important exception occurs if <SPAN
+>    A very important exception occurs if <SPAN
 CLASS="emphasis"
 ><I
 CLASS="EMPHASIS"
 >both</I
 ></SPAN
-> 
+>
     <TT
 CLASS="LITERAL"
 >block</TT
@@ -1947,7 +2056,7 @@ HREF="actions-file.html#HANDLE-AS-IMAGE"
 >handle-as-image</A
 ></TT
 >,
-    apply to the same request: it will then be replaced by an image. If 
+    apply to the same request: it will then be replaced by an image. If
     <TT
 CLASS="LITERAL"
 ><A
@@ -1959,12 +2068,12 @@ HREF="actions-file.html#SET-IMAGE-BLOCKER"
     if not, the standard checkerboard pattern is sent.
    </P
 ><P
->    It is important to understand this process, in order 
+>    It is important to understand this process, in order
     to understand how <SPAN
 CLASS="APPLICATION"
 >Privoxy</SPAN
-> deals with 
-    ads and other unwanted content. Blocking is a core feature, and one 
+> deals with
+    ads and other unwanted content. Blocking is a core feature, and one
     upon which various other features depend.
    </P
 ><P
@@ -1987,8 +2096,7 @@ CLASS="QUOTE"
 ><DT
 >Example usage (section):</DT
 ><DD
-><P
->     <TABLE
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="90%"
@@ -2000,19 +2108,17 @@ CLASS="SCREEN"
 # Block and replace with "blocked" page
  .nasty-stuff.example.com
 
-{+block{Doubleclick banners.} +handle-as-image} 
+{+block{Doubleclick banners.} +handle-as-image}
 # Block and replace with image
  .ad.doubleclick.net
  .ads.r.us/banners/
 
-{+block{Layered ads.} +handle-as-empty-document} 
+{+block{Layered ads.} +handle-as-empty-document}
 # Block and then ignore
  adserver.example.net/.*\.js$</PRE
 ></TD
 ></TR
 ></TABLE
->
-    </P
 ></DD
 ></DL
 ></DIV
@@ -2094,8 +2200,7 @@ CLASS="LITERAL"
 ><DT
 >Example usage:</DT
 ><DD
-><P
->     <TABLE
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="90%"
@@ -2107,8 +2212,6 @@ CLASS="SCREEN"
 ></TD
 ></TR
 ></TABLE
->
-   </P
 ></DD
 ></DL
 ></DIV
@@ -2145,7 +2248,7 @@ CLASS="VARIABLELIST"
 >Type:</DT
 ><DD
 ><P
->Parameterized.</P
+>Multi-value.</P
 ></DD
 ><DT
 >Parameter:</DT
@@ -2172,7 +2275,7 @@ HREF="filter-file.html"
     and use their output as input.
    </P
 ><P
->    If the request URL gets changed, <SPAN
+>    If the request URI gets changed, <SPAN
 CLASS="APPLICATION"
 >Privoxy</SPAN
 > will detect that and use the new
@@ -2191,8 +2294,7 @@ HREF="filter-file.html"
 ><DT
 >Example usage (section):</DT
 ><DD
-><P
->     <TABLE
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="90%"
@@ -2202,13 +2304,10 @@ WIDTH="90%"
 CLASS="SCREEN"
 ># Hide Tor exit notation in Host and Referer Headers
 {+client-header-filter{hide-tor-exit-notation}}
-/
-    </PRE
+/</PRE
 ></TD
 ></TR
 ></TABLE
->
-    </P
 ></DD
 ></DL
 ></DIV
@@ -2239,14 +2338,14 @@ CLASS="VARIABLELIST"
 ><P
 >    Client headers to which this action applies are filtered on-the-fly through
     the specified regular expression based substitutions, the result is used as
-    tag. 
+    tag.
    </P
 ></DD
 ><DT
 >Type:</DT
 ><DD
 ><P
->Parameterized.</P
+>Multi-value.</P
 ></DD
 ><DT
 >Parameter:</DT
@@ -2278,8 +2377,7 @@ CLASS="QUOTE"
 ><DT
 >Example usage (section):</DT
 ><DD
-><P
->     <TABLE
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="90%"
@@ -2313,8 +2411,53 @@ TAG:^User-Agent: MPlayer/
 ></TD
 ></TR
 ></TABLE
->
-    </P
+><TABLE
+BORDER="0"
+BGCOLOR="#E0E0E0"
+WIDTH="90%"
+><TR
+><TD
+><PRE
+CLASS="SCREEN"
+># Tag all requests with the Range header set
+{+client-header-tagger{range-requests}}
+/
+
+# Disable filtering for the tagged requests.
+#
+# With filtering enabled Privoxy would remove the Range headers
+# to be able to filter the whole response. The downside is that
+# it prevents clients from resuming downloads or skipping over
+# parts of multimedia files.
+{-filter -deanimate-gifs}
+TAG:^RANGE-REQUEST$
+    </PRE
+></TD
+></TR
+></TABLE
+><TABLE
+BORDER="0"
+BGCOLOR="#E0E0E0"
+WIDTH="90%"
+><TR
+><TD
+><PRE
+CLASS="SCREEN"
+># Tag all requests with the client IP address
+#
+# (Technically the client IP address isn't included in the
+# client headers but client-header taggers can set it anyway.
+# For details see the tagger in default.filter)
+{+client-header-tagger{client-ip-address}}
+/
+
+# Change forwarding settings for requests coming from address 10.0.0.1
+{+forward-override{forward-socks5 127.0.1.2:2222 .}}
+TAG:^IP-ADDRESS: 10\.0\.0\.1$
+     </PRE
+></TD
+></TR
+></TABLE
 ></DD
 ></DL
 ></DIV
@@ -2358,7 +2501,7 @@ CLASS="QUOTE"
 >Parameter:</DT
 ><DD
 ><P
->    Any string. 
+>    Any string.
    </P
 ></DD
 ><DT
@@ -2372,7 +2515,7 @@ CLASS="QUOTE"
     browser to decide what to do with the document. The value of this
     header can cause the browser to open a download menu instead of
     displaying the document by itself, even if the document's format is
-    supported by the browser. 
+    supported by the browser.
    </P
 ><P
 >    The declared content type can also affect which rendering mode
@@ -2401,7 +2544,7 @@ CLASS="QUOTE"
 >"application/xml"</SPAN
 > and validate
     the web master's claim inside your XHTML-supporting browser.
-    If the syntax is incorrect, the browser will complain loudly. 
+    If the syntax is incorrect, the browser will complain loudly.
    </P
 ><P
 >    You can also go the opposite direction: if your browser prints
@@ -2410,7 +2553,7 @@ CLASS="QUOTE"
     <SPAN
 CLASS="QUOTE"
 >"text/html"</SPAN
-> and have it rendered as broken HTML document. 
+> and have it rendered as broken HTML document.
    </P
 ><P
 >    By default <TT
@@ -2449,14 +2592,13 @@ CLASS="LITERAL"
 >content-type-overwrite</TT
 >
     to a whole site and then make URL based exceptions, but it's a lot
-    more work to get the same precision. 
+    more work to get the same precision.
    </P
 ></DD
 ><DT
 >Example usage (sections):</DT
 ><DD
-><P
->     <TABLE
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="90%"
@@ -2475,8 +2617,6 @@ www.example.net/.*style</PRE
 ></TD
 ></TR
 ></TABLE
->
-   </P
 ></DD
 ></DL
 ></DIV
@@ -2593,8 +2733,7 @@ ALIGN="LEFT"
 ><DT
 >Example usage (section):</DT
 ><DD
-><P
->     <TABLE
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="90%"
@@ -2602,15 +2741,13 @@ WIDTH="90%"
 ><TD
 ><PRE
 CLASS="SCREEN"
-># Block the non-existent "Privacy-Violation:" client header 
+># Block the non-existent "Privacy-Violation:" client header
 { +crunch-client-header{Privacy-Violation:} }
 /
     </PRE
 ></TD
 ></TR
 ></TABLE
->
-   </P
 ></DD
 ></DL
 ></DIV
@@ -2709,8 +2846,7 @@ HREF="actions-file.html#OVERWRITE-LAST-MODIFIED"
 ><DT
 >Example usage (section):</DT
 ><DD
-><P
->     <TABLE
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="90%"
@@ -2727,8 +2863,6 @@ CLASS="SCREEN"
 ></TD
 ></TR
 ></TABLE
->
-   </P
 ></DD
 ></DL
 ></DIV
@@ -2824,7 +2958,7 @@ HREF="actions-file.html#SESSION-COOKIES-ONLY"
 >session-cookies-only</A
 ></TT
 > action,
-    since it would prevent the session cookies from being set. See also 
+    since it would prevent the session cookies from being set. See also
     <TT
 CLASS="LITERAL"
 ><A
@@ -2837,8 +2971,7 @@ HREF="actions-file.html#FILTER-CONTENT-COOKIES"
 ><DT
 >Example usage:</DT
 ><DD
-><P
->    <TABLE
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="90%"
@@ -2850,8 +2983,6 @@ CLASS="SCREEN"
 ></TD
 ></TR
 ></TABLE
->
-   </P
 ></DD
 ></DL
 ></DIV
@@ -2967,8 +3098,7 @@ ALIGN="LEFT"
 ><DT
 >Example usage (section):</DT
 ><DD
-><P
->     <TABLE
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="90%"
@@ -2982,8 +3112,6 @@ CLASS="SCREEN"
 ></TD
 ></TR
 ></TABLE
->
-   </P
 ></DD
 ></DL
 ></DIV
@@ -3085,8 +3213,7 @@ HREF="actions-file.html#SESSION-COOKIES-ONLY"
 ><DT
 >Example usage:</DT
 ><DD
-><P
->    <TABLE
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="90%"
@@ -3098,8 +3225,6 @@ CLASS="SCREEN"
 ></TD
 ></TR
 ></TABLE
->
-   </P
 ></DD
 ></DL
 ></DIV
@@ -3175,8 +3300,7 @@ CLASS="QUOTE"
 ><DT
 >Example usage:</DT
 ><DD
-><P
->      <TABLE
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="90%"
@@ -3188,8 +3312,6 @@ CLASS="SCREEN"
 ></TD
 ></TR
 ></TABLE
->
-    </P
 ></DD
 ></DL
 ></DIV
@@ -3242,16 +3364,28 @@ CLASS="APPLICATION"
 >Privoxy</SPAN
 >
     didn't support important HTTP/1.1 features well. It is left here for the
-    unlikely case that you experience HTTP/1.1 related problems with some server
-    out there. Not all HTTP/1.1 features and requirements are supported yet,
-    so there is a chance you might need this action.
+    unlikely case that you experience HTTP/1.1-related problems with some server
+    out there.
+   </P
+><P
+>    Note that enabling this action is only a workaround. It should not
+    be enabled for sites that work without it. While it shouldn't break
+    any pages, it has an (usually negative) performance impact.
+  </P
+><P
+>    If you come across a site where enabling this action helps, please report it,
+    so the cause of the problem can be analyzed. If the problem turns out to be
+    caused by a bug in  <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+> it should be
+    fixed so the following release works without the work around.
    </P
 ></DD
 ><DT
 >Example usage (section):</DT
 ><DD
-><P
->     <TABLE
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="90%"
@@ -3264,8 +3398,161 @@ problem-host.example.com</PRE
 ></TD
 ></TR
 ></TABLE
+></DD
+></DL
+></DIV
+></DIV
+><DIV
+CLASS="SECT3"
+><H4
+CLASS="SECT3"
+><A
+NAME="EXTERNAL-FILTER"
+>8.5.14. external-filter</A
+></H4
+><P
+></P
+><DIV
+CLASS="VARIABLELIST"
+><DL
+><DT
+>Typical use:</DT
+><DD
+><P
+>Modify content using a programming language of your choice.</P
+></DD
+><DT
+>Effect:</DT
+><DD
+><P
+>    All instances of text-based type, most notably HTML and JavaScript, to which
+    this action applies, can be filtered on-the-fly through the specified external
+    filter.
+    By default plain text documents are exempted from filtering, because web
+    servers often use the <TT
+CLASS="LITERAL"
+>text/plain</TT
+> MIME type for all files
+    whose type they don't know.)
+   </P
+></DD
+><DT
+>Type:</DT
+><DD
+><P
+>Multi-value.</P
+></DD
+><DT
+>Parameter:</DT
+><DD
+><P
+>    The name of an external content filter, as defined in the
+    <A
+HREF="filter-file.html"
+>filter file</A
+>.
+    External filters can be defined in one or more files as defined by the
+    <TT
+CLASS="LITERAL"
+><A
+HREF="config.html#FILTERFILE"
+>filterfile</A
+></TT
+>
+    option in the <A
+HREF="config.html"
+>config file</A
+>.
+   </P
+><P
+>    When used in its negative form,
+    and without parameters, <SPAN
+CLASS="emphasis"
+><I
+CLASS="EMPHASIS"
+>all</I
+></SPAN
+> filtering with external
+    filters is completely disabled.
+  </P
+></DD
+><DT
+>Notes:</DT
+><DD
+><P
+>    External filters are scripts or programs that can modify the content in
+    case common <TT
+CLASS="LITERAL"
+><A
+HREF="actions-file.html#FILTER"
+>filters</A
+></TT
 >
+    aren't powerful enough. With the exception that this action doesn't
+    use pcrs-based filters, the notes in the
+    <TT
+CLASS="LITERAL"
+><A
+HREF="actions-file.html#FILTER"
+>filter</A
+></TT
+> section apply.
+   </P
+><DIV
+CLASS="WARNING"
+><P
+></P
+><TABLE
+CLASS="WARNING"
+BORDER="1"
+WIDTH="90%"
+><TR
+><TD
+ALIGN="CENTER"
+><B
+>Warning</B
+></TD
+></TR
+><TR
+><TD
+ALIGN="LEFT"
+><P
+>     Currently external filters are executed with <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+>'s privileges.
+     Only use external filters you understand and trust.
     </P
+></TD
+></TR
+></TABLE
+></DIV
+><P
+>    This feature is experimental, the <TT
+CLASS="LITERAL"
+><A
+HREF="filter-file.html#EXTERNAL-FILTER-SYNTAX"
+>syntax</A
+></TT
+>
+    may change in the future.
+   </P
+></DD
+><DT
+>Example usage:</DT
+><DD
+><TABLE
+BORDER="0"
+BGCOLOR="#E0E0E0"
+WIDTH="90%"
+><TR
+><TD
+><PRE
+CLASS="SCREEN"
+>+external-filter{fancy-filter}</PRE
+></TD
+></TR
+></TABLE
 ></DD
 ></DL
 ></DIV
@@ -3276,7 +3563,7 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="FAST-REDIRECTS"
->8.5.14. fast-redirects</A
+>8.5.15. fast-redirects</A
 ></H4
 ><P
 ></P
@@ -3336,8 +3623,7 @@ CLASS="QUOTE"
 >Notes:</DT
 ><DD
 ><P
->  
-    Many sites, like yahoo.com, don't just link to other sites. Instead, they
+>    Many sites, like yahoo.com, don't just link to other sites. Instead, they
     will link to some script on their own servers, giving the destination as a
     parameter, which will then redirect you to the final target. URLs
     resulting from this scheme typically look like:
@@ -3357,7 +3643,7 @@ CLASS="QUOTE"
 ><P
 >    This feature is currently not very smart and is scheduled for improvement.
     If it is enabled by default, you will have to create some exceptions to
-    this action. It can lead to failures in several ways: 
+    this action. It can lead to failures in several ways:
    </P
 ><P
 >    Not every URLs with other URLs as parameters is evil.
@@ -3429,8 +3715,7 @@ CLASS="LITERAL"
 ><DT
 >Example usage:</DT
 ><DD
-><P
->     <TABLE
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="90%"
@@ -3439,15 +3724,13 @@ WIDTH="90%"
 ><PRE
 CLASS="SCREEN"
 > { +fast-redirects{simple-check} }
-   one.example.com 
+   one.example.com
 
  { +fast-redirects{check-decoded-url} }
    another.example.com/testing</PRE
 ></TD
 ></TR
 ></TABLE
->
-    </P
 ></DD
 ></DL
 ></DIV
@@ -3458,7 +3741,7 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="FILTER"
->8.5.15. filter</A
+>8.5.16. filter</A
 ></H4
 ><P
 ></P
@@ -3469,7 +3752,7 @@ CLASS="VARIABLELIST"
 >Typical use:</DT
 ><DD
 ><P
->Get rid of HTML and JavaScript annoyances, banner advertisements (by size), 
+>Get rid of HTML and JavaScript annoyances, banner advertisements (by size),
          do fun text replacements, add personalized effects, etc.</P
 ></DD
 ><DT
@@ -3490,7 +3773,7 @@ CLASS="LITERAL"
 >Type:</DT
 ><DD
 ><P
->Parameterized.</P
+>Multi-value.</P
 ></DD
 ><DT
 >Parameter:</DT
@@ -3500,7 +3783,7 @@ CLASS="LITERAL"
 HREF="filter-file.html"
 >filter file</A
 >.
-    Filters can be defined in one or more  files as defined by the 
+    Filters can be defined in one or more  files as defined by the
     <TT
 CLASS="LITERAL"
 ><A
@@ -3511,12 +3794,12 @@ HREF="config.html#FILTERFILE"
     option in the <A
 HREF="config.html"
 >config file</A
->. 
+>.
     <TT
 CLASS="FILENAME"
 >default.filter</TT
-> is the collection of filters 
-    supplied by the developers. Locally defined filters should go 
+> is the collection of filters
+    supplied by the developers. Locally defined filters should go
     in their own file, such as <TT
 CLASS="FILENAME"
 >user.filter</TT
@@ -3537,7 +3820,7 @@ CLASS="EMPHASIS"
 >Notes:</DT
 ><DD
 ><P
->    For your convenience, there are a number of pre-defined filters available 
+>    For your convenience, there are a number of pre-defined filters available
     in the distribution filter file that you can use. See the examples below for
     a list.
    </P
@@ -3554,7 +3837,7 @@ CLASS="EMPHASIS"
 CLASS="QUOTE"
 >"Rolling your own"</SPAN
 >
-    filters requires a knowledge of 
+    filters requires a knowledge of
      <A
 HREF="http://en.wikipedia.org/wiki/Regular_expressions"
 TARGET="_top"
@@ -3563,7 +3846,7 @@ CLASS="QUOTE"
 >"Regular
      Expressions"</SPAN
 ></A
-> and 
+> and
       <A
 HREF="http://en.wikipedia.org/wiki/Html"
 TARGET="_top"
@@ -3572,7 +3855,7 @@ CLASS="QUOTE"
 >"HTML"</SPAN
 ></A
 >.
-    This is very powerful feature, and potentially very intrusive. 
+    This is very powerful feature, and potentially very intrusive.
     Filters should be used with caution, and where an equivalent
     <SPAN
 CLASS="QUOTE"
@@ -3580,7 +3863,7 @@ CLASS="QUOTE"
 > is not available.
    </P
 ><P
->    The amount of data that can be filtered is limited to the 
+>    The amount of data that can be filtered is limited to the
     <TT
 CLASS="LITERAL"
 ><A
@@ -3591,9 +3874,9 @@ HREF="config.html#BUFFER-LIMIT"
     option in the main <A
 HREF="config.html"
 >config file</A
->. The 
+>. The
     default is 4096 KB (4 Megs). Once this limit is exceeded, the buffered
-    data, and all pending data, is passed through unfiltered. 
+    data, and all pending data, is passed through unfiltered.
    </P
 ><P
 >    Inappropriate MIME types, such as zipped files, are not filtered at all.
@@ -3607,19 +3890,16 @@ CLASS="LITERAL"
 > exceptions.
    </P
 ><P
->    Compressed content can't be filtered either, unless <SPAN
+>    Compressed content can't be filtered either, but if <SPAN
 CLASS="APPLICATION"
 >Privoxy</SPAN
 >
-    is compiled with zlib support (requires at least <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
-> 3.0.7),
-    in which case <SPAN
+    is compiled with zlib support and a supported compression algorithm
+    is used (gzip or deflate), <SPAN
 CLASS="APPLICATION"
 >Privoxy</SPAN
-> will decompress the content before filtering
-    it.
+> can first decompress the content
+    and then filter it.
    </P
 ><P
 >    If you use a <SPAN
@@ -3640,7 +3920,7 @@ CLASS="LITERAL"
 >.
    </P
 ><P
->    Content filtering can achieve some of the same effects as the 
+>    Content filtering can achieve some of the same effects as the
     <TT
 CLASS="LITERAL"
 ><A
@@ -3648,9 +3928,9 @@ HREF="actions-file.html#BLOCK"
 >block</A
 ></TT
 >
-    action, i.e. it can be used to block ads and banners. But the mechanism 
-    works quite differently. One effective use, is to block ad banners 
-    based on their size (see below), since many of these seem to be somewhat 
+    action, i.e. it can be used to block ads and banners. But the mechanism
+    works quite differently. One effective use, is to block ad banners
+    based on their size (see below), since many of these seem to be somewhat
     standardized.
    </P
 ><P
@@ -3680,7 +3960,7 @@ CLASS="FILENAME"
   See <A
 HREF="filter-file.html#PREDEFINED-FILTERS"
 >the Predefined Filters section</A
-> for 
+> for
   more explanation on each:</DT
 ><DD
 ><P
@@ -3688,7 +3968,8 @@ HREF="filter-file.html#PREDEFINED-FILTERS"
 NAME="FILTER-JS-ANNOYANCES"
 ></A
 >
-    <TABLE
+   </P
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="90%"
@@ -3700,14 +3981,13 @@ CLASS="SCREEN"
 ></TD
 ></TR
 ></TABLE
->
-   </P
 ><P
 >    <A
 NAME="FILTER-JS-EVENTS"
 ></A
 >
-    <TABLE
+   </P
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="90%"
@@ -3715,18 +3995,17 @@ WIDTH="90%"
 ><TD
 ><PRE
 CLASS="SCREEN"
->+filter{js-events}           # Kill all JS event bindings and timers (Radically destructive! Only for extra nasty sites).</PRE
+>+filter{js-events}           # Kill JavaScript event bindings and timers (Radically destructive! Only for extra nasty sites).</PRE
 ></TD
 ></TR
 ></TABLE
->
-   </P
 ><P
 >    <A
 NAME="FILTER-HTML-ANNOYANCES"
 ></A
 >
-    <TABLE
+   </P
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="90%"
@@ -3738,14 +4017,13 @@ CLASS="SCREEN"
 ></TD
 ></TR
 ></TABLE
->
-   </P
 ><P
 >    <A
 NAME="FILTER-CONTENT-COOKIES"
 ></A
 >
-    <TABLE
+   </P
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="90%"
@@ -3757,14 +4035,13 @@ CLASS="SCREEN"
 ></TD
 ></TR
 ></TABLE
->
-   </P
 ><P
 >    <A
 NAME="FILTER-REFRESH-TAGS"
 ></A
 >
-    <TABLE
+   </P
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="90%"
@@ -3772,18 +4049,17 @@ WIDTH="90%"
 ><TD
 ><PRE
 CLASS="SCREEN"
->+filter{refresh-tags}        # Kill automatic refresh tags (for dial-on-demand setups).</PRE
+>+filter{refresh-tags}        # Kill automatic refresh tags if refresh time is larger than 9 seconds.</PRE
 ></TD
 ></TR
 ></TABLE
->
-   </P
 ><P
 >    <A
 NAME="FILTER-UNSOLICITED-POPUPS"
 ></A
 >
-    <TABLE
+   </P
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="90%"
@@ -3791,18 +4067,17 @@ WIDTH="90%"
 ><TD
 ><PRE
 CLASS="SCREEN"
->+filter{unsolicited-popups}  # Disable only unsolicited pop-up windows. Useful if your browser lacks this ability.</PRE
+>+filter{unsolicited-popups}  # Disable only unsolicited pop-up windows.</PRE
 ></TD
 ></TR
 ></TABLE
->
-   </P
 ><P
 >    <A
 NAME="FILTER-ALL-POPUPS"
 ></A
 >
-    <TABLE
+   </P
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="90%"
@@ -3810,18 +4085,17 @@ WIDTH="90%"
 ><TD
 ><PRE
 CLASS="SCREEN"
->+filter{all-popups}          # Kill all popups in JavaScript and HTML. Useful if your browser lacks this ability.</PRE
+>+filter{all-popups}          # Kill all popups in JavaScript and HTML.</PRE
 ></TD
 ></TR
 ></TABLE
->
-   </P
 ><P
 >    <A
 NAME="FILTER-IMG-REORDER"
 ></A
 >
-    <TABLE
+   </P
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="90%"
@@ -3833,14 +4107,13 @@ CLASS="SCREEN"
 ></TD
 ></TR
 ></TABLE
->
-   </P
 ><P
 >    <A
 NAME="FILTER-BANNERS-BY-SIZE"
 ></A
 >
-    <TABLE
+   </P
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="90%"
@@ -3852,14 +4125,13 @@ CLASS="SCREEN"
 ></TD
 ></TR
 ></TABLE
->
-   </P
 ><P
 >    <A
 NAME="FILTER-BANNERS-BY-LINK"
 ></A
 >
-    <TABLE
+   </P
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="90%"
@@ -3871,14 +4143,13 @@ CLASS="SCREEN"
 ></TD
 ></TR
 ></TABLE
->
-   </P
 ><P
 >    <A
 NAME="FILTER-WEBBUGS"
 ></A
 >
-    <TABLE
+   </P
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="90%"
@@ -3890,14 +4161,13 @@ CLASS="SCREEN"
 ></TD
 ></TR
 ></TABLE
->
-   </P
 ><P
 >    <A
 NAME="FILTER-TINY-TEXTFORMS"
 ></A
 >
-    <TABLE
+   </P
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="90%"
@@ -3909,14 +4179,13 @@ CLASS="SCREEN"
 ></TD
 ></TR
 ></TABLE
->
-   </P
 ><P
 >    <A
 NAME="FILTER-JUMPING-WINDOWS"
 ></A
 >
-    <TABLE
+   </P
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="90%"
@@ -3928,14 +4197,13 @@ CLASS="SCREEN"
 ></TD
 ></TR
 ></TABLE
->
-   </P
 ><P
 >    <A
 NAME="FILTER-FRAMESET-BORDERS"
 ></A
 >
-    <TABLE
+   </P
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="90%"
@@ -3947,14 +4215,31 @@ CLASS="SCREEN"
 ></TD
 ></TR
 ></TABLE
+><P
+>    <A
+NAME="FILTER-IFRAMES"
+></A
 >
    </P
+><TABLE
+BORDER="0"
+BGCOLOR="#E0E0E0"
+WIDTH="90%"
+><TR
+><TD
+><PRE
+CLASS="SCREEN"
+>+filter{iframes}             # Removes all detected iframes. Should only be enabled for individual sites.</PRE
+></TD
+></TR
+></TABLE
 ><P
 >    <A
 NAME="FILTER-DEMORONIZER"
 ></A
 >
-    <TABLE
+   </P
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="90%"
@@ -3966,14 +4251,13 @@ CLASS="SCREEN"
 ></TD
 ></TR
 ></TABLE
->
-   </P
 ><P
 >    <A
 NAME="FILTER-SHOCKWAVE-FLASH"
 ></A
 >
-    <TABLE
+   </P
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="90%"
@@ -3985,14 +4269,13 @@ CLASS="SCREEN"
 ></TD
 ></TR
 ></TABLE
->
-   </P
 ><P
 >    <A
 NAME="FILTER-QUICKTIME-KIOSKMODE"
 ></A
 >
-    <TABLE
+   </P
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="90%"
@@ -4004,14 +4287,13 @@ CLASS="SCREEN"
 ></TD
 ></TR
 ></TABLE
->
-   </P
 ><P
 >    <A
 NAME="FILTER-FUN"
 ></A
 >
-    <TABLE
+   </P
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="90%"
@@ -4023,14 +4305,13 @@ CLASS="SCREEN"
 ></TD
 ></TR
 ></TABLE
->
-   </P
 ><P
 >    <A
 NAME="FILTER-CRUDE-PARENTAL"
 ></A
 >
-    <TABLE
+   </P
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="90%"
@@ -4042,14 +4323,13 @@ CLASS="SCREEN"
 ></TD
 ></TR
 ></TABLE
->
-   </P
 ><P
 >    <A
 NAME="FILTER-IE-EXPLOITS"
 ></A
 >
-    <TABLE
+   </P
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="90%"
@@ -4061,14 +4341,13 @@ CLASS="SCREEN"
 ></TD
 ></TR
 ></TABLE
->
-   </P
 ><P
 >    <A
 NAME="FILTER-SITE-SPECIFICS"
 ></A
 >
-    <TABLE
+   </P
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="90%"
@@ -4080,14 +4359,13 @@ CLASS="SCREEN"
 ></TD
 ></TR
 ></TABLE
->
-   </P
 ><P
 >    <A
 NAME="FILTER-NO-PING"
 ></A
 >
-    <TABLE
+   </P
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="90%"
@@ -4099,14 +4377,13 @@ CLASS="SCREEN"
 ></TD
 ></TR
 ></TABLE
->
-   </P
 ><P
 >    <A
 NAME="FILTER-GOOGLE"
 ></A
 >
-    <TABLE
+   </P
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="90%"
@@ -4118,14 +4395,13 @@ CLASS="SCREEN"
 ></TD
 ></TR
 ></TABLE
->
-   </P
 ><P
 >    <A
 NAME="FILTER-YAHOO"
 ></A
 >
-    <TABLE
+   </P
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="90%"
@@ -4137,14 +4413,13 @@ CLASS="SCREEN"
 ></TD
 ></TR
 ></TABLE
->
-   </P
 ><P
 >    <A
 NAME="FILTER-MSN"
 ></A
 >
-    <TABLE
+   </P
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="90%"
@@ -4156,14 +4431,13 @@ CLASS="SCREEN"
 ></TD
 ></TR
 ></TABLE
->
-   </P
 ><P
 >    <A
 NAME="FILTER-BLOGSPOT"
 ></A
 >
-    <TABLE
+   </P
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="90%"
@@ -4175,8 +4449,6 @@ CLASS="SCREEN"
 ></TD
 ></TR
 ></TABLE
->
-   </P
 ></DD
 ></DL
 ></DIV
@@ -4187,7 +4459,7 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="FORCE-TEXT-MODE"
->8.5.16. force-text-mode</A
+>8.5.17. force-text-mode</A
 ></H4
 ><P
 ></P
@@ -4294,8 +4566,7 @@ ALIGN="LEFT"
 ><DT
 >Example usage:</DT
 ><DD
-><P
->     <TABLE
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="90%"
@@ -4308,8 +4579,6 @@ CLASS="SCREEN"
 ></TD
 ></TR
 ></TABLE
->
-   </P
 ></DD
 ></DL
 ></DIV
@@ -4320,7 +4589,7 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="FORWARD-OVERRIDE"
->8.5.17. forward-override</A
+>8.5.18. forward-override</A
 ></H4
 ><P
 ></P
@@ -4344,7 +4613,7 @@ CLASS="VARIABLELIST"
 >Type:</DT
 ><DD
 ><P
->Multi-value.</P
+>Parameterized.</P
 ></DD
 ><DT
 >Parameter:</DT
@@ -4408,6 +4677,35 @@ CLASS="QUOTE"
       for socks5 connections (with remote DNS resolution).
      </P
 ></LI
+><LI
+><P
+>      <SPAN
+CLASS="QUOTE"
+>"forward-webserver 127.0.0.1:80"</SPAN
+> to use the HTTP
+      server listening at 127.0.0.1 port 80 without adjusting the
+      request headers.
+     </P
+><P
+>      This makes it more convenient to use Privoxy to make
+      existing websites available as onion services as well.
+     </P
+><P
+>      Many websites serve content with hardcoded URLs and
+      can't be easily adjusted to change the domain based
+      on the one used by the client.
+     </P
+><P
+>      Putting Privoxy between Tor and the webserver (or an stunnel
+      that forwards to the webserver) allows to rewrite headers and
+      content to make client and server happy at the same time.
+     </P
+><P
+>      Using Privoxy for webservers that are only reachable through
+      onion addresses and whose location is supposed to be secret
+      is not recommended and should not be necessary anyway.
+     </P
+></LI
 ></UL
 ></DD
 ><DT
@@ -4451,7 +4749,8 @@ HREF="config.html#FORWARDING"
 ><P
 >     If the ports are missing or invalid, default values will be used. This might change
      in the future and you shouldn't rely on it. Otherwise incorrect syntax causes Privoxy
-     to exit.
+     to exit. Due to design limitations, invalid parameter syntax isn't detected until the
+     action is used the first time.
     </P
 ><P
 >     Use the <A
@@ -4469,8 +4768,7 @@ TARGET="_top"
 ><DT
 >Example usage:</DT
 ><DD
-><P
->     <TABLE
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="90%"
@@ -4478,18 +4776,20 @@ WIDTH="90%"
 ><TD
 ><PRE
 CLASS="SCREEN"
-># Always use direct connections for requests previously tagged as
+># Use an ssh tunnel for requests previously tagged as
 # <SPAN
 CLASS="QUOTE"
 >"User-Agent: fetch libfetch/2.0"</SPAN
 > and make sure
 # resuming downloads continues to work.
+#
 # This way you can continue to use Tor for your normal browsing,
 # without overloading the Tor network with your FreeBSD ports updates
 # or downloads of bigger files like ISOs.
+#
 # Note that HTTP headers are easy to fake and therefore their
 # values are as (un)trustworthy as your clients and users.
-{+forward-override{forward .} \
+{+forward-override{forward-socks5 10.0.0.2:2222 .} \
  -hide-if-modified-since      \
  -overwrite-last-modified     \
 }
@@ -4497,9 +4797,7 @@ TAG:^User-Agent: fetch libfetch/2\.0$
      </PRE
 ></TD
 ></TR
-></TABLE
->
-   </P
+></TABLE
 ></DD
 ></DL
 ></DIV
@@ -4510,7 +4808,7 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="HANDLE-AS-EMPTY-DOCUMENT"
->8.5.18. handle-as-empty-document</A
+>8.5.19. handle-as-empty-document</A
 ></H4
 ><P
 ></P
@@ -4605,8 +4903,7 @@ HREF="actions-file.html#CONTENT-TYPE-OVERWRITE"
 ><DT
 >Example usage:</DT
 ><DD
-><P
->     <TABLE
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="90%"
@@ -4615,15 +4912,13 @@ WIDTH="90%"
 ><PRE
 CLASS="SCREEN"
 ># Block all documents on example.org that end with ".js",
-# but send an empty document instead of the usual HTML message. 
+# but send an empty document instead of the usual HTML message.
 {+block{Blocked JavaScript} +handle-as-empty-document}
 example.org/.*\.js$
      </PRE
 ></TD
 ></TR
 ></TABLE
->
-   </P
 ></DD
 ></DL
 ></DIV
@@ -4634,7 +4929,7 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="HANDLE-AS-IMAGE"
->8.5.19. handle-as-image</A
+>8.5.20. handle-as-image</A
 ></H4
 ><P
 ></P
@@ -4707,7 +5002,7 @@ CLASS="FILENAME"
 >default.action</TT
 >.
     It marks all URLs with well-known image file name extensions as images and should
-    be left intact. 
+    be left intact.
    </P
 ><P
 >    Users will probably only want to use the handle-as-image action in conjunction with
@@ -4733,8 +5028,7 @@ CLASS="LITERAL"
 ><DT
 >Example usage (sections):</DT
 ><DD
-><P
->     <TABLE
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="90%"
@@ -4755,8 +5049,6 @@ nasty-banner-server.example.com/junk.cgi\?output=trash</PRE
 ></TD
 ></TR
 ></TABLE
->
-   </P
 ></DD
 ></DL
 ></DIV
@@ -4767,7 +5059,7 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="HIDE-ACCEPT-LANGUAGE"
->8.5.20. hide-accept-language</A
+>8.5.21. hide-accept-language</A
 ></H4
 ><P
 ></P
@@ -4849,14 +5141,13 @@ CLASS="QUOTE"
     to a rare language, you should consider that it helps to
     make your requests unique and thus easier to trace.
     If you don't plan to change this header frequently,
-    you should stick to a common language. 
+    you should stick to a common language.
    </P
 ></DD
 ><DT
 >Example usage (section):</DT
 ><DD
-><P
->     <TABLE
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="90%"
@@ -4872,8 +5163,6 @@ CLASS="SCREEN"
 ></TD
 ></TR
 ></TABLE
->
-   </P
 ></DD
 ></DL
 ></DIV
@@ -4884,7 +5173,7 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="HIDE-CONTENT-DISPOSITION"
->8.5.21. hide-content-disposition</A
+>8.5.22. hide-content-disposition</A
 ></H4
 ><P
 ></P
@@ -4976,8 +5265,7 @@ CLASS="QUOTE"
 ><DT
 >Example usage:</DT
 ><DD
-><P
->     <TABLE
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="90%"
@@ -4993,8 +5281,6 @@ CLASS="SCREEN"
 ></TD
 ></TR
 ></TABLE
->
-   </P
 ></DD
 ></DL
 ></DIV
@@ -5005,7 +5291,7 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="HIDE-IF-MODIFIED-SINCE"
->8.5.22. hide-if-modified-since</A
+>8.5.23. hide-if-modified-since</A
 ></H4
 ><P
 ></P
@@ -5025,7 +5311,7 @@ CLASS="VARIABLELIST"
 >    Deletes the <SPAN
 CLASS="QUOTE"
 >"If-Modified-Since:"</SPAN
-> HTTP client header or modifies its value. 
+> HTTP client header or modifies its value.
    </P
 ></DD
 ><DT
@@ -5102,8 +5388,7 @@ HREF="actions-file.html#CRUNCH-IF-NONE-MATCH"
 ><DT
 >Example usage (section):</DT
 ><DD
-><P
->     <TABLE
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="90%"
@@ -5119,8 +5404,6 @@ CLASS="SCREEN"
 ></TD
 ></TR
 ></TABLE
->
-   </P
 ></DD
 ></DL
 ></DIV
@@ -5131,7 +5414,7 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="HIDE-FROM-HEADER"
->8.5.23. hide-from-header</A
+>8.5.24. hide-from-header</A
 ></H4
 ><P
 ></P
@@ -5178,7 +5461,7 @@ CLASS="QUOTE"
 >    The keyword <SPAN
 CLASS="QUOTE"
 >"block"</SPAN
-> will completely remove the header 
+> will completely remove the header
     (not to be confused with the <TT
 CLASS="LITERAL"
 ><A
@@ -5204,8 +5487,7 @@ CLASS="QUOTE"
 ><DT
 >Example usage:</DT
 ><DD
-><P
->    <TABLE
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="90%"
@@ -5217,8 +5499,9 @@ CLASS="SCREEN"
 ></TD
 ></TR
 ></TABLE
-> or
-    <TABLE
+><P
+>or</P
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="90%"
@@ -5230,8 +5513,6 @@ CLASS="SCREEN"
 ></TD
 ></TR
 ></TABLE
->
-   </P
 ></DD
 ></DL
 ></DIV
@@ -5242,7 +5523,7 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="HIDE-REFERRER"
->8.5.24. hide-referrer</A
+>8.5.25. hide-referrer</A
 ></H4
 ><A
 NAME="HIDE-REFERER"
@@ -5356,8 +5637,7 @@ CLASS="LITERAL"
     are on the same host. Most of the time that's the case.
    </P
 ><P
->  
-    <TT
+>    <TT
 CLASS="LITERAL"
 >hide-referer</TT
 > is an alternate spelling of
@@ -5373,14 +5653,13 @@ CLASS="QUOTE"
     requires it to be spelled as <SPAN
 CLASS="QUOTE"
 >"referer"</SPAN
->.) 
+>.)
    </P
 ></DD
 ><DT
 >Example usage:</DT
 ><DD
-><P
->     <TABLE
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="90%"
@@ -5392,8 +5671,9 @@ CLASS="SCREEN"
 ></TD
 ></TR
 ></TABLE
-> or
-     <TABLE
+><P
+>or</P
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="90%"
@@ -5405,8 +5685,6 @@ CLASS="SCREEN"
 ></TD
 ></TR
 ></TABLE
->
-   </P
 ></DD
 ></DL
 ></DIV
@@ -5417,7 +5695,7 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="HIDE-USER-AGENT"
->8.5.25. hide-user-agent</A
+>8.5.26. hide-user-agent</A
 ></H4
 ><P
 ></P
@@ -5485,7 +5763,7 @@ CLASS="EMPHASIS"
 >NOT</I
 ></SPAN
 > the right thing to do: good web sites
-     work browser-independently). 
+     work browser-independently).
     </P
 ></TD
 ></TR
@@ -5506,27 +5784,18 @@ CLASS="EMPHASIS"
 >. In single-user, single-browser
     setups, you might use it to delete your OS version information from
     the headers, because it is an invitation to exploit known bugs for your
-    OS. It is also occasionally useful to forge this in order to access 
-    sites that won't let you in otherwise (though there may be a good 
-    reason in some cases). Example of this: some MSN sites will not 
-    let <SPAN
-CLASS="APPLICATION"
->Mozilla</SPAN
-> enter, yet forging to a 
-    <SPAN
-CLASS="APPLICATION"
->Netscape 6.1</SPAN
-> user-agent works just fine.
-    (Must be just a silly MS goof, I'm sure :-).
+    OS. It is also occasionally useful to forge this in order to access
+    sites that won't let you in otherwise (though there may be a good
+    reason in some cases).
    </P
 ><P
->     More information on known user-agent strings can be found at 
+>     More information on known user-agent strings can be found at
      <A
 HREF="http://www.user-agents.org/"
 TARGET="_top"
 >http://www.user-agents.org/</A
 >
-     and 
+     and
      <A
 HREF="http://en.wikipedia.org/wiki/User_agent"
 TARGET="_top"
@@ -5537,8 +5806,7 @@ TARGET="_top"
 ><DT
 >Example usage:</DT
 ><DD
-><P
->     <TABLE
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="90%"
@@ -5550,8 +5818,6 @@ CLASS="SCREEN"
 ></TD
 ></TR
 ></TABLE
->
-   </P
 ></DD
 ></DL
 ></DIV
@@ -5562,7 +5828,7 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="LIMIT-CONNECT"
->8.5.26. limit-connect</A
+>8.5.27. limit-connect</A
 ></H4
 ><P
 ></P
@@ -5642,8 +5908,7 @@ CLASS="APPLICATION"
 ><DT
 >Example usages:</DT
 ><DD
-><P
->     <TABLE
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="90%"
@@ -5659,9 +5924,109 @@ CLASS="SCREEN"
 ></TD
 ></TR
 ></TABLE
->
+></DD
+></DL
+></DIV
+></DIV
+><DIV
+CLASS="SECT3"
+><H4
+CLASS="SECT3"
+><A
+NAME="LIMIT-COOKIE-LIFETIME"
+>8.5.28. limit-cookie-lifetime</A
+></H4
+><P
+></P
+><DIV
+CLASS="VARIABLELIST"
+><DL
+><DT
+>Typical use:</DT
+><DD
+><P
+>Limit the lifetime of HTTP cookies to a couple of minutes or hours.</P
+></DD
+><DT
+>Effect:</DT
+><DD
+><P
+>    Overwrites the expires field in Set-Cookie server headers if it's above the specified limit.
+   </P
+></DD
+><DT
+>Type:</DT
+><DD
+><P
+>Parameterized.</P
+></DD
+><DT
+>Parameter:</DT
+><DD
+><P
+>    The lifetime limit in minutes, or 0.
+   </P
+></DD
+><DT
+>Notes:</DT
+><DD
+><P
+>    This action reduces the lifetime of HTTP cookies coming from the
+    server to the specified number of minutes, starting from the time
+    the cookie passes Privoxy.
+   </P
+><P
+>    Cookies with a lifetime below the limit are not modified.
+    The lifetime of session cookies is set to the specified limit.
+   </P
+><P
+>    The effect of this action depends on the server.
+   </P
+><P
+>    In case of servers which refresh their cookies with each response
+    (or at least frequently), the lifetime limit set by this action
+    is updated as well.
+    Thus, a session associated with the cookie continues to work with
+    this action enabled, as long as a new request is made before the
+    last limit set is reached.
+   </P
+><P
+>    However, some servers send their cookies once, with a lifetime of several
+    years (the year 2037 is a popular choice), and do not refresh them
+    until a certain event in the future, for example the user logging out.
+    In this case this action may limit the absolute lifetime of the session,
+    even if requests are made frequently.
+   </P
+><P
+>    If the parameter is <SPAN
+CLASS="QUOTE"
+>"0"</SPAN
+>, this action behaves like
+    <TT
+CLASS="LITERAL"
+><A
+HREF="actions-file.html#SESSION-COOKIES-ONLY"
+>session-cookies-only</A
+></TT
+>.
    </P
 ></DD
+><DT
+>Example usages:</DT
+><DD
+><TABLE
+BORDER="0"
+BGCOLOR="#E0E0E0"
+WIDTH="90%"
+><TR
+><TD
+><PRE
+CLASS="SCREEN"
+>+limit-cookie-lifetime{60}</PRE
+></TD
+></TR
+></TABLE
+></DD
 ></DL
 ></DIV
 ></DIV
@@ -5671,7 +6036,7 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="PREVENT-COMPRESSION"
->8.5.27. prevent-compression</A
+>8.5.29. prevent-compression</A
 ></H4
 ><P
 ></P
@@ -5748,7 +6113,7 @@ CLASS="APPLICATION"
 ><P
 >    Most text-based instances compress very well, the size is seldom decreased by less than 50%,
     for markup-heavy instances like news feeds saving more than 90% of the original size isn't
-    unusual. 
+    unusual.
    </P
 ><P
 >    Not using compression will therefore slow down the transfer, and you should only
@@ -5772,8 +6137,7 @@ CLASS="LITERAL"
 ><DT
 >Example usage (sections):</DT
 ><DD
-><P
->    <TABLE
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="90%"
@@ -5801,8 +6165,6 @@ CLASS="SCREEN"
 ></TD
 ></TR
 ></TABLE
->
-   </P
 ></DD
 ></DL
 ></DIV
@@ -5813,7 +6175,7 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="OVERWRITE-LAST-MODIFIED"
->8.5.28. overwrite-last-modified</A
+>8.5.30. overwrite-last-modified</A
 ></H4
 ><P
 ></P
@@ -5833,7 +6195,7 @@ CLASS="VARIABLELIST"
 >    Deletes the <SPAN
 CLASS="QUOTE"
 >"Last-Modified:"</SPAN
-> HTTP server header or modifies its value. 
+> HTTP server header or modifies its value.
    </P
 ></DD
 ><DT
@@ -5892,7 +6254,7 @@ CLASS="QUOTE"
 CLASS="QUOTE"
 >"Randomize"</SPAN
 >
-    makes it impossible and the browser can still revalidate cached documents. 
+    makes it impossible and the browser can still revalidate cached documents.
    </P
 ><P
 >    <SPAN
@@ -5932,7 +6294,7 @@ HREF="actions-file.html#HIDE-IF-MODIFIED-SINCE"
 >hided-if-modified-since</A
 ></TT
 >,
-    just to be sure. 
+    just to be sure.
    </P
 ><P
 >    It is also recommended to use this action together with
@@ -5948,8 +6310,7 @@ HREF="actions-file.html#CRUNCH-IF-NONE-MATCH"
 ><DT
 >Example usage:</DT
 ><DD
-><P
->     <TABLE
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="90%"
@@ -5965,8 +6326,6 @@ CLASS="SCREEN"
 ></TD
 ></TR
 ></TABLE
->
-   </P
 ></DD
 ></DL
 ></DIV
@@ -5977,7 +6336,7 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="REDIRECT"
->8.5.29. redirect</A
+>8.5.31. redirect</A
 ></H4
 ><P
 ></P
@@ -6022,15 +6381,28 @@ CLASS="VARIABLELIST"
     single pcrs command to the original URL.
    </P
 ><P
->    This action will be ignored if you use it together with
+>    The syntax for pcrs commands is documented in the
+    <A
+HREF="filter-file.html"
+>filter file</A
+> section.
+   </P
+><P
+>    Requests can't be blocked and redirected at the same time,
+    applying this action together with
     <TT
 CLASS="LITERAL"
 ><A
 HREF="actions-file.html#BLOCK"
 >block</A
 ></TT
->.
-    It can be combined with
+>
+    is a configuration error. Currently the request is blocked
+    and an error message logged, the behavior may change in the
+    future and result in Privoxy rejecting the action file.
+   </P
+><P
+>    This action can be combined with
     <TT
 CLASS="LITERAL"
 ><A
@@ -6056,8 +6428,7 @@ HREF="config.html#DEBUG"
 ><DT
 >Example usages:</DT
 ><DD
-><P
->    <TABLE
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="90%"
@@ -6070,11 +6441,11 @@ CLASS="SCREEN"
  example.com/stylesheet\.css
 
 # Create a short, easy to remember nickname for a favorite site
-# (relies on the browser accept and forward invalid URLs to <SPAN
+# (relies on the browser to accept and forward invalid URLs to <SPAN
 CLASS="APPLICATION"
 >Privoxy</SPAN
 >)
-{ +redirect{http://www.privoxy.org/user-manual/actions-file.html} }
+{ +redirect{https://www.privoxy.org/user-manual/actions-file.html} }
  a
 
 # Always use the expanded view for Undeadly.org articles
@@ -6091,6 +6462,19 @@ undeadly.org/cgi\?action=article&#38;sid=\d*$
 {+redirect{s@^http://[^/]*/results\.aspx\?q=([^&#38;]*).*@http://search.yahoo.com/search?p=$1@}}
 search.msn.com//results\.aspx\?q=
 
+# Redirect http://example.com/&#38;bla=fasel&#38;toChange=foo (and any other value but "bar")
+# to       http://example.com/&#38;bla=fasel&#38;toChange=bar
+#
+# The URL pattern makes sure that the following request isn't redirected again.
+{+redirect{s@toChange=[^&#38;]+@toChange=bar@}}
+example.com/.*toChange=(?!bar)
+
+# Add a shortcut to look up illumos bugs
+{+redirect{s@^http://i([0-9]+)/.*@https://www.illumos.org/issues/$1@}}
+# Redirected URL = http://i4974/
+# Redirect Destination = https://www.illumos.org/issues/4974
+i[0-9][0-9][0-9][0-9]*/
+
 # Redirect remote requests for this manual
 # to the local version delivered by Privoxy
 {+redirect{s@^http://www@http://config@}}
@@ -6098,8 +6482,6 @@ www.privoxy.org/user-manual/</PRE
 ></TD
 ></TR
 ></TABLE
->
-   </P
 ></DD
 ></DL
 ></DIV
@@ -6110,7 +6492,7 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="SERVER-HEADER-FILTER"
->8.5.30. server-header-filter</A
+>8.5.32. server-header-filter</A
 ></H4
 ><P
 ></P
@@ -6136,7 +6518,7 @@ CLASS="VARIABLELIST"
 >Type:</DT
 ><DD
 ><P
->Parameterized.</P
+>Multi-value.</P
 ></DD
 ><DT
 >Parameter:</DT
@@ -6174,8 +6556,7 @@ HREF="filter-file.html"
 ><DT
 >Example usage (section):</DT
 ><DD
-><P
->     <TABLE
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="90%"
@@ -6192,8 +6573,6 @@ example.org/instance-that-is-delivered-as-xml-but-is-not
 ></TD
 ></TR
 ></TABLE
->
-    </P
 ></DD
 ></DL
 ></DIV
@@ -6204,7 +6583,7 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="SERVER-HEADER-TAGGER"
->8.5.31. server-header-tagger</A
+>8.5.33. server-header-tagger</A
 ></H4
 ><P
 ></P
@@ -6231,7 +6610,7 @@ CLASS="VARIABLELIST"
 >Type:</DT
 ><DD
 ><P
->Parameterized.</P
+>Multi-value.</P
 ></DD
 ><DT
 >Parameter:</DT
@@ -6276,8 +6655,7 @@ HREF="actions-file.html#BLOCK"
 ><DT
 >Example usage (section):</DT
 ><DD
-><P
->     <TABLE
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="90%"
@@ -6288,12 +6666,23 @@ CLASS="SCREEN"
 ># Tag every request with the content type declared by the server
 {+server-header-tagger{content-type}}
 /
-    </PRE
+
+# If the response has a tag starting with 'image/' enable an external
+# filter that only applies to images.
+#
+# Note that the filter is not available by default, it's just a
+# <TT
+CLASS="LITERAL"
+><A
+HREF="filter-file.html#EXTERNAL-FILTER-SYNTAX"
+>silly example</A
+></TT
+>.
+{+external-filter{rotate-image} +force-text-mode}
+TAG:^image/</PRE
 ></TD
 ></TR
 ></TABLE
->
-    </P
 ></DD
 ></DL
 ></DIV
@@ -6304,7 +6693,7 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="SESSION-COOKIES-ONLY"
->8.5.32. session-cookies-only</A
+>8.5.34. session-cookies-only</A
 ></H4
 ><P
 ></P
@@ -6325,7 +6714,7 @@ CLASS="emphasis"
 CLASS="EMPHASIS"
 >only</I
 ></SPAN
->). 
+>).
    </P
 ></DD
 ><DT
@@ -6366,7 +6755,7 @@ CLASS="LITERAL"
 HREF="actions-file.html#CRUNCH-INCOMING-COOKIES"
 >crunch-incoming-cookies</A
 ></TT
-> / 
+> /
     <TT
 CLASS="LITERAL"
 ><A
@@ -6383,7 +6772,7 @@ CLASS="LITERAL"
 >session-cookies-only</TT
 > and will forget about them between sessions.
     This makes profiling cookies useless, but won't break sites which require cookies so
-    that you can log in for transactions. This is generally turned on for all 
+    that you can log in for transactions. This is generally turned on for all
     sites, and is the recommended setting.
    </P
 ><P
@@ -6432,12 +6821,12 @@ CLASS="APPLICATION"
 >     <SPAN
 CLASS="APPLICATION"
 >Privoxy</SPAN
-> also uses  
+> also uses
      the <A
 HREF="actions-file.html#FILTER-CONTENT-COOKIES"
 >content-cookies filter</A
-> 
-     to block some types of cookies. Content cookies are not effected by 
+>
+     to block some types of cookies. Content cookies are not effected by
      <TT
 CLASS="LITERAL"
 >session-cookies-only</TT
@@ -6447,8 +6836,7 @@ CLASS="LITERAL"
 ><DT
 >Example usage:</DT
 ><DD
-><P
->     <TABLE
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="90%"
@@ -6460,8 +6848,6 @@ CLASS="SCREEN"
 ></TD
 ></TR
 ></TABLE
->
-   </P
 ></DD
 ></DL
 ></DIV
@@ -6472,7 +6858,7 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="SET-IMAGE-BLOCKER"
->8.5.33. set-image-blocker</A
+>8.5.35. set-image-blocker</A
 ></H4
 ><P
 ></P
@@ -6590,7 +6976,7 @@ CLASS="REPLACEABLE"
       to any image anywhere, even in your local filesystem via <SPAN
 CLASS="QUOTE"
 >"file:///"</SPAN
-> URL. 
+> URL.
       (But note that not all browsers support redirecting to a local file system).
      </P
 ><P
@@ -6670,8 +7056,7 @@ HREF="filter-file.html"
 ><P
 >    Built-in pattern:
    </P
-><P
->    <TABLE
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="90%"
@@ -6683,13 +7068,10 @@ CLASS="SCREEN"
 ></TD
 ></TR
 ></TABLE
->
-   </P
 ><P
 >    Redirect to the BSD daemon:
    </P
-><P
->    <TABLE
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="90%"
@@ -6701,13 +7083,10 @@ CLASS="SCREEN"
 ></TD
 ></TR
 ></TABLE
->
-   </P
 ><P
 >    Redirect to the built-in pattern for better caching:
    </P
-><P
->    <TABLE
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="90%"
@@ -6719,8 +7098,6 @@ CLASS="SCREEN"
 ></TD
 ></TR
 ></TABLE
->
-   </P
 ></DD
 ></DL
 ></DIV
@@ -6730,13 +7107,13 @@ CLASS="SECT3"
 ><H3
 CLASS="SECT3"
 ><A
-NAME="AEN4460"
->8.5.34. Summary</A
+NAME="SUMMARY"
+>8.5.36. Summary</A
 ></H3
 ><P
 > Note that many of these actions have the potential to cause a page to
- misbehave, possibly even not to display at all. There are many ways 
- a site designer may choose to design his site, and what HTTP header 
+ misbehave, possibly even not to display at all. There are many ways
+ a site designer may choose to design his site, and what HTTP header
  content, and other criteria, he may depend on. There is no way to have hard
  and fast rules for all sites. See the <A
 HREF="appendix.html#ACTIONSANAT"
@@ -6781,7 +7158,7 @@ CLASS="QUOTE"
 CLASS="emphasis"
 ><I
 CLASS="EMPHASIS"
->strongly 
+>strongly
  recommend</I
 ></SPAN
 > that you only use <SPAN
@@ -6857,8 +7234,7 @@ CLASS="APPLICATION"
  with it.</P
 ><P
 > Now let's define some aliases...</P
-><P
-> <TABLE
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="100%"
@@ -6931,16 +7307,14 @@ HREF="actions-file.html#FILTER-ALL-POPUPS"
 ></TD
 ></TR
 ></TABLE
-></P
 ><P
-> ...and put them to use. These sections would appear in the lower part of an 
+> ...and put them to use. These sections would appear in the lower part of an
  actions file and define exceptions to the default actions (as specified further
  up for the <SPAN
 CLASS="QUOTE"
 >"/"</SPAN
 > pattern):</P
-><P
-> <TABLE
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="100%"
@@ -6959,7 +7333,7 @@ CLASS="SCREEN"
 
  # Shopping sites:
  # Allow cookies (for setting and retrieving your customer data)
- #           
+ #
  {shop}
  .quietpc.com
  .worldpay.com   # for quietpc.com
@@ -6973,7 +7347,6 @@ CLASS="SCREEN"
 ></TD
 ></TR
 ></TABLE
-></P
 ><P
 > Aliases like <SPAN
 CLASS="QUOTE"
@@ -6981,11 +7354,11 @@ CLASS="QUOTE"
 > and <SPAN
 CLASS="QUOTE"
 >"fragile"</SPAN
-> are typically used for 
+> are typically used for
  <SPAN
 CLASS="QUOTE"
 >"problem"</SPAN
-> sites that require more than one action to be disabled 
+> sites that require more than one action to be disabled
  in order to function properly.</P
 ></DIV
 ><DIV
@@ -7032,7 +7405,7 @@ CLASS="SECT3"
 ><H3
 CLASS="SECT3"
 ><A
-NAME="AEN4524"
+NAME="MATCH-ALL"
 >8.7.1. match-all.action</A
 ></H3
 ><P
@@ -7093,8 +7466,7 @@ CLASS="QUOTE"
 > disables!).
  Also note how this long line has been made more readable by splitting it into
  multiple lines with line continuation.</P
-><P
-> <TABLE
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="100%"
@@ -7121,7 +7493,6 @@ HREF="actions-file.html#SET-IMAGE-BLOCKER"
 ></TD
 ></TR
 ></TABLE
-></P
 ><P
 > The default behavior is now set.</P
 ></DIV
@@ -7130,7 +7501,7 @@ CLASS="SECT3"
 ><H3
 CLASS="SECT3"
 ><A
-NAME="AEN4546"
+NAME="DEFAULT-ACTION"
 >8.7.2. default.action</A
 ></H3
 ><P
@@ -7162,8 +7533,7 @@ CLASS="FILENAME"
 CLASS="APPLICATION"
 >Privoxy</SPAN
 > versions from reading the file:</P
-><P
-> <TABLE
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="100%"
@@ -7179,7 +7549,6 @@ for-privoxy-version=3.0.11</PRE
 ></TD
 ></TR
 ></TABLE
-></P
 ><P
 > After that comes the (optional) alias section. We'll use the example
  section from the above <A
@@ -7187,8 +7556,7 @@ HREF="actions-file.html#ALIASES"
 >chapter on aliases</A
 >,
  that also explains why and how aliases are used:</P
-><P
-> <TABLE
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="100%"
@@ -7250,7 +7618,6 @@ HREF="actions-file.html#FILTER-ALL-POPUPS"
 ></TD
 ></TR
 ></TABLE
-></P
 ><P
 > The first of our specialized sections is concerned with <SPAN
 CLASS="QUOTE"
@@ -7258,14 +7625,13 @@ CLASS="QUOTE"
 >
  sites, i.e. sites that require minimum interference, because they are either
  very complex or very keen on tracking you (and have mechanisms in place that
- make them unusable for people who avoid being tracked). We will simply use
+ make them unusable for people who avoid being tracked). We will use
  our pre-defined <TT
 CLASS="LITERAL"
 >fragile</TT
 > alias instead of stating the list
  of actions explicitly:</P
-><P
-> <TABLE
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="100%"
@@ -7286,13 +7652,11 @@ mail.google.com</PRE
 ></TD
 ></TR
 ></TABLE
-></P
 ><P
 > Shopping sites are not as fragile, but they typically
  require cookies to log in, and pop-up windows for shopping
  carts or item details. Again, we'll use a pre-defined alias:</P
-><P
-> <TABLE
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="100%"
@@ -7303,14 +7667,13 @@ CLASS="SCREEN"
 ># Shopping sites:
 #
 { shop }
-.quietpc.com 
+.quietpc.com
 .worldpay.com   # for quietpc.com
 .jungle.com
 .scan.co.uk</PRE
 ></TD
 ></TR
 ></TABLE
-></P
 ><P
 > The <TT
 CLASS="LITERAL"
@@ -7324,8 +7687,7 @@ CLASS="FILENAME"
 >match-all.action</TT
 >,
  breaks some sites. So disable it for popular sites where we know it misbehaves:</P
-><P
-> <TABLE
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="100%"
@@ -7346,7 +7708,6 @@ edit.*.yahoo.com
 ></TD
 ></TR
 ></TABLE
-></P
 ><P
 > It is important that <SPAN
 CLASS="APPLICATION"
@@ -7372,8 +7733,7 @@ HREF="actions-file.html#HANDLE-AS-IMAGE"
 > action,
  and marking all URLs that end in a known image file extension is a
  good start:</P
-><P
-> <TABLE
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="100%"
@@ -7396,7 +7756,6 @@ HREF="actions-file.html#HANDLE-AS-IMAGE"
 ></TD
 ></TR
 ></TABLE
-></P
 ><P
 > And then there are known banner sources. They often use scripts to
  generate the banners, so it won't be visible from the URL that the
@@ -7440,8 +7799,7 @@ HREF="actions-file.html#SET-IMAGE-BLOCKER"
 >{pattern}</TT
 >
  action before, it still applies and needn't be repeated:</P
-><P
-> <TABLE
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="100%"
@@ -7452,7 +7810,7 @@ CLASS="SCREEN"
 ># Known ad generators:
 #
 { +block-as-image }
-ar.atwola.com 
+ar.atwola.com
 .ad.doubleclick.net
 .ad.*.doubleclick.net
 .a.yimg.com/(?:(?!/i/).)*$
@@ -7462,7 +7820,6 @@ bs*.gsanet.com
 ></TD
 ></TR
 ></TABLE
-></P
 ><P
 > One of the most important jobs of <SPAN
 CLASS="APPLICATION"
@@ -7496,8 +7853,7 @@ HREF="actions-file.html#BLOCK"
  matching typical domain and path name components of banners. Then comes
  a list of individual patterns for specific sites, which is omitted here
  to keep the example short:</P
-><P
-> <TABLE
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="100%"
@@ -7514,7 +7870,7 @@ HREF="actions-file.html#BLOCK"
 > }
 
 # Generic patterns:
-# 
+#
 ad*.
 .*ads.
 banner?.
@@ -7528,7 +7884,6 @@ count*.
 ></TD
 ></TR
 ></TABLE
-></P
 ><P
 > It's quite remarkable how many advertisers actually call their banner
  servers ads.<TT
@@ -7537,7 +7892,7 @@ CLASS="REPLACEABLE"
 >company</I
 ></TT
 >.com, or call the directory
- in which the banners are stored simply <SPAN
+ in which the banners are stored literally <SPAN
 CLASS="QUOTE"
 >"banners"</SPAN
 >. So the above
@@ -7547,7 +7902,7 @@ CLASS="QUOTE"
  to block. The pattern <TT
 CLASS="LITERAL"
 >.*ads.</TT
-> e.g. catches 
+> e.g. catches
  <SPAN
 CLASS="QUOTE"
 >"nasty-<SPAN
@@ -7636,8 +7991,7 @@ HREF="actions-file.html#BLOCK"
 >block</A
 ></TT
 > action applying.</P
-><P
-> <TABLE
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="100%"
@@ -7650,7 +8004,7 @@ CLASS="SCREEN"
 ##########################################################################
 
 # By domain:
-# 
+#
 { -<A
 HREF="actions-file.html#BLOCK"
 >block</A
@@ -7673,7 +8027,6 @@ www.ugu.com/sui/ugu/adv</PRE
 ></TD
 ></TR
 ></TABLE
-></P
 ><P
 > Filtering source code can have nasty side effects,
  so make an exception for our friends at sourceforge.net,
@@ -7695,8 +8048,7 @@ CLASS="EMPHASIS"
 >all</I
 ></SPAN
 > filters in one fell swoop!</P
-><P
-> <TABLE
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="100%"
@@ -7718,7 +8070,6 @@ wiki.
 ></TD
 ></TR
 ></TABLE
-></P
 ><P
 > The actual <TT
 CLASS="FILENAME"
@@ -7731,24 +8082,24 @@ CLASS="SECT3"
 ><H3
 CLASS="SECT3"
 ><A
-NAME="AEN4659"
+NAME="USER-ACTION"
 >8.7.3. user.action</A
 ></H3
 ><P
 > So far we are painting with a broad brush by setting general policies,
- which would be a reasonable starting point for many people. Now, 
+ which would be a reasonable starting point for many people. Now,
  you might want to be more specific and have customized rules that
  are more suitable to your personal habits and preferences. These would
  be for narrowly defined situations like your ISP or your bank, and should
  be placed in <TT
 CLASS="FILENAME"
 >user.action</TT
->, which is parsed after all other 
+>, which is parsed after all other
  actions files and hence has the last word, over-riding any previously
  defined actions. <TT
 CLASS="FILENAME"
 >user.action</TT
-> is also a 
+> is also a
  <SPAN
 CLASS="emphasis"
 ><I
@@ -7770,9 +8121,8 @@ CLASS="APPLICATION"
  <TT
 CLASS="FILENAME"
 >user.action</TT
->: </P
-><P
-> <TABLE
+>:</P
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="100%"
@@ -7784,7 +8134,6 @@ CLASS="SCREEN"
 ></TD
 ></TR
 ></TABLE
-></P
 ><P
 > As <A
 HREF="actions-file.html#ALIASES"
@@ -7795,8 +8144,7 @@ HREF="actions-file.html#ALIASES"
 CLASS="FILENAME"
 >default.action</TT
 >, unless you repeat them here:</P
-><P
-> <TABLE
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="100%"
@@ -7808,8 +8156,8 @@ CLASS="SCREEN"
 # (Re-)define aliases for this file:
 #
 {{alias}}
-# 
-# These aliases just save typing later, and the alias names should 
+#
+# These aliases just save typing later, and the alias names should
 # be self explanatory.
 #
 +crunch-all-cookies = +crunch-incoming-cookies +crunch-outgoing-cookies
@@ -7847,7 +8195,6 @@ HREF="actions-file.html#HIDE-CONTENT-DISPOSITION"
 ></TD
 ></TR
 ></TABLE
->&#13;</P
 ><P
 > Say you have accounts on some sites that you visit regularly, and
  you don't want to have to log in manually each time. So you'd like
@@ -7856,10 +8203,9 @@ HREF="actions-file.html#HIDE-CONTENT-DISPOSITION"
 CLASS="LITERAL"
 >allow-all-cookies</TT
 > alias defined above does exactly
- that, i.e. it disables crunching of cookies in any direction, and the 
+ that, i.e. it disables crunching of cookies in any direction, and the
  processing of cookies to make them only temporary.</P
-><P
-> <TABLE
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="100%"
@@ -7875,11 +8221,9 @@ CLASS="SCREEN"
 ></TD
 ></TR
 ></TABLE
-></P
 ><P
 > Your bank is allergic to some filter, but you don't know which, so you disable them all:</P
-><P
-> <TABLE
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="100%"
@@ -7895,11 +8239,9 @@ HREF="actions-file.html#FILTER"
 ></TD
 ></TR
 ></TABLE
-></P
 ><P
 > Some file types you may not want to filter for various reasons:</P
-><P
-> <TABLE
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="100%"
@@ -7920,7 +8262,6 @@ stupid-server.example.com/</PRE
 ></TD
 ></TR
 ></TABLE
-></P
 ><P
 > Example of a simple <A
 HREF="actions-file.html#BLOCK"
@@ -7931,7 +8272,7 @@ HREF="actions-file.html#BLOCK"
 CLASS="QUOTE"
 >"copy image location"</SPAN
 >
- and pasted the URL below while removing the leading http://, into a 
+ and pasted the URL below while removing the leading http://, into a
  <TT
 CLASS="LITERAL"
 >{ +block{} }</TT
@@ -7945,8 +8286,7 @@ CLASS="LITERAL"
 >.gif</TT
 > will be tagged as images by the general rules as set
  in default.action anyway:</P
-><P
-> <TABLE
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="100%"
@@ -7963,7 +8303,6 @@ HREF="actions-file.html#BLOCK"
 ></TD
 ></TR
 ></TABLE
-></P
 ><P
 > The URLs of dynamically generated banners, especially from large banner
  farms, often don't use the well-known image file name extensions, which
@@ -7971,7 +8310,7 @@ HREF="actions-file.html#BLOCK"
 CLASS="APPLICATION"
 >Privoxy</SPAN
 > to guess
- the file type just by looking at the URL. 
+ the file type just by looking at the URL.
  You can use the <TT
 CLASS="LITERAL"
 >+block-as-image</TT
@@ -7983,8 +8322,7 @@ CLASS="QUOTE"
 >"broken image"</SPAN
 > icon by the
  browser. Use cautiously.</P
-><P
-> <TABLE
+><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="100%"
@@ -8000,7 +8338,6 @@ CLASS="SCREEN"
 ></TD
 ></TR
 ></TABLE
-></P
 ><P
 > Now you noticed that the default configuration breaks Forbes Magazine,
  but you were too lazy to find out which action is the culprit, and you
@@ -8027,9 +8364,8 @@ CLASS="LITERAL"
 CLASS="APPLICATION"
 >Privoxy</SPAN
 >
- that is causing the problem or not. We later find other regular sites 
+ that is causing the problem or not. We later find other regular sites
  that misbehave, and add those to our personalized list of troublemakers:</P
-><P
 ><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
@@ -8045,7 +8381,6 @@ CLASS="SCREEN"
 ></TD
 ></TR
 ></TABLE
-></P
 ><P
 > You like the <SPAN
 CLASS="QUOTE"
@@ -8057,7 +8392,6 @@ CLASS="FILENAME"
  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:</P
-><P
 ><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
@@ -8074,7 +8408,6 @@ HREF="actions-file.html#FILTER-FUN"
 ></TD
 ></TR
 ></TABLE
-></P
 ><P
 > Note that the above is not really a good idea: There are exceptions
  to the filters in <TT
@@ -8095,7 +8428,6 @@ CLASS="QUOTE"
  funded, and find that they rely on displaying banner advertisements
  to survive. So you might want to specifically allow banners for those
  sites that you feel provide value to you:</P
-><P
 ><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
@@ -8111,26 +8443,25 @@ CLASS="SCREEN"
 ></TD
 ></TR
 ></TABLE
->   </P
 ><P
 > Note that <TT
 CLASS="LITERAL"
 >allow-ads</TT
-> has been aliased to 
+> has been aliased to
  <TT
 CLASS="LITERAL"
 >-<A
 HREF="actions-file.html#BLOCK"
 >block</A
 ></TT
->, 
+>,
  <TT
 CLASS="LITERAL"
 >-<A
 HREF="actions-file.html#FILTER-BANNERS-BY-SIZE"
 >filter{banners-by-size}</A
 ></TT
->, and 
+>, and
  <TT
 CLASS="LITERAL"
 >-<A
@@ -8142,10 +8473,9 @@ HREF="actions-file.html#FILTER-BANNERS-BY-LINK"
 > Invoke another alias here to force an over-ride of the MIME type <TT
 CLASS="LITERAL"
 > application/x-sh</TT
-> which typically would open a download type 
+> which typically would open a download type
  dialog. In my case, I want to look at the shell script, and then I can save
  it should I choose to.</P
-><P
 ><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
@@ -8159,7 +8489,6 @@ CLASS="SCREEN"
 ></TD
 ></TR
 ></TABLE
->   </P
 ><P
 > <TT
 CLASS="FILENAME"
@@ -8186,7 +8515,6 @@ CLASS="QUOTE"
 >"/"</SPAN
 > of course matches all URL
  paths and patterns:</P
-><P
 ><TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
@@ -8203,7 +8531,6 @@ HREF="actions-file.html#SET-IMAGE-BLOCKER"
 ></TD
 ></TR
 ></TABLE
-></P
 ></DIV
 ></DIV
 ></DIV