From: jongfoster Date: Tue, 13 Nov 2001 21:12:17 +0000 (+0000) Subject: Added support for the following actions: X-Git-Tag: v_2_9_10~24 X-Git-Url: http://www.privoxy.org/gitweb/misc.html?a=commitdiff_plain;h=1dcfd55d00941fa85ecc4ec61b6dd63e918f4d66;p=privoxy.git Added support for the following actions: +downgrade, +limit-connect, +no-compression --- diff --git a/templates/edit-actions-for-url b/templates/edit-actions-for-url index 7fc400de..df5d796c 100644 --- a/templates/edit-actions-for-url +++ b/templates/edit-actions-for-url @@ -1,6 +1,6 @@ ############################################################################## # -# File : $Source: /cvsroot/ijbswa/current/cgi.c,v $ +# File : $Source: /cvsroot/ijbswa/current/templates/edit-actions-for-url,v $ # # Purpose : Template used to edit the actions associated with a # particular section in an actions file. @@ -31,7 +31,10 @@ # Temple Place - Suite 330, Boston, MA 02111-1307, USA. # # Revisions : -# $Log$ +# $Log: edit-actions-for-url,v $ +# Revision 1.4 2001/11/13 00:58:18 jongfoster +# New version of actions file editor templates +# # ############################################################################## # @@ -243,6 +246,18 @@ function show_image_blocker_opts(tf) target.style.display = (tf ? "" : "none"); } +function show_limit_connect_opts(tf) +{ + if (document.getElementById) { + target = document.getElementById("limit_connect_opts"); + } else if (document.all) { + target = document.limit_connect_opts; + } else { + return; + } + target.style.display = (tf ? "" : "none"); +} + function show_wafer_opts(tf) { if (document.getElementById) { @@ -325,10 +340,9 @@ function show_wafer_opts(tf)   - To edit the settings for this option, and then - click "Submit". + Editing the settings for this option, or turning + it on if it was off, is not yet supported using this web-based + editor. +block @@ -379,46 +393,57 @@ function show_wafer_opts(tf) > + +downgrade + Change HTTP/1.1 requests to HTTP/1.0. Only change if you know + what you're doing! + + + + + +filter Filter the website through the re_filterfile - - - - + +hide-forwarded Block any existing X-Forwarded-for header, and do not add a new one. - - - - + +hide-from Stop old web browsers from sending the user's e-mail address with every request. - - - - +   - + +hide-referer Helps prevent tracking by not sending the URL of the previous web page.  - - - - +   - + +hide-user-agent Pretend to be using a different web browser.  (Breaks many web sites). - - - - +   User Agent string to send:
- + +image Request is for an image (only useful in conjunction with the +block and +image-blocker options). - - - - + +image-blocker Specifies how to block images.  Disable to always send a HTML "blocked" page. - - - - +   + + +limit-connect + Specify which ports are allowed for SSL (HTTP CONNECT) access. + Note that this allows arbitrary tunnelling, so opening all + ports would be a security hole. + + + + + +   + Legal SSL ports (comma separated, ranges allowed):
+ + + +no-compression + Disables compression. Compressed web pages are faster to + download, but cannot be filtered with +filter or +no-popups. + This setting only affects the few web sites which support + compression. + + + + + +no-cookies-read Prevent the website from reading cookies - - - - + +no-cookies-set Prevent the website from setting cookies - - - - + +no-popups Filter the website through a built-in filter to disable JavaScript pop-up windows. - - - - + +vanilla-wafer If you use a jarfile, automatically adds a special wafer. - - - - + +wafer Adds user-specified cookies. - - - - +   - To edit the settings for this option, and then click - "Submit". + Editing the settings for this option, or turning + it on if it was off, is not yet supported using this web-based + editor. @@ -623,6 +684,7 @@ if (document.getElementById) { show_hide_referer_opts (document.getElementById("hide_referer_y").checked); show_user_agent_opts (document.getElementById("hide_user_agent_y").checked); show_image_blocker_opts (document.getElementById("image_blocker_y").checked); + show_limit_connect_opts (document.getElementById("limit_connect_y").checked); show_wafer_opts (document.getElementById("wafer_y").checked); } else if (document.all) { // alert("IE4"); @@ -636,6 +698,7 @@ if (document.getElementById) { show_hide_referer_opts (document.myform.hide_referer_y.checked); show_user_agent_opts (document.myform.hide_user_agent_y.checked); show_image_blocker_opts (document.myform.image_blocker_y.checked); + show_limit_connect_opts (document.myform.limit_connect_y.checked); show_wafer_opts (document.myform.wafer_y.checked); } else if (document.layers) { // alert("Netscape 4");