#
# File : $Source: /cvsroot/ijbswa/current/default.action,v $
#
-# $Id: default.action,v 1.14 2002/04/08 20:47:24 swa Exp $
+# $Id: default.action,v 1.18 2002/04/16 13:34:51 oes Exp $
#
# Purpose : Default actions file, see
# http://www.privoxy.org/faq/questions.html#CONFIGFILES
#
# html-annoyances: Get rid of particularly annoying HTML abuse
# js-annoyances: Get rid of particularly annoying JavaScript abuse
-# no-poups: Kill all popups in JS and HTML
+# content-cookies: Kill cookies that come in the HTML or JS content
+# poups: Kill all popups in JS and HTML
# frameset-borders: Give frames a border
# webbugs: Squish WebBugs (1x1 invisible GIFs used for user tracking)
-# no-refresh: Automatic refresh sucks on auto-dialup lines
+# refresh-tags: Kill automatic refresh tags (for dial-on-demand setups)
# fun: Text replacements for subversive browsing fun!
-# nimda: Remove (virus) Nimda code.
-# banners-by-size: Kill banners by size
+# nimda: Remove Nimda (virus) code.
+# banners-by-size: Kill banners by size (very efficient!)
+# shockwave-flash: Kill embedded Shockwave Flash objects
# crude-parental: Kill all web pages that contain the words "sex" or "warez"
#
#
+filter{html-annoyances} \
+filter{content-cookies} \
+filter{js-annoyances} \
-+filter{no-popups} \
++filter{popups} \
+filter{webbugs} \
+filter{nimda} \
+filter{banners-by-size} \
#############################################################################
# These shops require pop-ups
#############################################################################
-{shop -no-popups -filter{no-poups}}
+{shop -no-popups -filter{poups}}
.dabs.com
.overclockers.co.uk
#
# 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.9 2002/04/11 07:36:35 oes Exp $
#
# Purpose : Rules to process the content of web pages
#
##################################################################################
#
-# no-popups: Kill all popups in JS and HTML
+# popups: Kill all popups in JS and HTML
#
#################################################################################
-FILTER: no-popups Kill all popups in JS and HTML
+FILTER: popups Kill all popups in JS and HTML
s/window\.open\s*\(/concat(/ig # JavaScript
s/([ =;])open\s*\(/$1concat(/ig # JavaScript alternative
#################################################################################
#
-# 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/<meta\s+http-equiv=['"]?refresh['"]?\s+content=['"]?[0-9]*;\s+url=([^>]*)['"]?>/<link rev="x-refresh" href=$1>/iU
s/<meta\s+http-equiv=['"]?page-enter['"]?\s+content=[^>].*>/<!--no page enter for me-->/iU
s/microsoft(?!.com)/MicroSuck/ig
-# Buzzword Bingo (example for extended syntax)
+# Buzzword Bingo (example for extended regex syntax)
#
s* industry[ -]leading \
| cutting[ -]edge \
#################################################################################
#
-# noflash: Kill embedded Shockwave Flash objects
+# shockwave-flash: Kill embedded Shockwave Flash objects
#
#################################################################################
-FILTER: noflash Kill embedded Shockwave Flash objects
+FILTER: shockwave-flash Kill embedded Shockwave Flash objects
s|<embed [^>]*application/x-shockwave-flash.*</embed>|<!-- Squished Shockwave Flash Embed -->|sigU
#
# Revisions :
# $Log: default.filter,v $
+# 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
#