X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=default.filter;h=b127c02357aa38c452e64402c5f56d10d24d10be;hp=0b6d22f347c2c625e61557555e9a31491986c808;hb=b284d5ca9fe1fbd0b86f9b1eb189577b65a31c90;hpb=b42c3bb7b16cc18018b5608f06acc0364ddf5185
diff --git a/default.filter b/default.filter
index 0b6d22f3..b127c023 100644
--- a/default.filter
+++ b/default.filter
@@ -1,8 +1,8 @@
# ********************************************************************
#
-# 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.17 2002/11/12 16:16:49 oes Exp $
#
# Purpose : Rules to process the content of web pages
#
@@ -82,7 +82,7 @@ s|document\.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/(([\n =;{}]|window\.)(default)?status)\s*=\s*((['"]).*?\5)/if(typeof(this.href) != 'undefined') $1 = $4 + ' URL: ' + this.href;else return false/ig
# Kill OnUnload popups. Yummy.
# Test: http://www.zdnet.com/zdsubs/yahoo/tree/yfs.html
@@ -190,8 +190,7 @@ FILTER: refresh-tags Kill automatic refresh tags (for dial-on-demand setups)
# Note: Only deactivates refreshes with more than 9 seconds delay to
# preserve monster-stupid but common redirections via meta tags.
#
-s/\2]*))?\2\s*>//iU
-
+s/\2]*))?\2/\\\\2]+\2\|[^'">\\\s]+?))([^>]*)width\s*=\s*(["']?)(\d+?
#
# Note: Use http://config.privoxy.org/send-banner?type=trans for a transparent 1x1 image
# Use http://config.privoxy.org/send-banner?type=pattern for a grey/white pattern image
+# Use http://config.privoxy.org/send-banner?type=custom for the image specified in config
# Use http://config.privoxy.org/send-banner?type=auto to auto-select.
#
# Note2: Use img-reorder before this filter to ensure maximum matching success
@@ -396,6 +396,15 @@ s/\x9B/>/g # 155
#
# Revisions :
# $Log: default.filter,v $
+# Revision 1.17 2002/11/12 16:16:49 oes
+# Exchanged js-annoyance filter against status bar rewrites with improved version by Don Libes
+#
+# Revision 1.16 2002/11/11 13:40:38 oes
+# Make refresh-tags filter work even on incorrect refresh tags like found on usatoday.com
+#
+# Revision 1.15 2002/11/08 16:40:56 oes
+# Made img-reorder more cautious. Fixes bug #632715
+#
# Revision 1.14 2002/10/13 21:58:20 hal9
# Add demoronizer filter to sync with 3.0.1.
#