X-Git-Url: http://www.privoxy.org/gitweb/?a=blobdiff_plain;f=templates%2Fedit-actions-for-url;h=d1153320e2daeb1d149146ed8fc1be439fcc4496;hb=578b5ec72f1bb2ceebe5d0afca2327c9d7a22bf1;hp=bd73c487b16305bba223e8de49db7ff1014f27ae;hpb=cc0bfc84d97c68d42c30b99aa45cdd2667a4e283;p=privoxy.git diff --git a/templates/edit-actions-for-url b/templates/edit-actions-for-url index bd73c487..d1153320 100644 --- a/templates/edit-actions-for-url +++ b/templates/edit-actions-for-url @@ -32,6 +32,54 @@ # # Revisions : # $Log: edit-actions-for-url,v $ +# Revision 1.35 2006/08/03 02:46:42 david__schmidt +# Incorporate Fabian Keil's patch work: http://www.fabiankeil.de/sourcecode/privoxy/ +# +# Revision 1.34 2006/07/18 14:49:13 david__schmidt +# Reorganizing the repository: swapping out what was HEAD (the old 3.1 branch) +# with what was really the latest development (the v_3_0_branch branch) +# +# Revision 1.29.2.5 2004/10/05 03:17:26 david__schmidt +# Typo: inspect_jpegs, not inspect-jpegs in form +# +# Revision 1.29.2.4 2004/10/03 12:53:46 david__schmidt +# Add the ability to check jpeg images for invalid +# lengths of comment blocks. Defensive strategy +# against the exploit: +# Microsoft Security Bulletin MS04-028 +# Buffer Overrun in JPEG Processing (GDI+) Could +# Allow Code Execution (833987) +# Enabled with +inspect-jpegs in actions files. +# +# 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. +# +# Revision 1.25 2002/04/26 21:37:50 jongfoster +# Fixing all(?) the substitutions that were broken in the +# recent actions rename. +# # Revision 1.24 2002/04/26 18:24:28 jongfoster # Fixing typos in help hyperlinks # @@ -154,10 +202,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 @@ -188,13 +236,9 @@ th { font-weight: bold; } # 1=odd rows, 2=even rows, h=Table header tr.hdr { background-color: #999999 } tr.bg1 { background-color: #eeeeee } -td.en1 { background-color: #eeffee } -td.dis1 { background-color: #ffeeee } -td.noc1 { background-color: #eeeeff } -tr.bg2 { background-color: #dddddd } -td.en2 { background-color: #ddffdd } -td.dis2 { background-color: #ffdddd } -td.noc2 { background-color: #ddddff } +td.en1 { background-color: #ddffdd } +td.dis1 { background-color: #ffdddd } +td.noc1 { background-color: #ddddff } th.enh { background-color: #99ff99 } th.dish { background-color: #ff9999 } th.noch { background-color: #9999ff } @@ -225,12 +269,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; } } @@ -279,12 +323,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; } @@ -377,6 +421,12 @@ function show_send_wafer_opts(tf) + + +

    + + + @@ -397,7 +447,7 @@ function show_send_wafer_opts(tf) - + @@ -409,19 +459,45 @@ function show_send_wafer_opts(tf) it on if it was off, is not yet supported using this web-based editor. - - - - - + + + + + + + + + + + + + + + - + @@ -447,6 +523,19 @@ function show_send_wafer_opts(tf) id="deanimate_last" @deanimate-gifs-param-last@> + + + + + + + @@ -454,39 +543,49 @@ function show_send_wafer_opts(tf) name="downgrade_http_version" value="N" @downgrade-http-version-n@> - + - - - - - + - - - - - - + + + + + + - - - - + - - + + @filter-params@ @@ -499,9 +598,9 @@ 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)"> - + - + - - - - + + + - - - + - - - - + + + + - - - - - + @@ -631,7 +1074,7 @@ function show_send_wafer_opts(tf) - + @@ -645,49 +1088,23 @@ function show_send_wafer_opts(tf) - - - - - + - - - - - - - - - - - - - - - + - - - - - + - - - - + + + + - + + crunch-outgoing-cookies and + crunch-incoming-cookies. - - - - - + - - - - + + + + @@ -830,31 +1247,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.
    inspect-jpegsChecks jpeg images for malicious content.
    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.
       filterFilter the website through regular expression filters. - You can enable or disable the filters individually.
         + +
    +
      +    All filters applied by previous rulesfilter *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 + disable the filters individually below.
    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-if-modified-sinceRemove or randomize If-Modified-Since header.
         + Useful for filter testing.
    + + hour(s). + To appreciate this option a small amount of paranoia is required, + but at least in theory the If-Modified-Since header could be used + to keep track of your visits. +
    overwrite-last-modifiedRemove or randomize If-Modified-Since header.
         + Useless.
    + +
    + +
    + +
    crunch-if-none-matchRemove If-None-Match header to circumvent browser cache. Useful for filter testing, + but hurts performance.
    content-type-overwriteReplace Content-Type header. Useful to let the browser render broken + XHTML as broken + HTML. By default it only applies to + text documents, if you know what you're doing you + can enable force-text-mode to modify binary content types as well.
        New Content-Type:
    +
    force-text-mode + Enable filtering on documents whose Content-Type wasn't recognized as text. + Do think twice, nothing is alright. +
    handle-as-empty-document + Block with an empty document instead of an Image or HTML message. + The empty document contains only a space and can safely be parsed + as JavaScript or Style Sheet. Use content-type-overwrite to specify the + Content-Type, default is test/html. +
    treat-forbidden-connects-like-blocks + Answer forbidden Connect requests with the usual block message. + May be a protocol violation, but makes unblocking easier. +
    crunch-client-headerRemove header(s) matching the supplied pattern. Together with add-header you can + build a custom header replacement action.
        Header string to suppress:
    +
    crunch-server-headerRemove server header(s) matching the supplied pattern.
        Header string to suppress:
    +
    hide-accept-languagePretend to have different language settings. (Makes a fake User-Agent more believable, + but can lead to foreign content.)
         + This isn't the option you're looking for.
    +
    +
    +
    hide-content-dispositionBlock or overwrite the content-disposition header. Useful to view a document inside the browser, + even if you were supposed to save it first, or to change the suggested file name.
         +
    +
    +
    +
    redirectRedirect to another address. +
        Address to redirect to:
    +
    filter-client-headersApply filters to the client headers as well. Only enable this if you know what you're doing.
    filter-server-headersApply filters to the server headers as well. Only enable this if you know what you're doing.
    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).
       
          User Agent string to send:
    + 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.
       
          Editing the settings for this option, or turning it on if it was off, is not yet supported using this web-based @@ -733,32 +1150,32 @@ function show_send_wafer_opts(tf) 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@
    +