#
# For information, see http://ijbswa.sourceforge.net/
#
-# $Id: ijb.action,v 1.4 2002/03/06 21:08:00 oes Exp $
+# $Id: ijb.action,v 1.7 2002/03/08 18:01:48 morcego Exp $
#
#############################################################################
# Syntax
# request and send a local redirect back to your browser without
# contacting the remote site.
#
-# +filter
-# Filter the website through the re_filterfile
-# FIXME: The syntax should be +filter{filename}
+# +filter{name}
+# Filter the website through one or more regular expression filters.
+# Repeat for multiple filters.
+#
+# Filters predefined in the supplied re_filterfile include:
+#
+# 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
+# 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
+# fun: Text replacements for subversive browsing fun!
+# nimda: Remove (virus) Nimda code.
+# banners-by-size: Kill banners by size
+# crude-parental: Kill all web pages that contain the words "sex" or "warez"
+#
#
# +hide-forwarded
# Block any existing X-Forwarded-for header, and do not add a new one.
# There are 5 options. "-image-blocker" will send a HTML "blocked" page,
# usually resulting in a "broken image" icon. "+image-blocker{logo}"
# will send a "JunkBuster" image. "+image-blocker{blank}" will send
-# a 1x1 transparent PNG, "+image-blocker{pattern}" will send a 4x4
+# a 1x1 transparent image, "+image-blocker{pattern}" will send a 4x4
# grey/white pattern which is less intrusive than the logo but easier
# to recognize than the transparent one. And finally, "+image-blocker{<URL>}"
# will send a HTTP temporary redirect to the specified image URL.
+no-cookies = +no-cookies-set +no-cookies-read
-no-cookies = -no-cookies-set -no-cookies-read
+imageblock = +block +image
-+filter-all = +filter +no-compression
# Fragile sites should have the minimum changes
fragile = -block -deanimate-gifs -fast-redirects -filter -hide-referer -no-cookies -no-popups
# Shops should be allowed to set persistent cookies
shop = -filter -no-cookies -no-cookies-keep
+# Your favourite blend of filters:
+#
+myfilters = +filter{html-annoyances} +filter{js-annoyances} +filter{no-popups}\
+ +filter{webbugs} +filter{nimda} +filter{banners-by-size}
+
#... etc. Customize to your heart's content.
#############################################################################
-deanimate-gifs \
-downgrade \
+fast-redirects \
-+filter \
+myfilters \
+no-compression \
+no-cookies-keep \
+hide-forwarded \
/?.*/ad(sdna_image|gifs?)/
/?.*/ad(server|stream|juggler)\.(cgi|pl|dll|exe)
/?.*/adbanners/
+/?.*/ad_banner/
/?.*/adserver
/?.*/adstream\.cgi
/?.*/adv((er)?ts?|ertis(ing|ements?))?/