X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=default.filter;h=485033a2cfd68db756494bb75c04e246dde4892a;hp=4974cf28db2d888047fc2283f2769bac944ec0e2;hb=5a5807409ae15a99c2e7365f292a6de0054257e3;hpb=1015a9f6cb8ffa6864e2de9c191d700a67bc3dc6 diff --git a/default.filter b/default.filter index 4974cf28..485033a2 100644 --- a/default.filter +++ b/default.filter @@ -2,17 +2,13 @@ # # File : $Source: /cvsroot/ijbswa/current/default.filter,v $ # -# $Id: default.filter,v 1.6 2002/04/03 19:49:52 swa Exp $ +# $Id: default.filter,v 1.10 2002/04/18 10:14:19 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: # @@ -84,11 +80,6 @@ s/(]+)menubar=['"]?(no|0)['"]?(.*>)/$1menubar="1"$3/igU # s*|**ig -# Is this evil? -# -#s/margin(height|width)=[0-9]*//gi -#s/noresize/yesresize/igU - ################################################################################# # @@ -103,7 +94,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 # @@ -128,26 +119,30 @@ s|].*>|/sig +s/]*?(width|height)\s*=\s*['"]?1\D[^>]*?(width|height)\s*=\s*['"]?1(\D[^>]*?)?>//siUg ################################################################################# # -# no-refresh: Kill automatic refresh tags (for dial-on-demand setups) +# refresh-tags: Kill automatic refresh tags (for dial-on-demand setups) # ################################################################################# -FILTER: no-refresh Kill automatic refresh tags (for dial-on-demand setups) +FILTER: refresh-tags Kill automatic refresh tags (for dial-on-demand setups) s/]*)['"]?>//iU s/].*>//iU @@ -179,7 +174,7 @@ FILTER: fun Text replacements for subversive browsing fun! s/microsoft(?!.com)/MicroSuck/ig -# Buzzword Bingo (example for extended syntax) +# Buzzword Bingo (example for extended regex syntax) # s* industry[ -]leading \ | cutting[ -]edge \ @@ -202,7 +197,6 @@ FILTER: nimda Remove Nimda (virus) code s%%
WARNING: This Server is infected with Nimda!%g - ################################################################################# # # banners-by-size: Kill banners by size @@ -238,6 +232,16 @@ s|]*?(width=['"]?336\D)[^>]*(height=['"]?280[^>]*?)>|]*(height=['"]?50[^>]*?)>||sig +################################################################################# +# +# shockwave-flash: Kill embedded Shockwave Flash objects +# +################################################################################# +FILTER: shockwave-flash Kill embedded Shockwave Flash objects + +s|]*application/x-shockwave-flash.*||sigU + + ################################################################################# # # crude-parental: Crude parental filtering? (Use along with a suitable blocklist). @@ -258,6 +262,18 @@ s+^.*warez.*$+No Warez

You're not sea # # Revisions : # $Log: default.filter,v $ +# Revision 1.10 2002/04/18 10:14:19 oes +# renamed some filters +# +# Revision 1.9 2002/04/11 07:36:35 oes +# Generalized js-popup filter +# +# 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 #