X-Git-Url: http://www.privoxy.org/gitweb/?a=blobdiff_plain;f=default.filter;h=df79e5e923a9d11ac1bda4766a6734dbe8df2527;hb=4dc3b810a5e3aa5cab68cf62708cdabcfe2993cb;hp=0b6d22f347c2c625e61557555e9a31491986c808;hpb=b42c3bb7b16cc18018b5608f06acc0364ddf5185;p=privoxy.git diff --git a/default.filter b/default.filter index 0b6d22f3..df79e5e9 100644 --- a/default.filter +++ b/default.filter @@ -1,12 +1,12 @@ # ******************************************************************** # -# File : $Source: /cvsroot/ijbswa//current/default.filter,v $ +# File : $Source: /cvsroot/ijbswa/current/default.filter,v $ # -# $Id: default.filter,v 1.14 2002/10/13 21:58:20 hal9 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*=/$1dUmMy=/ig +# +s/(\W\s*)((this|window)\.(default)?status)\s*=\s*((['"]).*?(?]*)onunload(.*>)/$1never$2/siU +s/(
]*)onunload/$1never/siU s|(