X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=default.filter;h=485033a2cfd68db756494bb75c04e246dde4892a;hp=3c14ed77de4bf5b3eae4aeeb505011e23ac567e1;hb=8a67e6b860cec3d735248ead22e3acd8910f74d4;hpb=efc4b6e17c0ca19bbb61287eaa86a5a941576e1f diff --git a/default.filter b/default.filter index 3c14ed77..485033a2 100644 --- a/default.filter +++ b/default.filter @@ -2,7 +2,7 @@ # # File : $Source: /cvsroot/ijbswa/current/default.filter,v $ # -# $Id: default.filter,v 1.8 2002/04/10 17:07:21 oes Exp $ +# $Id: default.filter,v 1.10 2002/04/18 10:14:19 oes Exp $ # # Purpose : Rules to process the content of web pages # @@ -80,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 - ################################################################################# # @@ -124,10 +119,10 @@ 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 \ @@ -239,10 +234,10 @@ s|]*?(width=['"]?200\D)[^>]*(height=['"]?50[^>]*?)>|