X-Git-Url: http://www.privoxy.org/gitweb/?a=blobdiff_plain;f=default.filter;h=ce4a3f454d17c0dae924fedf7945686675e0e901;hb=206b69b8e4d76197b7594b51d075195e467ee546;hp=b489818600a3af56b8a0d2a5f6557696cd15abe0;hpb=68386cd533fb3d75a011957aa66fee96eb782c3f;p=privoxy.git diff --git a/default.filter b/default.filter index b4898186..ce4a3f45 100644 --- a/default.filter +++ b/default.filter @@ -2,7 +2,7 @@ # # File : $Source: /cvsroot/ijbswa/current/default.filter,v $ # -# $Id: default.filter,v 1.13 2002/09/11 16:04:20 oes Exp $ +# $Id: default.filter,v 1.16 2002/11/11 13:40:38 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/ tags to make the banners-by-* fi # This makes banners-by-size more effective and allows both banners-by-size # and banners-by-link to preserve the original image URL in the alt attribute. -s|]*)src\s*=\s*(['"])([^>\\\2]+)\2|]*)src\s*=\s*([^'">\\\s]+)|]*) src\s*=\s*(['"])([^>\\\2]+)\2|]*) src\s*=\s*([^'">\\\s]+)|\\\\2]+\2\|[^'">\\\s]+?))([^>]*)width\s*=\s*(["']?)(\d+?)|/g # 155 # # Revisions : # $Log: default.filter,v $ +# 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. +# # Revision 1.13 2002/09/11 16:04:20 oes # Preserve original quoting style in tags wherever possible. Fixes Bug #605956 #