#
# File : $Source: /cvsroot/ijbswa/current/default.action.master,v $
#
-# $Id: default.action.master,v 1.95 2007/10/12 13:36:49 proactivesvcs Exp $
+# $Id: default.action.master,v 1.110 2008/02/08 11:48:53 hal9 Exp $
#
# Requires : This version requires Privoxy v3.0.7 or later due to
# syntax changes.
#
# hide-tor-exit-notation: Removes the Tor exit node notation in Host and Referer headers
#
+# +client-header-tagger{string}
+# Block requests based on their headers. Client headers to which this
+# action applies are filtered on-the-fly through the specified regular
+# expression based substitutions, the result is used as a tag.
+# Client-header taggers are the first actions that are executed and their
+# tags can be used to control every other action.
+#
# +content-type-overwrite
# Replaces the "Content-Type:" HTTP server header, so that unwanted
# download menus will not pop up, or changes the browser's rendering mode.
# Declares a document as plain text, even if the "Content-Type:" isn't detected
# as such.
#
+# +forward-override{forward .}
+# +forward-override{forward 127.0.0.1:8123}
+# +forward-override{forward-socks4a 127.0.0.1:9050 .}
+# +forward-override{forward-socks4a 127.0.0.1:9050 proxy.example.org:8000}
+# +forward-override{forward-socks5 127.0.0.1:9050 .}
+# +forward-override{forward-socks5 127.0.0.1:9050 proxy.example.org:8000}
+# This action overrules the forward directives in the configuration file.
+#
# +handle-as-empty-document
# This action alone doesn't do anything noticeable. It just marks URLs. If
# the block action also applies, the presence or absence of this mark
# prefer to view inside the browser, for example.
#
# +hide-forwarded-for-headers
-# Block any existing X-Forwarded-for header, and do not add a new one.
+# Block any existing X-Forwarded-for header.
#
# +hide-from-header{block}
# +hide-from-header{spam@sittingduck.xqq}
# html-to-xml: Changes the Content-Type header from html to xml
# xml-to-html: Changes the Content-Type header from xml to html
#
+# +server-header-tagger{content-type}
+# Server headers to which this action applies are filtered on-the-fly
+# through the specified regular expression based substitutions, the result
+# is used as a tag. Server-header taggers are executed before all other
+# header actions that modify server headers. Their tags can be used to
+# control all of the other server-header actions, the content filters and
+# the crunch actions (redirect and block).
+#
# +session-cookies-only
# If the website sets cookies, make sure they are erased when you exit
# and restart your web browser. This makes profiling cookies useless,
#MASTER# DONT-VERIFY (generic)
ad*.
.*ads.
-.ad.
+#MASTER# REMARKS: removed .ad. 2007-12-18 HB
+#MASTER# REMARKS: Modifications per Actionsfile feedback item #1807613
+.ad.?.
+.ad.[a-ik-z][a-oq-z].
+.ad.jp.*.
+.ad.???*.
#MASTER# PROBLEM URL: http://alternativos.iw-advertising.com/
.*advert*.
*banner*.
adrenaline.
adtp*.
adv[oia]*.
+#MASTER# REMARKS: Added 2008-02-08 HB
+adventure*.
.*road*.
.olympiad*.
.*load*.
#MASTER# COMMENT: JS pop-ups
spa.snap.com/
#MASTER# BLOCK-REFERRER: http://www.gamefaqs.com/computer/doswin/game/914819.html 12/18/06
-dw.com.com/clear/
+#MASTER# COMMENT: user tracking, and run-away assorted 'junk'
+#MASTER# BLOCK-REFERRER: http://formwood.com 2007-11-12
+.insitemetrics.com/
+#MASTER# COMMENT: user tracking, and assorted 'junk'
+#MASTER# BLOCK-REFERRER: http://blogblog.com 2007-11-12
+.extreme-dm.com/
+#MASTER# COMMENT: user tracking, and assorted 'junk'
+#MASTER# BLOCK-REFERRER: http://www.schillmania.com 2007-11-12
+stats.reinvigorate.net/
+#MASTER# COMMENT: user tracking, and assorted 'junk'
+#MASTER# BLOCK-REFERRER: http://wordpress.com 2007-11-12
+.getclicky.com/
+#MASTER# COMMENT: user tracking, and assorted 'junk'
+#MASTER# BLOCK-REFERRER: http://infoworld.com 2007-11-12
+.quantserve.com
#----------------------------------------------------------------------------
# JavaScripts and Texts for ad and popup generation
rss.slashdot.org/~a/Slashdot/slashdot\?
#MASTER# PROBLEM URL: rss.slashdot.org/~r/Slashdot/slashdot/~4/102113044
rss.slashdot.org/~r/Slashdot/slashdot/~4/
+#MASTER# BLOCK-REFERRER: http://www.isys.ucl.ac.be/bchi/research/Kwaresmi.htm
+#MASTER# REMAKRKS: Actionsfile feedback item #1849627 2007-12-12
+[a-z][0-9].nedstatbasic.net/
#----------------------------------------------------------------------------
# Specific counters (see above for generic patterns)
fastcounter.bcentral.com/
#MASTER# BLOCK-REFERRER: http://osnews.com/ 10/19/06
bilbo.counted.com/
-#MASTER# BLOCK-REFERRER: http://enciclopedia.us.es/
-#MASTER# REMAKRKS: Not found, but leaving 10/19/06
-#[a-z][0-9].nedstatbasic.net/
#----------------------------------------------------------------------------
# On-site ads and other single sources:
#MASTER# BLOCK-REFERRER: http://www.heise.de/ 10/08/06
#MASTER# BLOCK-REFERRER: http://www.spiegel.de/
/RealMedia/ads/
+#MASTER# REMARKS: Variation 2007-11-12
+/RealMediaAds/
#MASTER# BLOCK-REFERRER: http://www.powerdvd.com 12/28/06 per SF tracker
/top\.php\?d=.*\.[a-z]{2,5}
#MASTER# REMARKS: Actionsfile feedback item #1764161 2007-07-31
#MASTER# UNBLOCK-REFERRER: http://www.nic.ad.jp/ See http://jprs.co.jp/en/jpdomain.html 09/11/06
#MASTER# REMARKS: 2007-10-04, increase scope per Actionsfile feedback item #1807613
#.nic.ad.jp
-.ad.jp
+#MASTER# REMARKS removed .ad.jp per Actionsfile feedback item #1807613
#MASTER# UNBLOCK-REFERRER: http://www.flickr.com/photo_zoom.gne?id=32594118&size=l 09/11/06
#MASTER# REMARKS: creativecommons.org worthwhile organization 09/11/06
/(.*/)?somerights20.gif
#MASTER# UNBLOCK-REFERRER: redirect from http://go.microsoft.com/fwlink?linkid=51093
#MASTER# REMARKS: Actionsfile feedback item #1757121 2007-07-19
.microsoft.com/.*/adschema/
+#MASTER# UNBLOCK-REFERRER: http://upload.wikimedia.org/wikipedia/en/a/ad/Picturecarnegie.jpg
+.wikimedia.org/
+#MASTER# UNBLOCK-REFERRER: http://en.wikipedia.org/wiki/Advertisement
+.wikipedia.org/
+#MASTER# PROBLEM URL: http://curl.haxx.se/docs/adv_20070710.html
+.haxx.se/docs/adv_
#############################################################################
# Site-specific special rules:
access.adobe.com/access/getStatus.do\?jobid=&srcPdfUrl=
#MASTER# PROBLEM-URL: http://view.samurajdata.se/ps.php?url=http%3A%2F%2Fcups.cs.cmu.edu%2Fsoups%2F2007%2Fproceedings%2Fp41_clark.pdf&submit=View%21
view.samurajdata.se/ps\.php\?url=
+#MASTER# PROBLEM-URL: http://www.blogger.com/navbar.g?targetBlogID=8919860543765866292&blogName=Kickin%27+the+Darkness&publishMode=PUBLISH_MODE_HOSTED&navbarType=BLUE&layoutType=LAYOUTS&homepageUrl=http%3A%2F%2Fblog.kickin-the-darkness.com%2F&searchRoot=http%3A%2F%2Fblog.kickin-the-darkness.com%2Fsearch
+.blogger.com/navbar\.g
#----------------------------------------------------------------------------
# No filtering for sourcecode or other automatically parsed content
#MASTER# REMARKS: 09/12/06 Art site, and ad-free
.rubberslug.com
-#----------------------------------------------------------------------------
-# These sites are so abusive that we need to kill all JS event bindings (and
-# probably a break a lot along the way)
-#----------------------------------------------------------------------------
-#MASTER# REMARKS: Surely this has changed. Commenting out 10/15/06 HB
-#{+filter{js-radical}}
-##MASTER# PROBLEM-URL: http://www.planetspiele.de/
-#.planetspiele.de
-#216.12.219.40
-
#----------------------------------------------------------------------------
# The "site-specifics" filter has special cures for problems found here:
#----------------------------------------------------------------------------
#MASTER# REMARKS: This section NOT checked 10/15/06 HB.
-{+filter{site-specifics} +prevent-compression}
-#MASTER# REMARKS: +prevent-compression in case its off as a default setting.
+{+filter{site-specifics}}
#MASTER# PROBLEM-URL: http://www.spiegel.de/static/js/flash-plugin.js
.spiegel.de/static/js/flash-plugin\.js
#MASTER# PROBLEM-URL: http://www.quelle-bausparkasse.de/
{ +prevent-compression }
.compusa.com/
-{+filter{tiny-textforms} +prevent-compression}
+{+filter{tiny-textforms}}
.sourceforge.net/tracker
{+downgrade-http-version}
#MASTER# REMARKS: This is work-around for CUPS http configuration.
:631
-#MASTER# REMARKS: What is this? Something special?
-#{ -crunch-outgoing-cookies \
-# -crunch-incoming-cookies \
-# +session-cookies-only \
-#}
-#www.versiontracker.com/
-
#MASTER# REMARKS: If Privoxy is disabled, requests for config.privoxy.org/
#MASTER# REMARKS: reach privoxy.org and are redirected to privoxy.org/config.
#MASTER# REMARKS: The instructions tell the user to reload the page with
#MASTER# REMARKS: Privoxy's "unsafe" CGI pages check the referrer
#MASTER# REMARKS: to make sure the user reached them intentionally.
-#MASTER# REMARKS: If the referrer is blocked, CGI editing is impossible.
-{-hide-referrer}
+#MASTER# REMARKS: Disabling hide-referrer so there's a referrer left to check.
+#MASTER# REMARKS: Disabling fast-redirects because if CGI crunching gets
+#MASTER# REMARKS: enabled it could be leveraged to fool the referrer check.
+{-hide-referrer -fast-redirects}
p.p/
config.privoxy.org/