From 4c155b45c7b59f94ef9f1ec03acc301e63197898 Mon Sep 17 00:00:00 2001 From: oes Date: Sun, 7 Oct 2001 15:33:59 +0000 Subject: [PATCH] Introduced a +no-compression action Introduced a +downgrade action --- actionlist.h | 8 ++++++++ actionsfile | 16 +++++++++++++++- 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/actionlist.h b/actionlist.h index 626be452..901dac80 100644 --- a/actionlist.h +++ b/actionlist.h @@ -39,6 +39,12 @@ * * 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) diff --git a/actionsfile b/actionsfile index e8efe70b..1b952ef8 100755 --- a/actionsfile +++ b/actionsfile @@ -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 @@ -149,6 +149,11 @@ # 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, @@ -223,6 +228,12 @@ # 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 # @@ -278,6 +289,7 @@ 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} \ -- 2.39.2