X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=doc%2Fsource%2Fuser-manual.sgml;h=e512472a4761ffff25be6a4b21064c58aa7e13e0;hp=3928054806d7632931e33783789c7d3c035fad46;hb=658087b23fc2ff3ddf195ab2092c5585e5cdfff0;hpb=1e978c46c5b5b21a8a283a9d62069cfc300ea0d1 diff --git a/doc/source/user-manual.sgml b/doc/source/user-manual.sgml index 39280548..e512472a 100644 --- a/doc/source/user-manual.sgml +++ b/doc/source/user-manual.sgml @@ -13,8 +13,8 @@ - - + + @@ -36,9 +36,7 @@ This file belongs into ijbswa.sourceforge.net:/home/groups/i/ij/ijbswa/htdocs/ - $Id: user-manual.sgml,v 2.212 2016/05/25 10:50:55 fabiankeil Exp $ - - Copyright (C) 2001-2016 Privoxy Developers https://www.privoxy.org/ + Copyright (C) 2001-2017 Privoxy Developers https://www.privoxy.org/ See LICENSE. ======================================================================== @@ -57,12 +55,12 @@ - Copyright &my-copy; 2001-2016 by + Copyright &my-copy; 2001-2017 by Privoxy Developers -$Id: user-manual.sgml,v 2.212 2016/05/25 10:50:55 fabiankeil Exp $ +$Id: user-manual.sgml,v 2.221 2017/05/20 09:27:54 fabiankeil Exp $ Edit -> Preferences -> Advanced -> Proxies -> HTTP Proxy - @@ -1413,7 +1407,6 @@ for details. (shortcut: http://p.p/), which is a built-in page and works without Internet access. You will see the following section: - @@ -2278,7 +2271,7 @@ for details. This regular expression is conditional so it will match any page named index.html regardless of path which in this case can have one or more /'s. And this one must contain exactly - .html (but does not have to end with that!). + .html (and end with that!). @@ -2290,6 +2283,7 @@ for details. that contains any of the words ads, banner, banners (because of the ?) or junk. 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). @@ -2390,6 +2384,7 @@ for details. are checked after all server headers are scanned. In both cases all the created tags are considered. + The Client Tag Pattern @@ -2448,6 +2443,8 @@ CLIENT-TAG:^circumvent-blocks$ example.org/blocked-example-page + + @@ -2466,7 +2463,6 @@ example.org/blocked-example-page following patterns, and -block means don't block URLs that match the following patterns, even if +block previously applied. - @@ -3019,6 +3015,21 @@ TAG:^User-Agent: MPlayer/ TAG:^RANGE-REQUEST$ + + +# 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$ + + @@ -6167,7 +6178,7 @@ for-privoxy-version=3.0.11 The first of our specialized sections is concerned with fragile 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 fragile alias instead of stating the list of actions explicitly: @@ -6317,7 +6328,7 @@ count*. It's quite remarkable how many advertisers actually call their banner servers ads.company.com, or call the directory - in which the banners are stored simply banners. So the above + in which the banners are stored literally banners. So the above generic patterns are surprisingly effective. @@ -6461,7 +6472,6 @@ allow-ads = -block -filter{banners-by-size} -filter{banners-by-link} # Alias for specific file types that are text, but might have conflicting # MIME types. We want the browser to force these to be text documents. handle-as-text = -filter +-content-type-overwrite{text/plain} +-force-text-mode -hide-content-disposition - @@ -7994,7 +8004,6 @@ Requests rules and other configuration options, and even turn Privoxy's filtering off, all with a web browser. - @@ -8379,12 +8388,10 @@ In file: user.action [ View ] [ Edit ]Privoxy is applying all its actions to google.com: - - Final results: -add-header @@ -8458,7 +8465,6 @@ In file: user.action [ View ] [ Edit ] - { +block{Domains starts with "ad"} } ad*. @@ -8502,7 +8508,6 @@ In file: user.action [ View ] [ Edit ] - Matches for http://www.example.net/adsl/HOWTO/: In file: default.action [ View ] [ Edit ] @@ -8584,7 +8589,6 @@ In file: user.action [ View ] [ Edit ] - { -block } /adsl @@ -8604,7 +8608,6 @@ In file: user.action [ View ] [ Edit ] - { +block{Path starts with "ads".} +handle-as-image } /ads @@ -8624,7 +8627,6 @@ In file: user.action [ View ] [ Edit ] - { shop } .quietpc.com .worldpay.com # for quietpc.com @@ -8638,12 +8640,10 @@ In file: user.action [ View ] [ Edit ]{ shop } is an alias that expands to { -filter -session-cookies-only }. Or you could do your own exception to negate filtering: - - { -filter } # Disable ALL filter actions for sites in this section .forbes.com @@ -8675,7 +8675,6 @@ In file: user.action [ View ] [ Edit ] - { fragile } # Handle with care: easy to break mail.google.