X-Git-Url: http://www.privoxy.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=default.filter;h=485033a2cfd68db756494bb75c04e246dde4892a;hb=1384db7d3e57bd489472bbc189ecb0749d6811e9;hp=ec22b8a57f4814e36b877ff0c4435dc2f1c521d6;hpb=ce426c9d74f875503f6a11193f67432a90af37e2;p=privoxy.git diff --git a/default.filter b/default.filter index ec22b8a5..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.7 2002/04/09 18:34:51 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,13 +119,13 @@ 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[^>]*?)>|