X-Git-Url: http://www.privoxy.org/gitweb/?a=blobdiff_plain;f=doc%2Fwebserver%2Fuser-manual%2Fappendix.html;h=7e47f060684c634267e36bbc59eba8ddcd8a61f2;hb=0958f024d9e4fca6ff8ca2356f10a6e226389365;hp=a3bac6af80a17e4c63d71b2abc4e90c466a95688;hpb=cd8bce8ef339df6f04982b37aaa008a8eea0f0ac;p=privoxy.git diff --git a/doc/webserver/user-manual/appendix.html b/doc/webserver/user-manual/appendix.html index a3bac6af..7e47f060 100644 --- a/doc/webserver/user-manual/appendix.html +++ b/doc/webserver/user-manual/appendix.html @@ -4,7 +4,7 @@
Privoxy 3.0.29 User Manual | +Privoxy 3.0.33 User Manual | ||||
---|---|---|---|---|---|
Prev | @@ -202,7 +202,7 @@ these. If not, you will get a friendly error message. Internet access is not necessary either.
- Matches for http://www.google.com: +Matches for http://www.google.com: - In file: default.action [ View ] [ Edit ] + In file: default.action [ View ] [ Edit ] - {+change-x-forwarded-for{block} - +deanimate-gifs {last} - +fast-redirects {check-decoded-url} - +filter {refresh-tags} - +filter {img-reorder} - +filter {banners-by-size} - +filter {webbugs} - +filter {jumping-windows} - +filter {ie-exploits} - +hide-from-header {block} - +hide-referrer {forge} - +session-cookies-only - +set-image-blocker {pattern} -/ + {+change-x-forwarded-for{block} + +deanimate-gifs {last} + +fast-redirects {check-decoded-url} + +filter {refresh-tags} + +filter {img-reorder} + +filter {banners-by-size} + +filter {webbugs} + +filter {jumping-windows} + +filter {ie-exploits} + +hide-from-header {block} + +hide-referrer {forge} + +session-cookies-only + +set-image-blocker {pattern} } + / - { -session-cookies-only } - .google.com + { -session-cookies-only } + .google.com - { -fast-redirects } - .google.com + { -fast-redirects } + .google.com -In file: user.action [ View ] [ Edit ] -(no matches in this file)+ In file: user.action [ View ] [ Edit ] + (no matches in this file) |
Final results: +Final results: - -add-header - -block - +change-x-forwarded-for{block} - -client-header-filter{hide-tor-exit-notation} - -content-type-overwrite - -crunch-client-header - -crunch-if-none-match - -crunch-incoming-cookies - -crunch-outgoing-cookies - -crunch-server-header - +deanimate-gifs {last} - -downgrade-http-version - -fast-redirects - -filter {js-events} - -filter {content-cookies} - -filter {all-popups} - -filter {banners-by-link} - -filter {tiny-textforms} - -filter {frameset-borders} - -filter {demoronizer} - -filter {shockwave-flash} - -filter {quicktime-kioskmode} - -filter {fun} - -filter {crude-parental} - -filter {site-specifics} - -filter {js-annoyances} - -filter {html-annoyances} - +filter {refresh-tags} - -filter {unsolicited-popups} - +filter {img-reorder} - +filter {banners-by-size} - +filter {webbugs} - +filter {jumping-windows} - +filter {ie-exploits} - -filter {google} - -filter {yahoo} - -filter {msn} - -filter {blogspot} - -filter {no-ping} - -force-text-mode - -handle-as-empty-document - -handle-as-image - -hide-accept-language - -hide-content-disposition - +hide-from-header {block} - -hide-if-modified-since - +hide-referrer {forge} - -hide-user-agent - -limit-connect - -overwrite-last-modified - -prevent-compression - -redirect - -server-header-filter{xml-to-html} - -server-header-filter{html-to-xml} - -session-cookies-only - +set-image-blocker {pattern}-
Notice the only difference here to the previous listing, is to "fast-redirects" and - "session-cookies-only", which are activated specifically for this site in our - configuration, and thus show in the "Final Results".
-Now another example, "ad.doubleclick.net":
-
- { +block{Domains starts with "ad"} } - ad*. - - { +block{Domain contains "ad"} } - .ad. - - { +block{Doubleclick banner server} +handle-as-image } - .[a-vx-z]*.doubleclick.net- |
-
We'll just show the interesting part here - the explicit matches. It is matched three different times. Two - "+block{}" sections, and a "+block{} +handle-as-image", - which is the expanded form of one of our aliases that had been defined as: "+block-as-image". ("Aliases" - are defined in the first section of the actions file and typically used to combine more than one action.)
-Any one of these would have done the trick and blocked this as an unwanted image. This is unnecessarily - redundant since the last case effectively would also cover the first. No point in taking chances with these guys - though ;-) Note that if you want an ad or obnoxious URL to be invisible, it should be defined as "ad.doubleclick.net" is done here -- as both a "+block{}" and an "+handle-as-image". The custom alias - "+block-as-image" just simplifies the process and make it - more readable.
-One last example. Let's try "http://www.example.net/adsl/HOWTO/". This one is - giving us problems. We are getting a blank page. Hmmm ...
-
- Matches for http://www.example.net/adsl/HOWTO/: - - In file: default.action [ View ] [ Edit ] - - {-add-header + -add-header -block +change-x-forwarded-for{block} -client-header-filter{hide-tor-exit-notation} @@ -546,9 +447,9 @@ In file: user.action [ View ] and + "session-cookies-only", which are activated specifically for this site in our + configuration, and thus show in the "Final Results". +
We'll just show the interesting part here - the explicit matches. It is matched three different times. Two + "+block{}" sections, and a "+block{} +handle-as-image", + which is the expanded form of one of our aliases that had been defined as: "+block-as-image". ("Aliases" + are defined in the first section of the actions file and typically used to combine more than one action.) +Any one of these would have done the trick and blocked this as an unwanted image. This is unnecessarily + redundant since the last case effectively would also cover the first. No point in taking chances with these guys + though ;-) Note that if you want an ad or obnoxious URL to be invisible, it should be defined as "ad.doubleclick.net" is done here -- as both a "+block{}" and an "+handle-as-image". The custom alias + "+block-as-image" just simplifies the process and make it + more readable. +One last example. Let's try "http://www.example.net/adsl/HOWTO/". This one is + giving us problems. We are getting a blank page. Hmmm ... +
- |
{ shop } - .quietpc.com - .worldpay.com # for quietpc.com - .jungle.com - .scan.co.uk - .forbes.com+ { shop } + .quietpc.com + .worldpay.com # for quietpc.com + .jungle.com + .scan.co.uk + .forbes.com |
{ -filter } - # Disable ALL filter actions for sites in this section - .forbes.com - developer.ibm.com - localhost+
{ -filter } + # Disable ALL filter actions for sites in this section + .forbes.com + developer.ibm.com + localhost
{ fragile } - # Handle with care: easy to break - mail.google. - mybank.example.com+
{ fragile } + # Handle with care: easy to break + mail.google. + mybank.example.com