X-Git-Url: http://www.privoxy.org/gitweb/?a=blobdiff_plain;f=default.filter;h=3c14ed77de4bf5b3eae4aeeb505011e23ac567e1;hb=9f0a0a472d93531e2e6385478d4e53d42876e24f;hp=728a7186fc9e98c6768373537fff0510cb276408;hpb=472006f94cd350ff6e734c156cbbb93dab86d864;p=privoxy.git diff --git a/default.filter b/default.filter index 728a7186..3c14ed77 100644 --- a/default.filter +++ b/default.filter @@ -2,17 +2,13 @@ # # File : $Source: /cvsroot/ijbswa/current/default.filter,v $ # -# $Id: basic.action,v 1.3 2002/03/26 22:29:54 swa Exp $ +# $Id: default.filter,v 1.8 2002/04/10 17:07:21 oes Exp $ # # Purpose : Rules to process the content of web pages # # Copyright : Written by and Copyright # Privoxy team. http://www.privoxy.org/ # -# Based on the Internet Junkbuster originally written -# by and Copyright (C) 1997 Anonymous Coders and -# Junkbusters Corporation. http://www.junkbusters.com -# # We value your feedback. However, to provide you with the best support, # please note: # @@ -21,7 +17,7 @@ # * Submit bugs only thru our bug forum: # http://sourceforge.net/tracker/?group_id=11118&atid=111118 # Make sure that the bug has not already been submitted. Please try -# to verify that it is a Junkbuster bug, and not a browser or site +# to verify that it is a Privoxy bug, and not a browser or site # bug first. If you are using your own custom configuration, please # try the stock configs to see if the problem is a configuration # related bug. And if not using the latest development snapshot, @@ -74,11 +70,11 @@ FILTER: html-annoyances Get rid of particularly annoying HTML abuse # New browser windows (if allowed -- see no-popups filter below) should be # resizeable and have a location and status bar # -s/(]+)resizable=['"]?(no|0|false)['"]?(.*>)/$1resizable=1$3/igU -s/(]+)location=['"]?(no|0)['"]?(.*>)/$1location=1$3/igU -s/(]+)status=['"]?(no|0)['"]?(.*>)/$1status=1$3/igU -s/(]+)scrolling=['"]?(no|0|auto)['"]?(.*>)/$1scrolling=no$3/igU -s/(]+)menubar=['"]?(no|0)['"]?(.*>)/$1menubar=1$3/igU +s/(]+)resizable=['"]?(no|0|false)['"]?(.*>)/$1resizable="1"$3/igU +s/(]+)location=['"]?(no|0)['"]?(.*>)/$1location="1"$3/igU +s/(]+)status=['"]?(no|0)['"]?(.*>)/$1status="1"$3/igU +s/(]+)scrolling=['"]?(no|0|auto)['"]?(.*>)/$1scrolling="no"$3/igU +s/(]+)menubar=['"]?(no|0)['"]?(.*>)/$1menubar="1"$3/igU # The tag was a crime! # @@ -103,7 +99,7 @@ s|()|$1"Not Your Business!"$2|Usg # The status bar is for displaying link targets, not pointless blahblah # -s/status='.*?';*//ig +s/window.status\s*=\s*['"].*?['"]/dUmMy=1/ig # Kill OnUnload popups. Yummy. Test: http://www.zdnet.com/zdsubs/yahoo/tree/yfs.html # @@ -133,21 +129,25 @@ s|].*>||sigU ################################################################################# @@ -258,6 +267,18 @@ s+^.*warez.*$+No Warez

You're not sea # # Revisions : # $Log: default.filter,v $ +# Revision 1.8 2002/04/10 17:07:21 oes +# Fixed potentially desctructive jobs, added noflash filter +# +# Revision 1.7 2002/04/09 18:34:51 oes +# Fixed HTML syntax in replacements +# +# Revision 1.6 2002/04/03 19:49:52 swa +# name change +# +# Revision 1.5 2002/03/27 15:30:26 swa +# have a consistent appearance +# # Revision 1.4 2002/03/26 22:29:54 swa # we have a new homepage! #