X-Git-Url: http://www.privoxy.org/gitweb/?a=blobdiff_plain;f=templates%2Fedit-actions-for-url;h=a79850db2fc15bd714aa95b9c7741a8016ed38d6;hb=69df1f0ec38575d0086e74fb13847df296ebe037;hp=1b9ed4f96f31e104c171f5abf6b85e7aeb82999b;hpb=23009db46e81e5918bda788b31ab5e263d901182;p=privoxy.git diff --git a/templates/edit-actions-for-url b/templates/edit-actions-for-url index 1b9ed4f9..a79850db 100644 --- a/templates/edit-actions-for-url +++ b/templates/edit-actions-for-url @@ -138,18 +138,6 @@ function set_image_blocker_param_disable(tf) } } -function show_add_header_opts(tf) -{ - if (document.getElementById) { - target = document.getElementById("add_header_opts"); - } else if (document.all) { - target = document.add_header_opts; - } else { - return; - } - target.style.display = (tf ? "" : "none"); -} - function show_deanimate_opts(tf) { if (document.getElementById) { @@ -285,27 +273,29 @@ function show_limit_connect_opts(tf) Action Description +@add-header-params@ + name="new_string_action_H_r0" value="Y" + > + name="new_string_action_H_r0" value="N" + > + name="new_string_action_H_r0" value="X" checked + > add-header Adds HTTP headers. - +         - Editing the settings for this option, or turning - it on if it was off, is not yet supported using this web-based - editor. + HTTP client header to add:
+ + +
+ +   + + + client-body-filter * + Filter the client request body. + You can use the radio buttons on this line to disable + all client-body filters applied by previous rules, and/or + you can enable or disable the filters individually below. + +@client-body-filter-params@   suppress-tag Suppress tag. @@ -1162,8 +1165,8 @@ function show_limit_connect_opts(tf)     Tag to suppress:
- - + + @@ -1280,7 +1283,6 @@ if (document.getElementById) { 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_referrer_opts (document.getElementById("hide_referrer_y").checked); @@ -1294,7 +1296,6 @@ if (document.getElementById) { 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_referrer_opts (document.myform.hide_referrer_y.checked);