1 # ********************************************************************
3 # File : $Source: /cvsroot/ijbswa/current/user.filter,v $
5 # $Id: user.filter,v 1.3 2008/05/21 20:17:03 fabiankeil Exp $
7 # Purpose : Rules to process the content of web pages
9 # Copyright : Written by and Copyright (C) 2006-2008 the
10 # Privoxy team. http://www.privoxy.org/
12 # We value your feedback. However, to provide you with the best support,
15 # * Use the support forum to get help:
16 # http://sourceforge.net/tracker/?group_id=11118&atid=211118
17 # * Submit bugs only thru our bug forum:
18 # http://sourceforge.net/tracker/?group_id=11118&atid=111118
19 # Make sure that the bug has not already been submitted. Please try
20 # to verify that it is a Privoxy bug, and not a browser or site
21 # bug first. If you are using your own custom configuration, please
22 # try the stock configs to see if the problem is a configuration
23 # related bug. And if not using the latest development snapshot,
24 # please try the latest one. Or even better, CVS sources.
25 # * Submit feature requests only thru our feature request forum:
26 # http://sourceforge.net/tracker/?atid=361118&group_id=11118&func=browse
28 # For any other issues, feel free to use the mailing lists:
29 # http://sourceforge.net/mail/?group_id=11118
31 # Anyone interested in actively participating in development and related
32 # discussions can join the appropriate mailing list here:
33 # http://sourceforge.net/mail/?group_id=11118. Archives are available
36 #################################################################################
40 # Generally filters start with a line like "FILTER: name description".
41 # They are then referrable from the actionsfile with +filter{name}
43 # FILTER marks a filter as content filter, other filter
44 # types are CLIENT-HEADER-FILTER, CLIENT-HEADER-TAGGER,
45 # SERVER-HEADER-FILTER and SERVER-HEADER-TAGGER.
47 # Inside the filters, write one Perl-Style substitution (job) per line.
48 # Jobs that precede the first FILTER: line are ignored.
50 # For Details see the pcrs manpage contained in this distribution.
51 # (and the perlre, perlop and pcre manpages)
53 # Note that you are free to choose the delimiter as you see fit.
55 # Note2: In addition to the Perl options gimsx, the following nonstandard
56 # options are supported:
58 # 'U' turns the default to ungreedy matching. Add ? to quantifiers to
59 # switch back to greedy.
61 # 'T' (trivial) prevents parsing for backreferences in the substitute.
62 # Use if you want to include text like '$&' in your substitute without
65 # 'D' (Dynamic) allows the use of variables. Supported variables are:
66 # $host, $origin (the IP address the request came from), $path and $url.
68 # Note that '$' is a bad choice as delimiter for dynamic filters as you
69 # might end up with unintended variables if you use a variable name
70 # directly after the delimiter. Variables will be resolved without
71 # escaping anything, therefore you also have to be careful not to chose
72 # delimiters that appear in the replacement text. For example '<' should
73 # be save, while '?' will sooner or later cause conflicts with $url.
75 #################################################################################