X-Git-Url: http://www.privoxy.org/gitweb/?a=blobdiff_plain;f=default.filter;h=36e28ffacc60b11b9a420b844f7dca171563047f;hb=97d0dbbad172d8f5286e3ba6ccbd72e6bf514a6c;hp=ce4a3f454d17c0dae924fedf7945686675e0e901;hpb=64b1b3aca3ba360e69fc762605da378bd5fa8b52;p=privoxy.git diff --git a/default.filter b/default.filter index ce4a3f45..36e28ffa 100644 --- a/default.filter +++ b/default.filter @@ -2,11 +2,11 @@ # # File : $Source: /cvsroot/ijbswa/current/default.filter,v $ # -# $Id: default.filter,v 1.16 2002/11/11 13:40:38 oes Exp $ +# $Id: default.filter,v 1.35 2006/12/21 12:28:12 fabiankeil Exp $ # # Purpose : Rules to process the content of web pages # -# Copyright : Written by and Copyright +# Copyright : Written by and Copyright (C) 2001 - 2007 the # Privoxy team. http://www.privoxy.org/ # # We value your feedback. However, to provide you with the best support, @@ -78,16 +78,17 @@ FILTER: js-annoyances Get rid of particularly annoying JavaScript abuse # Get rid of Javascript referrer tracking. # Test page: http://www.javascript-page.com/referrer.html # -s|document\.referrer|"Not Your Business!"|gisU +s|(?:\w+\.)+referrer|"Not Your Business!"|gisU # The status bar is for displaying link targets, not pointless blahblah -# -s/(([\n =;{}]|window\.)(default)?status)\s*=\s*((['"]).*?\5)/if(typeof(this.href) != 'undefined') $1 = $4 + ' URL: ' + this.href;else return false/ig +# +s/(\W\s*)((this|window)\.(default)?status)\s*=\s*((['"]).*?(?]*)onunload(.*>)/$1never$2/siU +s/(
]*)onunload/$1never/siU s|(