X-Git-Url: http://www.privoxy.org/gitweb/?a=blobdiff_plain;f=templates%2Fedit-actions-for-url;h=e0f1508798b6eb8dc5e1dd97711c9591ae424432;hb=269314f4ca220420b91e5e9a5d1a8f1428ff1919;hp=4351e461cbc8554f2b25457121e1193a9aa2c8c8;hpb=fab20214ea31d085f15603d081d26dfb844a597a;p=privoxy.git diff --git a/templates/edit-actions-for-url b/templates/edit-actions-for-url index 4351e461..e0f15087 100644 --- a/templates/edit-actions-for-url +++ b/templates/edit-actions-for-url @@ -32,6 +32,35 @@ # # Revisions : # $Log: edit-actions-for-url,v $ +# Revision 1.30 2002/09/05 16:12:02 oes +# Synced with stable branch: +# Revision 1.29.2.3 2002/08/23 02:22:53 hal9 +# Fix a perl brain fart with
  • in comments. +# +# Revision 1.29.2.1 2002/08/02 12:51:42 oes +# Added top submit button; Consistency with docs: Change default name for action from hide-referer to hide-referrer +# +# Revision 1.29.2.3 2002/08/23 02:22:53 hal9 +# Fix a perl brain fart with
  • in comments. +# +# Revision 1.29.2.1 2002/08/02 12:51:42 oes +# Added top submit button; Consistency with docs: Change default name for action from hide-referer to hide-referrer +# +# Revision 1.29 2002/05/21 19:10:57 oes +# Fixed JavaScript error +# +# Revision 1.28 2002/05/14 21:36:38 oes +# - Renamed prevent-(setting/reading)-cookies to +# crunch-(incoming/outgoing)-cookies +# - Renamed helplink export to actions-help-prefix +# - Restored alphabetical order of actions +# +# Revision 1.27 2002/04/26 22:55:26 jongfoster +# Removing the alternating colors because they've been wrong +# since the actions renames, they're high maintenance, they +# don't look particularly good, and now there are gaps between +# the table cells we don't need them. +# # Revision 1.26 2002/04/26 21:55:17 jongfoster # Cosmetic change: Making the +filter UI look the same as # the other actions. @@ -162,10 +191,10 @@ # hide-from-param-block # hide-from-param-custom # hide-from-param -# hide-referer-param-forge -# hide-referer-param-block -# hide-referer-param-custom -# hide-referer-param +# hide-referrer-param-forge +# hide-referrer-param-block +# hide-referrer-param-custom +# hide-referrer-param # hide-user-agent-param # image-blocker-param-pattern # image-blocker-param-blank @@ -229,12 +258,12 @@ function hide_from_header_param_disable(tf) } } -function hide_referer_param_disable(tf) +function hide_referrer_param_disable(tf) { if (document.getElementById) { - document.getElementById("hide_referer_param").disabled = tf; + document.getElementById("hide_referrer_param").disabled = tf; } else if (document.all) { - document.myform.hide_referer_param.disabled = tf; + document.myform.hide_referrer_param.disabled = tf; } } @@ -283,12 +312,12 @@ function show_hide_from_header_opts(tf) target.style.display = (tf ? "" : "none"); } -function show_hide_referer_opts(tf) +function show_hide_referrer_opts(tf) { if (document.getElementById) { - target = document.getElementById("hide_referer_opts"); + target = document.getElementById("hide_referrer_opts"); } else if (document.all) { - target = document.hide_referer_opts; + target = document.hide_referrer_opts; } else { return; } @@ -381,6 +410,12 @@ function show_send_wafer_opts(tf) + + +

    + + + @@ -401,7 +436,7 @@ function show_send_wafer_opts(tf) - + @@ -423,9 +458,35 @@ function show_send_wafer_opts(tf) - + + + + + + + + + + + + + + + - + @@ -458,7 +519,7 @@ function show_send_wafer_opts(tf) name="downgrade_http_version" value="N" @downgrade-http-version-n@> - + @@ -472,7 +533,7 @@ function show_send_wafer_opts(tf) - + @@ -482,7 +543,7 @@ function show_send_wafer_opts(tf) name="filter_all" id="filter_all_n" value="N" @filter-all-n@ > - + - - + + - + @@ -526,7 +587,7 @@ function show_send_wafer_opts(tf) - + @@ -548,41 +609,41 @@ function show_send_wafer_opts(tf) + name="hide_referrer" id="hide_referrer_y" value="Y" @hide-referrer-y@ + onclick="show_hide_referrer_opts(true)"> + name="hide_referrer" id="hide_referrer_n" value="N" @hide-referrer-n@ + onclick="show_hide_referrer_opts(false)"> - + - + - +
    + - + @@ -617,7 +678,7 @@ function show_send_wafer_opts(tf) - + @@ -631,7 +692,7 @@ function show_send_wafer_opts(tf) - + @@ -655,39 +716,13 @@ function show_send_wafer_opts(tf) - + - - - - - - - - - - - - - - - + @@ -711,7 +746,7 @@ function show_send_wafer_opts(tf) - + @@ -733,14 +768,14 @@ function show_send_wafer_opts(tf) - + + crunch-outgoing-cookies and + crunch-incoming-cookies. - + @@ -770,7 +805,11 @@ function show_send_wafer_opts(tf)
    + for="set_image_blocker_mode_blank">Send a 1x1 transparent image
    +
    @@ -830,31 +869,31 @@ function show_send_wafer_opts(tf) if (document.getElementById) { // alert("Netscape 6 or IE5"); document.getElementById("hide_from_header_param").disabled = !(document.getElementById("hide_from_header_mode_set").checked); - document.getElementById("hide_referer_param").disabled = !(document.getElementById("hide_referer_mode_set").checked); + document.getElementById("hide_referrer_param").disabled = !(document.getElementById("hide_referrer_mode_set").checked); document.getElementById("set_image_blocker_param").disabled = !(document.getElementById("set_image_blocker_mode_set").checked); show_add_header_opts (document.getElementById("add_header_y").checked); show_deanimate_opts (document.getElementById("deanimate_gifs_y").checked); show_hide_from_header_opts(document.getElementById("hide_from_header_y").checked); - show_hide_referer_opts (document.getElementById("hide_referer_y").checked); + show_hide_referrer_opts (document.getElementById("hide_referrer_y").checked); show_user_agent_opts (document.getElementById("hide_user_agent_y").checked); show_set_image_blocker_opts (document.getElementById("set_image_blocker_y").checked); show_limit_connect_opts (document.getElementById("limit_connect_y").checked); - show_wafer_opts (document.getElementById("wafer_y").checked); + show_send_wafer_opts (document.getElementById("wafer_y").checked); } else if (document.all) { // alert("IE4"); document.myform.hide_from_header_param.disabled = !(document.myform.hide_from_header_mode_set.checked); - document.myform.hide_referer_param.disabled = !(document.myform.hide_referer_mode_set.checked); + document.myform.hide_referrer_param.disabled = !(document.myform.hide_referrer_mode_set.checked); document.myform.set_image_blocker_param.disabled = !(document.myform.set_image_blocker_mode_set.checked); show_add_header_opts (document.myform.add_header_y.checked); show_deanimate_opts (document.myform.deanimate_gifs_y.checked); show_hide_from_header_opts (document.myform.hide_from_header_y.checked); - show_hide_referer_opts (document.myform.hide_referer_y.checked); + show_hide_referrer_opts (document.myform.hide_referrer_y.checked); show_user_agent_opts (document.myform.hide_user_agent_y.checked); show_set_image_blocker_opts (document.myform.set_image_blocker_y.checked); show_limit_connect_opts (document.myform.limit_connect_y.checked); - show_wafer_opts (document.myform.wafer_y.checked); + show_send_wafer_opts (document.myform.wafer_y.checked); } else if (document.layers) { // alert("Netscape 4"); }
    add-headeradd-header Adds HTTP headers.
    blockblock Block the request
    crunch-incoming-cookiesPrevent the website from setting cookies on your system.
    crunch-outgoing-cookiesPrevent the website from reading cookies from your system.
    deanimate-gifsdeanimate-gifs Replace animated GIFs with their (first/last) frame.
    downgrade-http-versiondowngrade-http-version Change HTTP/1.1 requests to HTTP/1.0. Only change if you know what you're doing!
    fast-redirectsfast-redirects Bypass some click-tracking URLs.
    filter *filter * Filter the website through regular expression filters. You can use the radio buttons on this line to disable all filters applied by previous rules, and/or you can enable or @@ -499,9 +560,9 @@ function show_send_wafer_opts(tf) handle-as-imageRequest is for an image (only useful in conjunction with the block - and set-image-blocker actions).handle-as-imageRequest is for an image (only useful in conjunction with the block + and set-image-blocker actions).
    hide-forwarded-for-headershide-forwarded-for-headers Block any existing X-Forwarded-for header, and do not add a new one.
    hide-from-headerhide-from-header Stop old web browsers from sending the user's e-mail address with every request.
    hide-referrerhide-referrer Helps prevent tracking by not sending the URL of the previous web page. 
            (breaks images + (breaks images on some free web hosts).
    -
    hide-user-agenthide-user-agent Pretend to be using a different web browser.  (Breaks many web sites).
    kill-popupskill-popups Filter the website through a built-in filter to disable many JavaScript pop-up windows.
    limit-connectlimit-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.prevent-compressionprevent-compression Disables compression. Compressed web pages are faster to - download, but cannot be filtered with filter - or kill-popups. + download, but cannot be filtered with filter + or kill-popups. This setting only affects the few web sites which support compression.
    prevent-reading-cookiesPrevent the website from reading cookies.
    prevent-setting-cookiesPrevent the website from setting cookies.
    send-vanilla-wafersend-vanilla-wafer Adds a special wafer (standard cookie) to all your requests.
    send-wafersend-wafer Adds user-specified cookies.
    session-cookies-onlysession-cookies-only Any cookies set by the website are changed to temporary ("per-session") ones, which only last until you close your web browser. This will allow you to use sites that require cookies, but sites will not be able to track you across sessions. For this to be useful, you should disable - prevent-reading-cookies and - prevent-setting-cookies.
    set-image-blockerset-image-blocker Specifies how to block images.

    More Privoxy:

    -
      @menu@
    +