From e6cb71aa62ede2896f78ca94cd3d5199b5846af4 Mon Sep 17 00:00:00 2001 From: oes Date: Thu, 7 Mar 2002 03:50:54 +0000 Subject: [PATCH] Adapted comments to new built-in images --- ijb.action | 15 ++++++++------- re_filterfile | 12 +++++++++--- 2 files changed, 17 insertions(+), 10 deletions(-) diff --git a/ijb.action b/ijb.action index ba38496c..3bb1fd05 100644 --- a/ijb.action +++ b/ijb.action @@ -3,7 +3,7 @@ # # For information, see http://ijbswa.sourceforge.net/ # -# $Id: ijb.action,v 1.3 2002/03/05 14:35:39 morcego Exp $ +# $Id: ijb.action,v 1.4 2002/03/06 21:08:00 oes Exp $ # ############################################################################# # Syntax @@ -222,15 +222,16 @@ # # +image-blocker{logo} # +image-blocker{blank} -# +image-blocker{http://i.j.b/send-banner} +# +image-blocker{pattern} +# +image-blocker{} with being any valid image URL # Decides what to do with URLs that end up tagged with {+block +image}. -# There are 4 options. "-image-blocker" will send a HTML "blocked" page, +# 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 GIF. And finally, "+image-blocker{http://xyz.com}" -# will send a HTTP temporary redirect to the specified image - this -# has the advantage of the icon being beeing cached by the browser, -# which will speed up the display. +# a 1x1 transparent PNG, "+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{}" +# will send a HTTP temporary redirect to the specified image URL. # # # +limit-connect{portlist} diff --git a/re_filterfile b/re_filterfile index 1912ad25..7c0f452f 100644 --- a/re_filterfile +++ b/re_filterfile @@ -27,6 +27,11 @@ # # Revisions : # $Log: re_filterfile,v $ +# Revision 1.16 2002/02/21 00:12:19 jongfoster +# Modifying the banner regexps to use long URLS and to autodetect +# whether to show a logo or a transparent GIF, based on actionsfile +# setting. +# # Revision 1.15 2001/12/28 23:54:20 steudten # Fix for feature Req #495374: http-equiv problem # @@ -138,13 +143,14 @@ s|(document\.cookie)([ \t\r\n]*=)|documenZapCooky$2|g # # Kill *all* popups a la popup.c. (But for *all* sites, so I wouldn't do that.) # -# JavaScript: s/window\.open\(/who_wants_this_to.open(/ig +# JavaScript: s/window\.open\(/1;''\.concat\(/ig # HTML : s/target=['"]?_blank['"]?/target_who/g # # Kill banners by size: # (Sizes from http://www.iab.net/iab_banner_standards/bannersizes.html) -# Note: Use http://ijbswa.sourceforge.net/config/send-banner?type=trans for a transparent 1x1 gif -# Use http://ijbswa.sourceforge.net/config/send-banner?type=logo for the logo gif +# Note: Use http://ijbswa.sourceforge.net/config/send-banner?type=trans for a transparent 1x1 PNG +# Use http://ijbswa.sourceforge.net/config/send-banner?type=logo for the logo PNG +# Use http://ijbswa.sourceforge.net/config/send-banner?type=logo for a grey/white pattern PNG # Use http://ijbswa.sourceforge.net/config/send-banner?type=auto to auto-select. # ********************************************************************/ s|]*?(width=['"]?468\D)[^>]*(height=['"]?60[^>]*?)>||sig -- 2.39.2