X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=default.filter;h=df79e5e923a9d11ac1bda4766a6734dbe8df2527;hp=b127c02357aa38c452e64402c5f56d10d24d10be;hb=7bfb6887ab00db9e025508bff29c122f05a63ace;hpb=b284d5ca9fe1fbd0b86f9b1eb189577b65a31c90 diff --git a/default.filter b/default.filter index b127c023..df79e5e9 100644 --- a/default.filter +++ b/default.filter @@ -2,11 +2,11 @@ # # File : $Source: /cvsroot/ijbswa/current/default.filter,v $ # -# $Id: default.filter,v 1.17 2002/11/12 16:16:49 oes Exp $ +# $Id: default.filter,v 1.34 2006/12/12 17:32:23 fabiankeil Exp $ # # Purpose : Rules to process the content of web pages # -# Copyright : Written by and Copyright +# Copyright : Written by and Copyright (C) 2001 - 2006 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|(