1 ##############################################################################
3 # File : $Source: /cvsroot/ijbswa/current/templates/edit-actions-for-url,v $
5 # Purpose : Template used to edit the actions associated with a
6 # particular section in an actions file.
9 # Copyright : Written by and Copyright (C) 2001 the SourceForge
10 # Privoxy team. http://www.privoxy.org/
12 # Original Author: Copyright (C) 2001 Jonathan Foster
13 # http://www.jon-foster.co.uk/
15 # This program is free software; you can redistribute it
16 # and/or modify it under the terms of the GNU General
17 # Public License as published by the Free Software
18 # Foundation; either version 2 of the License, or (at
19 # your option) any later version.
21 # This program is distributed in the hope that it will
22 # be useful, but WITHOUT ANY WARRANTY; without even the
23 # implied warranty of MERCHANTABILITY or FITNESS FOR A
24 # PARTICULAR PURPOSE. See the GNU General Public
25 # License for more details.
27 # The GNU General Public License should be included with
28 # this file. If not, you can view it at
29 # http://www.gnu.org/copyleft/gpl.html
30 # or write to the Free Software Foundation, Inc., 59
31 # Temple Place - Suite 330, Boston, MA 02111-1307, USA.
34 # $Log: edit-actions-for-url,v $
35 # Revision 1.29.2.1 2002/08/02 12:51:42 oes
36 # Added top submit button; Consistency with docs: Change default name for action from hide-referer to hide-referrer
38 # Revision 1.29 2002/05/21 19:10:57 oes
39 # Fixed JavaScript error
41 # Revision 1.28 2002/05/14 21:36:38 oes
42 # - Renamed prevent-(setting/reading)-cookies to
43 # crunch-(incoming/outgoing)-cookies
44 # - Renamed helplink export to actions-help-prefix
45 # - Restored alphabetical order of actions
47 # Revision 1.27 2002/04/26 22:55:26 jongfoster
48 # Removing the alternating colors because they've been wrong
49 # since the actions renames, they're high maintenance, they
50 # don't look particularly good, and now there are gaps between
51 # the table cells we don't need them.
53 # Revision 1.26 2002/04/26 21:55:17 jongfoster
54 # Cosmetic change: Making the +filter UI look the same as
57 # Revision 1.25 2002/04/26 21:37:50 jongfoster
58 # Fixing all(?) the substitutions that were broken in the
59 # recent actions rename.
61 # Revision 1.24 2002/04/26 18:24:28 jongfoster
62 # Fixing typos in help hyperlinks
64 # Revision 1.23 2002/04/26 12:57:02 oes
65 # Actions renamed, alphabetically sorted, comments fixed, and names linked to help
67 # Revision 1.22 2002/04/10 13:32:53 oes
68 # Made templates modular
70 # Revision 1.21 2002/04/08 17:05:18 oes
71 # Inline a style exception
73 # Revision 1.20 2002/04/05 16:01:30 oes
74 # Correct HTML, external Stylesheets, eye candy, some fixes
76 # Revision 1.19 2002/03/26 22:29:56 swa
77 # we have a new homepage!
79 # Revision 1.18 2002/03/24 16:32:08 jongfoster
80 # Removing logo option
82 # Revision 1.17 2002/03/24 15:23:33 jongfoster
85 # Revision 1.16 2002/03/24 11:01:06 swa
88 # Revision 1.15 2002/03/23 16:18:15 swa
89 # renamed every reference to the old name with foobar.
90 # fixed "application foobar application" tag, fixed
91 # "the foobar" with "foobar". left junkbuster in cvs
92 # comments and remarks to history untouched. should
93 # make final rename easier.
95 # Revision 1.14 2002/03/16 15:22:19 jongfoster
96 # Moving 'alpha' warning to the end of the page
98 # Revision 1.13 2002/03/16 14:28:38 jongfoster
99 # First version of modular filters support
101 # Revision 1.12 2002/03/12 01:42:50 oes
102 # Introduced modular filters
104 # Revision 1.11 2002/03/08 18:19:14 jongfoster
105 # Adding +image-blocker{pattern} option to edit interface
107 # Revision 1.10 2002/03/03 10:29:12 swa
108 # point users to the right feedback forms,
109 # not necessarily the developer list.
111 # Revision 1.9 2002/01/23 00:26:45 jongfoster
112 # Reducing length of URLs
113 # Where encoded and unencoded versions of a string existed, removing
116 # Revision 1.8 2002/01/17 21:33:00 jongfoster
117 # Replacing all references to the URL of the config interface
120 # Revision 1.7 2002/01/17 21:21:03 jongfoster
121 # DOS->Unix line endings
123 # Revision 1.6 2001/11/22 21:58:41 jongfoster
124 # Adding action +no-cookies-keep
126 # Revision 1.5 2001/11/13 21:12:17 jongfoster
127 # Added support for the following actions:
128 # +downgrade, +limit-connect, +no-compression
130 # Revision 1.4 2001/11/13 00:58:18 jongfoster
131 # New version of actions file editor templates
134 ##############################################################################
136 # Browser support for the JavaScript on this page:
137 # MS Internet Explorer 5.5 - Tested, Yes
138 # Netscape 6.0 - Tested, Yes
139 # Netscape 4.75 - Tested, NO
140 # Opera 5.12 - Tested, NO
141 # MS Internet Explorer 4+ - Untested, Yes
142 # MS IE 3.x, NS3.x - Untested, NO
143 # Mozilla >=0.6 - Untested, Yes
145 # All browsers should work, you just might not get the pretty DHTML effects.
147 # The effects that only work under the browsers marked "Yes" above are:
148 # - Text edit boxes that won't have any effect are disabled.
149 # - Table rows containing additional settings are hidden if the feature in
150 # question is disabled.
152 # There are major kludges to get around these problems with NS4, but they
153 # screw up the HTML too much for other browsers. If anyone wants to try,
154 # here's some descriptions of the kludges:
155 # http://www.webreference.com/js/tips/991114.html
156 # http://www.webreference.com/dhtml/column12/outDisplay.html
158 # If you're favorite browser isn't listed, please test and add it.
161 #############################################################################
165 # This file currently produces valid HTML 4.01 Strict.
167 # If you change it, please save the generated page from your web browser
168 # and then upload it to http://validator.w3.org/ for checking.
170 #############################################################################
172 # Available variables include:
178 # deanimate-gifs-param-first
179 # deanimate-gifs-param-last
180 # hide-from-param-block
181 # hide-from-param-custom
183 # hide-referrer-param-forge
184 # hide-referrer-param-block
185 # hide-referrer-param-custom
186 # hide-referrer-param
187 # hide-user-agent-param
188 # image-blocker-param-pattern
189 # image-blocker-param-blank
190 # image-blocker-param-custom
193 #############################################################################
194 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
198 <meta http-equiv="Content-Style-Type" content="text/css">
199 <meta http-equiv="Content-Script-Type" content="text/javascript">
200 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
201 <meta name="robots" content="noindex,nofollow">
202 <link rel="stylesheet" type="text/css" href="@default-cgi@send-stylesheet">
204 <title>Privoxy@@my-hostname@: Edit actions</title>
206 <style type="text/css">
207 td.action { font-weight: bold;
209 white-space: nowrap }
210 td.subaction { font-style: italic }
211 th { font-weight: bold; }
212 # This is the key to the color names below:
213 # bg=background, en="Enable", dis="Disable", noc="No Change", hdr=header
214 # 1=odd rows, 2=even rows, h=Table header
215 tr.hdr { background-color: #999999 }
216 tr.bg1 { background-color: #eeeeee }
217 td.en1 { background-color: #ddffdd }
218 td.dis1 { background-color: #ffdddd }
219 td.noc1 { background-color: #ddddff }
220 th.enh { background-color: #99ff99 }
221 th.dish { background-color: #ff9999 }
222 th.noch { background-color: #9999ff }
223 table.wide { padding: 5px; }
224 td.green { border: solid black 1px; background-color: #ddffdd; }
230 border-left-width: 10px;
231 border-right-width: 10px;
232 border-top-width: 0px;
233 border-bottom-width: 0px }
236 <script type="text/javascript">
239 function hide_from_header_param_disable(tf)
241 if (document.getElementById) {
243 document.getElementById("hide_from_header_param").disabled = tf;
244 } else if (document.all) {
246 document.myform.hide_from_header_param.disabled = tf;
250 function hide_referrer_param_disable(tf)
252 if (document.getElementById) {
253 document.getElementById("hide_referrer_param").disabled = tf;
254 } else if (document.all) {
255 document.myform.hide_referrer_param.disabled = tf;
259 function set_image_blocker_param_disable(tf)
261 if (document.getElementById) {
262 document.getElementById("set_image_blocker_param").disabled = tf;
263 } else if (document.all) {
264 document.myform.set_image_blocker_param.disabled = tf;
268 function show_add_header_opts(tf)
270 if (document.getElementById) {
271 target = document.getElementById("add_header_opts");
272 } else if (document.all) {
273 target = document.add_header_opts;
277 target.style.display = (tf ? "" : "none");
280 function show_deanimate_opts(tf)
282 if (document.getElementById) {
283 target = document.getElementById("deanimate_opts");
284 } else if (document.all) {
285 target = document.deanimate_opts;
289 target.style.display = (tf ? "" : "none");
292 function show_hide_from_header_opts(tf)
294 if (document.getElementById) {
295 target = document.getElementById("hide_from_header_opts");
296 } else if (document.all) {
297 target = document.hide_from_header_opts;
301 target.style.display = (tf ? "" : "none");
304 function show_hide_referrer_opts(tf)
306 if (document.getElementById) {
307 target = document.getElementById("hide_referrer_opts");
308 } else if (document.all) {
309 target = document.hide_referrer_opts;
313 target.style.display = (tf ? "" : "none");
316 function show_user_agent_opts(tf)
318 if (document.getElementById) {
319 target = document.getElementById("user_agent_opts");
320 } else if (document.all) {
321 target = document.user_agent_opts;
325 target.style.display = (tf ? "" : "none");
328 function show_set_image_blocker_opts(tf)
330 if (document.getElementById) {
331 target = document.getElementById("set_image_blocker_opts");
332 } else if (document.all) {
333 target = document.set_image_blocker_opts;
337 target.style.display = (tf ? "" : "none");
340 function show_limit_connect_opts(tf)
342 if (document.getElementById) {
343 target = document.getElementById("limit_connect_opts");
344 } else if (document.all) {
345 target = document.limit_connect_opts;
349 target.style.display = (tf ? "" : "none");
352 function show_send_wafer_opts(tf)
354 if (document.getElementById) {
355 target = document.getElementById("send_wafer_opts");
356 } else if (document.all) {
357 target = document.send_wafer_opts;
361 target.style.display = (tf ? "" : "none");
370 <form method="GET" action="edit-actions-submit" id="myform" name="myform">
372 <table cellpadding="20" cellspacing="10" border="0" width="100%">
381 <!-- @if-unstable-start -->
382 # This will only appear if CODE_STATUS is "alpha" or "beta". See configure.in
386 #include mod-unstable-warning
390 <!-- if-unstable-end@ -->
395 <input type="hidden" name="f" value="@f@">
396 <input type="hidden" name="v" value="@v@">
397 <input type="hidden" name="s" value="@s@">
403 <td class="green" align="center">
404 <p><input type="submit" value="Submit" name="Submit"></p>
408 <tr><td class="wrapbox">
410 <table border="0" cellspacing="2" width="100%" class="wide">
411 <tr class="hdr" align="left">
412 <th class="enh" align="center">Enable</th>
413 <th class="dish" align="center">Disable</th>
414 <th class="noch" align="center">No Change</th>
418 <tr class="bg1" align="left" valign="top">
419 <td class="en1" align="center" valign="middle"><input type="radio"
420 name="add_header" id="add_header_y" value="Y" @add-header-y@
421 onclick="show_add_header_opts(true)"></td>
422 <td class="dis1" align="center" valign="middle"><input type="radio"
423 name="add_header" value="N" @add-header-n@
424 onclick="show_add_header_opts(false)"></td>
425 <td class="noc1" align="center" valign="middle"><input type="radio"
426 name="add_header" value="X" @add-header-x@
427 onclick="show_add_header_opts(false)"></td>
428 <td class="action"><a href="@user-manual@@actions-help-prefix@ADD-HEADER">add-header</a></td>
429 <td>Adds HTTP headers.</td>
431 <tr class="bg1" align="left" valign="top" id="add_header_opts">
432 <td class="en1"> </td>
433 <td class="dis1"> </td>
434 <td class="noc1"> </td>
436 <td>Editing the settings for this option, or turning
437 it on if it was off, is not yet supported using this web-based
440 <tr class="bg1" align="left" valign="top">
441 <td class="en1" align="center" valign="middle"><input type="radio"
442 name="block" value="Y" @block-y@
444 <td class="dis1" align="center" valign="middle"><input type="radio"
445 name="block" value="N" @block-n@
447 <td class="noc1" align="center" valign="middle"><input type="radio"
448 name="block" value="X" @block-x@
450 <td class="action"><a href="@user-manual@@actions-help-prefix@BLOCK">block</a></td>
451 <td>Block the request</td>
453 <tr class="bg1" align="left" valign="top">
454 <td class="en1" align="center" valign="middle"><input type="radio"
455 name="crunch_incoming_cookies" value="Y" @crunch-incoming-cookies-y@
457 <td class="dis1" align="center" valign="middle"><input type="radio"
458 name="crunch_incoming_cookies" value="N" @crunch-incoming-cookies-n@
460 <td class="noc1" align="center" valign="middle"><input type="radio"
461 name="crunch_incoming_cookies" value="X" @crunch-incoming-cookies-x@
463 <td class="action"><a href="@user-manual@@actions-help-prefix@CRUNCH-INCOMING-COOKIES">crunch-incoming-cookies</a></td>
464 <td>Prevent the website from setting cookies on your system.</td>
466 <tr class="bg1" align="left" valign="top">
467 <td class="en1" align="center" valign="middle"><input type="radio"
468 name="crunch_outgoing_cookies" value="Y" @crunch-outgoing-cookies-y@
470 <td class="dis1" align="center" valign="middle"><input type="radio"
471 name="crunch_outgoing_cookies" value="N" @crunch-outgoing-cookies-n@
473 <td class="noc1" align="center" valign="middle"><input type="radio"
474 name="crunch_outgoing_cookies" value="X" @crunch-outgoing-cookies-x@
476 <td class="action"><a href="@user-manual@@actions-help-prefix@CRUNCH-OUTGOING-COOKIES">crunch-outgoing-cookies</a></td>
477 <td>Prevent the website from reading cookies from your system.</td>
479 <tr class="bg1" align="left" valign="top">
480 <td class="en1" align="center" valign="middle"><input type="radio"
481 name="deanimate_gifs" id="deanimate_gifs_y" value="Y" @deanimate-gifs-y@
482 onclick="show_deanimate_opts(true)"></td>
483 <td class="dis1" align="center" valign="middle"><input type="radio"
484 name="deanimate_gifs" value="N" @deanimate-gifs-n@
485 onclick="show_deanimate_opts(false)"></td>
486 <td class="noc1" align="center" valign="middle"><input type="radio"
487 name="deanimate_gifs" value="X" @deanimate-gifs-x@
488 onclick="show_deanimate_opts(false)"></td>
489 <td class="action"><a href="@user-manual@@actions-help-prefix@DEANIMATE-GIFS">deanimate-gifs</a></td>
490 <td>Replace animated GIFs with their (first/last) frame.</td>
492 <tr class="bg1" align="left" valign="top" id="deanimate_opts">
493 <td class="en1"> </td>
494 <td class="dis1"> </td>
495 <td class="noc1"> </td>
497 <td>Use the <input type="radio" name="deanimate_gifs_mode"
498 value="first" id="deanimate_first" @deanimate-gifs-param-first@><label
499 for="deanimate_first">first frame</label> <input
500 type="radio" name="deanimate_gifs_mode" value="last"
501 id="deanimate_last" @deanimate-gifs-param-last@><label
502 for="deanimate_last">last frame</label></td>
504 <tr class="bg1" align="left" valign="top">
505 <td class="en1" align="center" valign="middle"><input type="radio"
506 name="downgrade_http_version" value="Y" @downgrade-http-version-y@></td>
507 <td class="dis1" align="center" valign="middle"><input type="radio"
508 name="downgrade_http_version" value="N" @downgrade-http-version-n@></td>
509 <td class="noc1" align="center" valign="middle"><input type="radio"
510 name="downgrade_http_version" value="X" @downgrade-http-version-x@></td>
511 <td class="action"><a href="@user-manual@@actions-help-prefix@DOWNGRADE-HTTP-VERSION">downgrade-http-version</td>
512 <td>Change HTTP/1.1 requests to HTTP/1.0. Only change if you know
513 what you're doing!</td>
515 <tr class="bg1" align="left" valign="top">
516 <td class="en1" align="center" valign="middle"><input type="radio"
517 name="fast_redirects" value="Y" @fast-redirects-y@
519 <td class="dis1" align="center" valign="middle"><input type="radio"
520 name="fast_redirects" value="N" @fast-redirects-n@
522 <td class="noc1" align="center" valign="middle"><input type="radio"
523 name="fast_redirects" value="X" @fast-redirects-x@
525 <td class="action"><a href="@user-manual@@actions-help-prefix@FAST-REDIRECTS">fast-redirects</a></td>
526 <td>Bypass some click-tracking URLs.</td>
529 <tr class="bg1" align="left" valign="top">
530 <td class="en1"> </td>
531 <td class="dis1" align="center" valign="middle"><input type="radio"
532 name="filter_all" id="filter_all_n" value="N" @filter-all-n@ ></td>
533 <td class="noc1" align="center" valign="middle"><input type="radio"
534 name="filter_all" id="filter_all_x" value="X" @filter-all-x@ ></td>
535 <td class="action"><a href="@user-manual@@actions-help-prefix@FILTER">filter</a> *</td>
536 <td>Filter the website through regular expression
537 filters. You can use the radio buttons on this line to disable
538 all filters applied by previous rules, and/or you can enable or
539 disable the filters individually below.</td>
542 <tr class="bg1" align="left" valign="top">
543 <td class="en1" align="center" valign="middle"><input type="radio"
544 name="handle_as_image" value="Y" @handle-as-image-y@
546 <td class="dis1" align="center" valign="middle"><input type="radio"
547 name="handle_as_image" value="N" @handle-as-image-n@
549 <td class="noc1" align="center" valign="middle"><input type="radio"
550 name="handle_as_image" value="X" @handle-as-image-x@
552 <td class="action"><a href="@user-manual@@actions-help-prefix@HANDLE-AS-IMAGE">handle-as-image</a></td>
553 <td>Request is for an image (only useful in conjunction with the <i><b><a href="@user-manual@@actions-help-prefix@BLOCK">block</a></b></i>
554 and <i><b><a href="@user-manual@@actions-help-prefix@SET-IMAGE-BLOCKER">set-image-blocker</a></b></i> actions).</td>
556 <tr class="bg1" align="left" valign="top">
557 <td class="en1" align="center" valign="middle"><input type="radio"
558 name="hide_forwarded_for_headers" value="Y" @hide-forwarded-for-headers-y@
560 <td class="dis1" align="center" valign="middle"><input type="radio"
561 name="hide_forwarded_for_headers" value="N" @hide-forwarded-for-headers-n@
563 <td class="noc1" align="center" valign="middle"><input type="radio"
564 name="hide_forwarded_for_headers" value="X" @hide-forwarded-for-headers-x@
566 <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE-FORWARDED-FOR-HEADERS">hide-forwarded-for-headers</a></td>
567 <td>Block any existing X-Forwarded-for header, and do not add a new one.</td>
569 <tr class="bg1" align="left" valign="top">
570 <td class="en1" align="center" valign="middle"><input type="radio"
571 name="hide_from_header" id="hide_from_header_y" value="Y" @hide-from-header-y@
572 onclick="show_hide_from_header_opts(true)"></td>
573 <td class="dis1" align="center" valign="middle"><input type="radio"
574 name="hide_from_header" value="N" @hide-from-header-n@
575 onclick="show_hide_from_header_opts(false)"></td>
576 <td class="noc1" align="center" valign="middle"><input type="radio"
577 name="hide_from_header" value="X" @hide-from-header-x@
578 onclick="show_hide_from_header_opts(false)"></td>
579 <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE-FROM-HEADER">hide-from-header</a></td>
580 <td>Stop old web browsers from sending the user's e-mail address with
583 <tr class="bg1" align="left" valign="top" id="hide_from_header_opts">
584 <td class="en1"> </td>
585 <td class="dis1"> </td>
586 <td class="noc1"> </td>
588 <td><input type="radio" name="hide_from_header_mode" value="block"
589 onclick="hide_from_header_param_disable(true);"
590 @hide-from-header-param-block@ id="hide_from_header_mode_block"><label
591 for="hide_from_header_mode_block">Remove completely</label><br>
592 <input type="radio" name="hide_from_header_mode" value="CUSTOM"
593 onclick="hide_from_header_param_disable(false);"
594 @hide-from-header-param-custom@ id="hide_from_header_mode_set"><label
595 for="hide_from_header_mode_set">Fake e-mail address:</label><br>
596 <input type="text" name="hide_from_header_param" id="hide_from_header_param"
597 size="40" value="@hide-from-header-param@"></td>
599 <tr class="bg1" align="left" valign="top">
600 <td class="en1" align="center" valign="middle"><input type="radio"
601 name="hide_referrer" id="hide_referrer_y" value="Y" @hide-referrer-y@
602 onclick="show_hide_referrer_opts(true)"></td>
603 <td class="dis1" align="center" valign="middle"><input type="radio"
604 name="hide_referrer" id="hide_referrer_n" value="N" @hide-referrer-n@
605 onclick="show_hide_referrer_opts(false)"></td>
606 <td class="noc1" align="center" valign="middle"><input type="radio"
607 name="hide_referrer" id="hide_referrer_x" value="X" @hide-referrer-x@
608 onclick="show_hide_referrer_opts(false)"
610 <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE-REFERRER">hide-referrer</a></td>
611 <td>Helps prevent tracking by not sending the URL of the previous web
614 <tr class="bg1" align="left" valign="top" id="hide_referrer_opts">
615 <td class="en1"> </td>
616 <td class="dis1"> </td>
617 <td class="noc1"> </td>
619 <td><input type="radio" name="hide_referrer_mode" value="block"
620 onclick="hide_referrer_param_disable(true)"
621 @hide-referrer-param-block@ id="hide_referrer_mode_block"><label
622 for="hide_referrer_mode_block">Remove completely</label> (breaks images
623 on some free web hosts).<br>
624 <input type="radio" name="hide_referrer_mode" value="forge"
625 onclick="hide_referrer_param_disable(true)"
626 @hide-referrer-param-forge@ id="hide_referrer_mode_forge"><label
627 for="hide_referrer_mode_forge">Fake as the root directory of the
628 site</label> (fools checks for in-site links.)<br>
629 <input type="radio" name="hide_referrer_mode" value="CUSTOM"
630 onclick="hide_referrer_param_disable(false)"
631 @hide-referrer-param-custom@ id="hide_referrer_mode_set"><label
632 for="hide_referrer_mode_set">Fake as this web address:</label><br>
633 <input type="text" name="hide_referrer_param"
634 id="hide_referrer_param" size="40"
635 value="@hide-referrer-param@"></td>
637 <tr class="bg1" align="left" valign="top">
638 <td class="en1" align="center" valign="middle"><input type="radio"
639 name="hide_user_agent" id="hide_user_agent_y" value="Y" @hide-user-agent-y@
640 onclick="show_user_agent_opts(true)"></td>
641 <td class="dis1" align="center" valign="middle"><input type="radio"
642 name="hide_user_agent" value="N" @hide-user-agent-n@
643 onclick="show_user_agent_opts(false)"></td>
644 <td class="noc1" align="center" valign="middle"><input type="radio"
645 name="hide_user_agent" value="X" @hide-user-agent-x@
646 onclick="show_user_agent_opts(false)"></td>
647 <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE-USER-AGENT">hide-user-agent</a></td>
648 <td>Pretend to be using a different web browser. (Breaks many web
651 <tr class="bg1" align="left" valign="top" id="user_agent_opts">
652 <td class="en1"> </td>
653 <td class="dis1"> </td>
654 <td class="noc1"> </td>
656 <td>User Agent string to send:<br>
657 <input type="text" name="hide_user_agent_mode" size="40"
658 value="@hide-user-agent-param@"></td>
660 <tr class="bg1" align="left" valign="top">
661 <td class="en1" align="center" valign="middle"><input type="radio"
662 name="kill_popups" value="Y" @kill-popups-y@
664 <td class="dis1" align="center" valign="middle"><input type="radio"
665 name="kill_popups" value="N" @kill-popups-n@
667 <td class="noc1" align="center" valign="middle"><input type="radio"
668 name="kill_popups" value="X" @kill-popups-x@
670 <td class="action"><a href="@user-manual@@actions-help-prefix@KILL-POPUPS">kill-popups</td>
671 <td>Filter the website through a built-in filter to disable many JavaScript
674 <tr class="bg1" align="left" valign="top">
675 <td class="en1" align="center" valign="middle"><input type="radio"
676 name="limit_connect" id="limit_connect_y" value="Y" @limit-connect-y@
677 onclick="show_limit_connect_opts(true)"></td>
678 <td class="dis1" align="center" valign="middle"><input type="radio"
679 name="limit_connect" value="N" @limit-connect-n@
680 onclick="show_limit_connect_opts(false)"></td>
681 <td class="noc1" align="center" valign="middle"><input type="radio"
682 name="limit_connect" value="X" @limit-connect-x@
683 onclick="show_limit_connect_opts(false)"></td>
684 <td class="action"><a href="@user-manual@@actions-help-prefix@LIMIT-CONNECT">limit-connect</a></td>
685 <td>Specify which ports are allowed for SSL (HTTP CONNECT) access.
686 Note that this allows arbitrary tunnelling, so opening all
687 ports would be a security hole.</td>
689 <tr class="bg1" align="left" valign="top" id="limit_connect_opts">
690 <td class="en1"> </td>
691 <td class="dis1"> </td>
692 <td class="noc1"> </td>
694 <td>Legal SSL ports (comma separated, ranges allowed):<br>
695 <input type="text" name="limit_connect_mode" size="40"
696 value="@limit-connect-param@"></td>
698 <tr class="bg1" align="left" valign="top">
699 <td class="en1" align="center" valign="middle"><input type="radio"
700 name="prevent_compression" value="Y" @prevent-compression-y@
702 <td class="dis1" align="center" valign="middle"><input type="radio"
703 name="prevent_compression" value="N" @prevent-compression-n@
705 <td class="noc1" align="center" valign="middle"><input type="radio"
706 name="prevent_compression" value="X" @prevent-compression-x@
708 <td class="action"><a href="@user-manual@@actions-help-prefix@PREVENT-COMPRESSION">prevent-compression</a></td>
709 <td>Disables compression. Compressed web pages are faster to
710 download, but cannot be filtered with <a href="@user-manual@@actions-help-prefix@FILTER"><b>filter</b></a>
711 or <a href="@user-manual@@actions-help-prefix@KILL-POPUPS"><b>kill-popups</b></a>.
712 This setting only affects the few web sites which support
715 <tr class="bg1" align="left" valign="top">
716 <td class="en1" align="center" valign="middle"><input type="radio"
717 name="send_vanilla_wafer" value="Y" @send-vanilla-wafer-y@
719 <td class="dis1" align="center" valign="middle"><input type="radio"
720 name="send_vanilla_wafer" value="N" @send-vanilla-wafer-n@
722 <td class="noc1" align="center" valign="middle"><input type="radio"
723 name="send_vanilla_wafer" value="X" @send-vanilla-wafer-x@
725 <td class="action"><a href="@user-manual@@actions-help-prefix@SEND-VANILLA-WAFER">send-vanilla-wafer</a></td>
726 <td>Adds a special wafer (standard cookie) to all your requests.</td>
728 <tr class="bg1" align="left" valign="top">
729 <td class="en1" align="center" valign="middle"><input type="radio"
730 name="send_wafer" id="send_wafer_y" value="Y" @send-wafer-y@
731 onclick="show_send_wafer_opts(true)"></td>
732 <td class="dis1" align="center" valign="middle"><input type="radio"
733 name="send_wafer" id="send_wafer_n" value="N" @send-wafer-n@
734 onclick="show_send_wafer_opts(false)"></td>
735 <td class="noc1" align="center" valign="middle"><input type="radio"
736 name="send_wafer" id="send_wafer_x" value="X" @send-wafer-x@
737 onclick="show_send_wafer_opts(false)"></td>
738 <td class="action"><a href="@user-manual@@actions-help-prefix@SEND-WAFER">send-wafer</a></td>
739 <td>Adds user-specified cookies.</td>
741 <tr class="bg1" align="left" valign="top" id="send_wafer_opts">
742 <td class="en1"> </td>
743 <td class="dis1"> </td>
744 <td class="noc1"> </td>
746 <td>Editing the settings for this option, or turning
747 it on if it was off, is not yet supported using this web-based
750 <tr class="bg1" align="left" valign="top">
751 <td class="en1" align="center" valign="middle"><input type="radio"
752 name="session_cookies_only" value="Y" @session-cookies-only-y@
754 <td class="dis1" align="center" valign="middle"><input type="radio"
755 name="session_cookies_only" value="N" @session-cookies-only-n@
757 <td class="noc1" align="center" valign="middle"><input type="radio"
758 name="session_cookies_only" value="X" @session-cookies-only-x@
760 <td class="action"><a href="@user-manual@@actions-help-prefix@SESSION-COOKIES-ONLY">session-cookies-only</a></td>
761 <td>Any cookies set by the website are changed to temporary
762 ("per-session") ones, which only last until you close your web
763 browser. This will allow you to use sites that require cookies, but
764 sites will not be able to track you across sessions. For this to
765 be useful, you should disable
766 <a href="@user-manual@@actions-help-prefix@CRUNCH-OUTGOING-COOKIES"><b>crunch-outgoing-cookies</b></a> and
767 <a href="@user-manual@@actions-help-prefix@CRUNCH-INCOMING-COOKIES"><b>crunch-incoming-cookies</b></a>.</td>
769 <tr class="bg1" align="left" valign="top">
770 <td class="en1" align="center" valign="middle"><input type="radio"
771 name="set_image_blocker" id="set_image_blocker_y" value="Y" @set-image-blocker-y@
772 onclick="show_set_image_blocker_opts(true)"></td>
773 <td class="dis1" align="center" valign="middle"><input type="radio"
774 name="set_image_blocker" value="N" @set-image-blocker-n@
775 onclick="show_set_image_blocker_opts(false)"></td>
776 <td class="noc1" align="center" valign="middle"><input type="radio"
777 name="set_image_blocker" value="X" @set-image-blocker-x@
778 onclick="show_set_image_blocker_opts(false)"></td>
779 <td class="action"><a href="@user-manual@@actions-help-prefix@SET-IMAGE-BLOCKER">set-image-blocker</a></td>
780 <td>Specifies how to block images.</td>
782 <tr class="bg1" align="left" valign="top" id="set_image_blocker_opts">
783 <td class="en1"> </td>
784 <td class="dis1"> </td>
785 <td class="noc1"> </td>
787 <td><input type="radio" name="set_image_blocker_mode"
788 onclick="set_image_blocker_param_disable(true)"
789 value="pattern" id="set_image_blocker_mode_pattern"
790 @set-image-blocker-param-pattern@><label
791 for="set_image_blocker_mode_pattern">Send a pattern (<img
792 src="send-banner?type=p" width="12" height="12"
793 alt="pattern">)</label><br>
794 <input type="radio" name="set_image_blocker_mode" value="blank"
795 onclick="set_image_blocker_param_disable(true)"
796 id="set_image_blocker_mode_blank" @set-image-blocker-param-blank@><label
797 for="set_image_blocker_mode_blank">Send a 1x1 transparent GIF</label><br>
798 <input type="radio" name="set_image_blocker_mode" value="CUSTOM"
799 onclick="set_image_blocker_param_disable(false)"
800 id="set_image_blocker_mode_set" @set-image-blocker-param-custom@><label
801 for="set_image_blocker_mode_set">Redirect
802 the browser to this image URL:</label><br>
803 <input type="text" name="set_image_blocker_param" id="set_image_blocker_param"
804 size="40" value="@set-image-blocker-param@"></td>
811 <td class="green" align="center">
812 <p><input type="submit" value="Submit" name="Submit"></p>
818 <h2>More Privoxy:</h2>
819 <ul>@menu@<li><a href="@user-manual@">Documentation</a></li></ul>
826 #include mod-support-and-service
831 <!-- @if-have-help-info-start -->
835 #include mod-local-help
839 <!-- if-have-help-info-end@ -->
843 <small><small>Valid <a href="http://validator.w3.org/">HTML 4.01 Strict</a></small></small>
851 <script type="text/javascript">
854 if (document.getElementById) {
855 // alert("Netscape 6 or IE5");
856 document.getElementById("hide_from_header_param").disabled = !(document.getElementById("hide_from_header_mode_set").checked);
857 document.getElementById("hide_referrer_param").disabled = !(document.getElementById("hide_referrer_mode_set").checked);
858 document.getElementById("set_image_blocker_param").disabled = !(document.getElementById("set_image_blocker_mode_set").checked);
860 show_add_header_opts (document.getElementById("add_header_y").checked);
861 show_deanimate_opts (document.getElementById("deanimate_gifs_y").checked);
862 show_hide_from_header_opts(document.getElementById("hide_from_header_y").checked);
863 show_hide_referrer_opts (document.getElementById("hide_referrer_y").checked);
864 show_user_agent_opts (document.getElementById("hide_user_agent_y").checked);
865 show_set_image_blocker_opts (document.getElementById("set_image_blocker_y").checked);
866 show_limit_connect_opts (document.getElementById("limit_connect_y").checked);
867 show_send_wafer_opts (document.getElementById("wafer_y").checked);
868 } else if (document.all) {
870 document.myform.hide_from_header_param.disabled = !(document.myform.hide_from_header_mode_set.checked);
871 document.myform.hide_referrer_param.disabled = !(document.myform.hide_referrer_mode_set.checked);
872 document.myform.set_image_blocker_param.disabled = !(document.myform.set_image_blocker_mode_set.checked);
874 show_add_header_opts (document.myform.add_header_y.checked);
875 show_deanimate_opts (document.myform.deanimate_gifs_y.checked);
876 show_hide_from_header_opts (document.myform.hide_from_header_y.checked);
877 show_hide_referrer_opts (document.myform.hide_referrer_y.checked);
878 show_user_agent_opts (document.myform.hide_user_agent_y.checked);
879 show_set_image_blocker_opts (document.myform.set_image_blocker_y.checked);
880 show_limit_connect_opts (document.myform.limit_connect_y.checked);
881 show_send_wafer_opts (document.myform.wafer_y.checked);
882 } else if (document.layers) {
883 // alert("Netscape 4");