Introduced a +no-compression action
authoroes <oes@users.sourceforge.net>
Sun, 7 Oct 2001 15:33:59 +0000 (15:33 +0000)
committeroes <oes@users.sourceforge.net>
Sun, 7 Oct 2001 15:33:59 +0000 (15:33 +0000)
Introduced a +downgrade action

actionlist.h
actionsfile

index 626be45..901dac8 100644 (file)
  *
  * Revisions   :
  *    $Log: actionlist.h,v $
+ *    Revision 1.6  2001/09/16 15:47:37  jongfoster
+ *    First version of CGI-based edit interface.  This is very much a
+ *    work-in-progress, and you can't actually use it to edit anything
+ *    yet.  You must #define FEATURE_CGI_EDIT_ACTIONS for these changes
+ *    to have any effect.
+ *
  *    Revision 1.5  2001/07/18 12:27:03  oes
  *    Changed deanimate-gifs to string action
  *
@@ -68,6 +74,7 @@ DEFINE_ACTION_BOOL       ("block",           ACTION_BLOCK)
 DEFINE_ACTION_STRING     ("deanimate-gifs",  ACTION_DEANIMATE,       ACTION_STRING_DEANIMATE)
 DEFINE_CGI_PARAM_RADIO   ("deanimate-gifs",  ACTION_DEANIMATE,       ACTION_STRING_DEANIMATE,     "first", 0)
 DEFINE_CGI_PARAM_RADIO   ("deanimate-gifs",  ACTION_DEANIMATE,       ACTION_STRING_DEANIMATE,     "last",  1)
+DEFINE_ACTION_BOOL       ("downgrade",       ACTION_DOWNGRADE)
 DEFINE_ACTION_BOOL       ("fast-redirects",  ACTION_FAST_REDIRECTS)
 DEFINE_ACTION_BOOL       ("filter",          ACTION_FILTER)
 DEFINE_ACTION_BOOL       ("hide-forwarded",  ACTION_HIDE_FORWARDED)
@@ -85,6 +92,7 @@ DEFINE_ACTION_STRING     ("image-blocker",   ACTION_IMAGE_BLOCKER,   ACTION_STRI
 DEFINE_CGI_PARAM_RADIO   ("image-blocker",   ACTION_IMAGE_BLOCKER,   ACTION_STRING_IMAGE_BLOCKER, "logo", 1)
 DEFINE_CGI_PARAM_RADIO   ("image-blocker",   ACTION_IMAGE_BLOCKER,   ACTION_STRING_IMAGE_BLOCKER, "blank", 0)
 DEFINE_CGI_PARAM_CUSTOM  ("image-blocker",   ACTION_IMAGE_BLOCKER,   ACTION_STRING_IMAGE_BLOCKER, "http://")
+DEFINE_ACTION_BOOL       ("no-compression",  ACTION_NO_COMPRESSION)
 DEFINE_ACTION_BOOL       ("no-cookies-read", ACTION_NO_COOKIE_READ)
 DEFINE_ACTION_BOOL       ("no-cookies-set",  ACTION_NO_COOKIE_SET)
 DEFINE_ACTION_BOOL       ("no-popups",       ACTION_NO_POPUPS)
index e8efe70..1b952ef 100755 (executable)
@@ -3,7 +3,7 @@
 #
 # For information, see http://ijbswa.sourceforge.net/
 #
-# $Id: actionsfile,v 1.4 2001/07/18 12:27:33 oes Exp $
+# $Id: actionsfile,v 1.5 2001/07/26 21:09:18 oes Exp $
 #
 #############################################################################
 # Syntax
 #    most banner animations, but also has the risk of not showing the
 #    entire last frame (if it is only a delta to an earlier frame).
 #
+# +downgrade
+#    Downgrade HTTP/1.1 client requests to HTTP/1.0 and downgrade the
+#    responses as well. Use this action for servers that use HTTP/1.1
+#    protocol features that Junkbuster currently can't handle yet.
+#
 # +fast-redirects
 #    Many sites, like yahoo.com, don't just link to other sites.
 #    Instead, they will link to some script on their own server,
 #    has the advantage of the icon being beeing cached by the browser,
 #    which will speed up the display.  
 #
+# +no-compression
+#    Prevent the website from compressing the data. Some websites do
+#    that, which is a problem for junkbuster, since +filter, +no-popup
+#    and +gif-deanimate will not work on compressed data. Will slow down
+#    connections to those websites, though.
+#
 # +no-cookies-read
 #    Prevent the website from reading cookies
 #
 fragile     = -block -no-cookies -filter -fast-redirects -hide-referer -no-popups
 shop        = -no-cookies -filter -fast-redirects
 +imageblock = +block +image
++filter-all = +filter +no-compression
 
 #For people who don't like to type too much:  ;-)
 c0 = +no-cookies
@@ -291,8 +303,10 @@ c3 = +no-cookies-set -no-cookies-read
 #############################################################################
 {\
 -block \
+-downgrade \
 +fast-redirects \
 +filter \
++no-compression \
 +hide-forwarded \
 +hide-from{block} \
 +hide-referer{forge} \