X-Git-Url: http://www.privoxy.org/gitweb/?a=blobdiff_plain;f=default.filter;h=3c14ed77de4bf5b3eae4aeeb505011e23ac567e1;hb=82ca06f718357047cf1b171ac663d080cb2b1271;hp=16dfa58ad24ad4866d0116a55a55cddaba06e4a5;hpb=0eb9346eb1ad546b959637b92ba74b807e5a28fb;p=privoxy.git diff --git a/default.filter b/default.filter index 16dfa58a..3c14ed77 100644 --- a/default.filter +++ b/default.filter @@ -2,17 +2,13 @@ # # File : $Source: /cvsroot/ijbswa/current/default.filter,v $ # -# $Id: default.filter,v 1.5 2002/03/27 15:30:26 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: # @@ -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,15 @@ 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 #