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 # IJBSWA team. http://ijbswa.sourceforge.net
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.6 2001/11/22 21:58:41 jongfoster
36 # Adding action +no-cookies-keep
38 # Revision 1.5 2001/11/13 21:12:17 jongfoster
39 # Added support for the following actions:
40 # +downgrade, +limit-connect, +no-compression
42 # Revision 1.4 2001/11/13 00:58:18 jongfoster
43 # New version of actions file editor templates
46 ##############################################################################
48 # Browser support for the JavaScript on this page:
49 # MS Internet Explorer 5.5 - Tested, Yes
50 # Netscape 6.0 - Tested, Yes
51 # Netscape 4.75 - Tested, NO
52 # Opera 5.12 - Tested, NO
53 # MS Internet Explorer 4+ - Untested, Yes
54 # MS IE 3.x, NS3.x - Untested, NO
55 # Mozilla >=0.6 - Untested, Yes
57 # All browsers should work, you just might not get the pretty DHTML effects.
59 # The effects that only work under the browsers marked "Yes" above are:
60 # - Text edit boxes that won't have any effect are disabled.
61 # - Table rows containing additional settings are hidden if the feature in
62 # question is disabled.
64 # There are major kludges to get around these problems with NS4, but they
65 # screw up the HTML too much for other browsers. If anyone wants to try,
66 # here's some descriptions of the kludges:
67 # http://www.webreference.com/js/tips/991114.html
68 # http://www.webreference.com/dhtml/column12/outDisplay.html
70 # If you're favorite browser isn't listed, please test and add it.
73 #############################################################################
77 # This file currently produces valid HTML 4.01 Strict.
79 # If you change it, please save the generated page from your web browser
80 # and then upload it to http://validator.w3.org/ for checking.
82 #############################################################################
84 # Available variables include:
90 # deanimate-gifs-param-first
91 # deanimate-gifs-param-last
92 # hide-from-param-block
93 # hide-from-param-custom
95 # hide-referer-param-forge
96 # hide-referer-param-block
97 # hide-referer-param-custom
99 # hide-user-agent-param
100 # image-blocker-param-logo
101 # image-blocker-param-blank
102 # image-blocker-param-custom
103 # image-blocker-param-logo
106 #############################################################################
107 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
111 <meta http-equiv="Content-Style-Type" content="text/css">
112 <meta http-equiv="Content-Script-Type" content="text/javascript">
113 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
114 <meta name="robots" content="noindex,nofollow">
116 <title>JunkBuster: Edit actions</title>
118 <style type="text/css">
119 body { font-family: Helvetica, Helv, Arial, Sans-Serif, sans-serif;
120 background-color: #ffffff;
122 td.action { font-weight: bold;
124 white-space: nowrap }
125 th { font-weight: bold; }
126 # This is the key to the color names below:
127 # bg=background, en="Enable", dis="Disable", noc="No Change", hdr=header
128 # 1=odd rows, 2=even rows, h=Table header
129 tr.hdr { background-color: #999999 }
130 tr.bg1 { background-color: #eeeeee }
131 td.en1 { background-color: #eeffee }
132 td.dis1 { background-color: #ffeeee }
133 td.noc1 { background-color: #eeeeff }
134 tr.bg2 { background-color: #dddddd }
135 td.en2 { background-color: #ddffdd }
136 td.dis2 { background-color: #ffdddd }
137 td.noc2 { background-color: #ddddff }
138 th.enh { background-color: #99ff99 }
139 th.dish { background-color: #ff9999 }
140 th.noch { background-color: #9999ff }
141 table.wide { border-color: white;
143 border-left-width: 10px;
144 border-right-width: 10px;
145 border-top-width: 0px;
146 border-bottom-width: 0px }
147 td.light { background-color: #eeeeee }
148 td.dark { background-color: #dddddd }
149 td.green { background-color: #ddffdd }
152 <script type="text/javascript">
155 function hide_from_param_disable(tf)
157 if (document.getElementById) {
159 document.getElementById("hide_from_param").disabled = tf;
160 } else if (document.all) {
162 document.myform.hide_from_param.disabled = tf;
166 function hide_referer_param_disable(tf)
168 if (document.getElementById) {
169 document.getElementById("hide_referer_param").disabled = tf;
170 } else if (document.all) {
171 document.myform.hide_referer_param.disabled = tf;
175 function image_blocker_param_disable(tf)
177 if (document.getElementById) {
178 document.getElementById("image_blocker_param").disabled = tf;
179 } else if (document.all) {
180 document.myform.image_blocker_param.disabled = tf;
184 function show_add_header_opts(tf)
186 if (document.getElementById) {
187 target = document.getElementById("add_header_opts");
188 } else if (document.all) {
189 target = document.add_header_opts;
193 target.style.display = (tf ? "" : "none");
196 function show_deanimate_opts(tf)
198 if (document.getElementById) {
199 target = document.getElementById("deanimate_opts");
200 } else if (document.all) {
201 target = document.deanimate_opts;
205 target.style.display = (tf ? "" : "none");
208 function show_hide_from_opts(tf)
210 if (document.getElementById) {
211 target = document.getElementById("hide_from_opts");
212 } else if (document.all) {
213 target = document.hide_from_opts;
217 target.style.display = (tf ? "" : "none");
220 function show_hide_referer_opts(tf)
222 if (document.getElementById) {
223 target = document.getElementById("hide_referer_opts");
224 } else if (document.all) {
225 target = document.hide_referer_opts;
229 target.style.display = (tf ? "" : "none");
232 function show_user_agent_opts(tf)
234 if (document.getElementById) {
235 target = document.getElementById("user_agent_opts");
236 } else if (document.all) {
237 target = document.user_agent_opts;
241 target.style.display = (tf ? "" : "none");
244 function show_image_blocker_opts(tf)
246 if (document.getElementById) {
247 target = document.getElementById("image_blocker_opts");
248 } else if (document.all) {
249 target = document.image_blocker_opts;
253 target.style.display = (tf ? "" : "none");
256 function show_limit_connect_opts(tf)
258 if (document.getElementById) {
259 target = document.getElementById("limit_connect_opts");
260 } else if (document.all) {
261 target = document.limit_connect_opts;
265 target.style.display = (tf ? "" : "none");
268 function show_wafer_opts(tf)
270 if (document.getElementById) {
271 target = document.getElementById("wafer_opts");
272 } else if (document.all) {
273 target = document.wafer_opts;
277 target.style.display = (tf ? "" : "none");
286 <form method="GET" action="http://i.j.b/edit-actions-submit" id="myform" name="myform">
288 <table cellpadding="20" cellspacing="10" border="0" width="100%">
291 <p><b><big><big>This is the Internet
292 J</big>UNK</big><i style="color: #ff0000">BUSTER</i><big><big>
293 @version@ on @my-hostname@ (@my-ip-address@),
295 @if-enabled-display-then@Enabled@else-not-enabled-display@Disabled@endif-enabled-display@</big></big></b></p>
299 <!-- @if-unstable-start -->
300 # This will only appear if CODE_STATUS is "alpha" or "beta". See configure.in
302 <td style="background-color: #ffdddd" >
303 <p><b>Please note that this <span style="color: #ff0000">@code-status@</span> release
304 of the proxy software is not intended for production systems!
305 <br>Use at your own risk. See the <a href="http://www.gnu.org/copyleft/gpl.html">license</a> for details.</b>
308 <p>Feel free to <a href="mailto:ijbswa-developers@lists.sourceforge.net">mail the developers</a>
309 with any problems you encounter.
313 <!-- if-unstable-end@ -->
318 <input type="hidden" name="filename" value="@filename@">
319 <input type="hidden" name="ver" value="@ver@">
320 <input type="hidden" name="section" value="@section@">
326 <table border="0" width="100%" cellspacing="0" class="wide">
327 <tr class="hdr" align="left">
331 <th class="enh" align="center">Enable</th>
332 <th class="dish" align="center">Disable</th>
333 <th class="noch" align="center">No Change</th>
335 <tr class="bg1" align="left" valign="top">
336 <td class="action">+add-header</td>
337 <td>Adds HTTP headers.</td>
338 <td class="en1" align="center" valign="middle"><input type="radio"
339 name="add_header" id="add_header_y" value="Y" @add-header-y@
340 onclick="show_add_header_opts(true)"></td>
341 <td class="dis1" align="center" valign="middle"><input type="radio"
342 name="add_header" value="N" @add-header-n@
343 onclick="show_add_header_opts(false)"></td>
344 <td class="noc1" align="center" valign="middle"><input type="radio"
345 name="add_header" value="X" @add-header-x@
346 onclick="show_add_header_opts(false)"></td>
348 <tr class="bg1" align="left" valign="top" id="add_header_opts">
350 <td colspan="4">Editing the settings for this option, or turning
351 it on if it was off, is not yet supported using this web-based
354 <tr class="bg2" align="left" valign="top">
355 <td class="action">+block</td>
356 <td>Block the request</td>
357 <td class="en2" align="center" valign="middle"><input type="radio"
358 name="block" value="Y" @block-y@
360 <td class="dis2" align="center" valign="middle"><input type="radio"
361 name="block" value="N" @block-n@
363 <td class="noc2" align="center" valign="middle"><input type="radio"
364 name="block" value="X" @block-x@
367 <tr class="bg1" align="left" valign="top">
368 <td class="action">+deanimate-gifs</td>
369 <td>Replace animated GIFs with their (first/last) frame.</td>
370 <td class="en1" align="center" valign="middle"><input type="radio"
371 name="deanimate_gifs" id="deanimate_gifs_y" value="Y" @deanimate-gifs-y@
372 onclick="show_deanimate_opts(true)"></td>
373 <td class="dis1" align="center" valign="middle"><input type="radio"
374 name="deanimate_gifs" value="N" @deanimate-gifs-n@
375 onclick="show_deanimate_opts(false)"></td>
376 <td class="noc1" align="center" valign="middle"><input type="radio"
377 name="deanimate_gifs" value="X" @deanimate-gifs-x@
378 onclick="show_deanimate_opts(false)"></td>
380 <tr class="bg1" align="left" valign="top" id="deanimate_opts">
382 <td colspan="4">Use the <input type="radio" name="deanimate_gifs_mode"
383 value="first" id="deanimate_first" @deanimate-gifs-param-first@><label
384 for="deanimate_first">first frame</label> <input
385 type="radio" name="deanimate_gifs_mode" value="last"
386 id="deanimate_last" @deanimate-gifs-param-last@><label
387 for="deanimate_last">last frame</label></td>
389 <tr class="bg2" align="left" valign="top">
390 <td class="action">+fast-redirects</td>
391 <td>Bypass some tracking URLs.</td>
392 <td class="en2" align="center" valign="middle"><input type="radio"
393 name="fast_redirects" value="Y" @fast-redirects-y@
395 <td class="dis2" align="center" valign="middle"><input type="radio"
396 name="fast_redirects" value="N" @fast-redirects-n@
398 <td class="noc2" align="center" valign="middle"><input type="radio"
399 name="fast_redirects" value="X" @fast-redirects-x@
402 <tr class="bg1" align="left" valign="top">
403 <td class="action">+downgrade</td>
404 <td>Change HTTP/1.1 requests to HTTP/1.0. Only change if you know
405 what you're doing!</td>
406 <td class="en1" align="center" valign="middle"><input type="radio"
407 name="downgrade" value="Y" @downgrade-y@></td>
408 <td class="dis1" align="center" valign="middle"><input type="radio"
409 name="downgrade" value="N" @downgrade-n@></td>
410 <td class="noc1" align="center" valign="middle"><input type="radio"
411 name="downgrade" value="X" @downgrade-x@></td>
413 <tr class="bg2" align="left" valign="top">
414 <td class="action">+filter</td>
415 <td>Filter the website through the re_filterfile</td>
416 <td class="en2" align="center" valign="middle"><input type="radio"
417 name="filter" value="Y" @filter-y@
419 <td class="dis2" align="center" valign="middle"><input type="radio"
420 name="filter" value="N" @filter-n@
422 <td class="noc2" align="center" valign="middle"><input type="radio"
423 name="filter" value="X" @filter-x@
426 <tr class="bg1" align="left" valign="top">
427 <td class="action">+hide-forwarded</td>
428 <td>Block any existing X-Forwarded-for header, and do not add a new one.</td>
429 <td class="en1" align="center" valign="middle"><input type="radio"
430 name="hide_forwarded" value="Y" @hide-forwarded-y@
432 <td class="dis1" align="center" valign="middle"><input type="radio"
433 name="hide_forwarded" value="N" @hide-forwarded-n@
435 <td class="noc1" align="center" valign="middle"><input type="radio"
436 name="hide_forwarded" value="X" @hide-forwarded-x@
439 <tr class="bg2" align="left" valign="top">
440 <td class="action">+hide-from</td>
441 <td>Stop old web browsers from sending the user's e-mail address with
443 <td class="en2" align="center" valign="middle"><input type="radio"
444 name="hide_from" id="hide_from_y" value="Y" @hide-from-y@
445 onclick="show_hide_from_opts(true)"></td>
446 <td class="dis2" align="center" valign="middle"><input type="radio"
447 name="hide_from" value="N" @hide-from-n@
448 onclick="show_hide_from_opts(false)"></td>
449 <td class="noc2" align="center" valign="middle"><input type="radio"
450 name="hide_from" value="X" @hide-from-x@
451 onclick="show_hide_from_opts(false)"></td>
453 <tr class="bg2" align="left" valign="top" id="hide_from_opts">
455 <td colspan="4"><input type="radio" name="hide_from_mode" value="block"
456 onclick="hide_from_param_disable(true);"
457 @hide-from-param-block@ id="from_mode_block"><label
458 for="from_mode_block">Remove completely</label><br>
459 <input type="radio" name="hide_from_mode" value="CUSTOM"
460 onclick="hide_from_param_disable(false);"
461 @hide-from-param-custom@ id="from_mode_set"><label
462 for="from_mode_set">Fake e-mail address:</label><br>
463 <input type="text" name="hide_from_param" id="hide_from_param"
464 size="40" value="@hide-from-param@"></td>
466 <tr class="bg1" align="left" valign="top">
467 <td class="action">+hide-referer</td>
468 <td>Helps prevent tracking by not sending the URL of the previous web
470 <td class="en1" align="center" valign="middle"><input type="radio"
471 name="hide_referer" id="hide_referer_y" value="Y" @hide-referer-y@
472 onclick="show_hide_referer_opts(true)"></td>
473 <td class="dis1" align="center" valign="middle"><input type="radio"
474 name="hide_referer" id="hide_referer_n" value="N" @hide-referer-n@
475 onclick="show_hide_referer_opts(false)"></td>
476 <td class="noc1" align="center" valign="middle"><input type="radio"
477 name="hide_referer" id="hide_referer_x" value="X" @hide-referer-x@
478 onclick="show_hide_referer_opts(false)"
481 <tr class="bg1" align="left" valign="top" id="hide_referer_opts">
483 <td colspan="4"><input type="radio" name="hide_referer_mode" value="block"
484 onclick="hide_referer_param_disable(true)"
485 @hide-referer-param-block@ id="referer_mode_block"><label
486 for="referer_mode_block">Remove completely</label> (breaks images
487 on some free web hosts).<br>
488 <input type="radio" name="hide_referer_mode" value="forge"
489 onclick="hide_referer_param_disable(true)"
490 @hide-referer-param-forge@ id="referer_mode_forge"><label
491 for="referer_mode_forge">Fake as the root directory of the
492 site</label> (fools checks for in-site links.)<br>
493 <input type="radio" name="hide_referer_mode" value="CUSTOM"
494 onclick="hide_referer_param_disable(false)"
495 @hide-referer-param-custom@ id="referer_mode_set"><label
496 for="referer_mode_set">Fake as this web address:</label><br>
497 <input type="text" name="hide_referer_param"
498 id="hide_referer_param" size="40"
499 value="@hide-referer-param@"></td>
501 <tr class="bg2" align="left" valign="top">
502 <td class="action">+hide-user-agent</td>
503 <td>Pretend to be using a different web browser. (Breaks many web
505 <td class="en2" align="center" valign="middle"><input type="radio"
506 name="hide_user_agent" id="hide_user_agent_y" value="Y" @hide-user-agent-y@
507 onclick="show_user_agent_opts(true)"></td>
508 <td class="dis2" align="center" valign="middle"><input type="radio"
509 name="hide_user_agent" value="N" @hide-user-agent-n@
510 onclick="show_user_agent_opts(false)"></td>
511 <td class="noc2" align="center" valign="middle"><input type="radio"
512 name="hide_user_agent" value="X" @hide-user-agent-x@
513 onclick="show_user_agent_opts(false)"></td>
515 <tr class="bg2" align="left" valign="top" id="user_agent_opts">
517 <td colspan="4">User Agent string to send:<br>
518 <input type="text" name="hide_user_agent_mode" size="40"
519 value="@hide-user-agent-param@"></td>
521 <tr class="bg1" align="left" valign="top">
522 <td class="action">+image</td>
523 <td>Request is for an image (only useful in conjunction with the <i><b>+block</b></i>
524 and <i><b>+image-blocker</b></i> options).</td>
525 <td class="en1" align="center" valign="middle"><input type="radio"
526 name="image" value="Y" @image-y@
528 <td class="dis1" align="center" valign="middle"><input type="radio"
529 name="image" value="N" @image-n@
531 <td class="noc1" align="center" valign="middle"><input type="radio"
532 name="image" value="X" @image-x@
535 <tr class="bg2" align="left" valign="top">
536 <td class="action">+image-blocker</td>
537 <td>Specifies how to block images. Disable to always send a HTML
538 "blocked" page.</td>
539 <td class="en2" align="center" valign="middle"><input type="radio"
540 name="image_blocker" id="image_blocker_y" value="Y" @image-blocker-y@
541 onclick="show_image_blocker_opts(true)"></td>
542 <td class="dis2" align="center" valign="middle"><input type="radio"
543 name="image_blocker" value="N" @image-blocker-n@
544 onclick="show_image_blocker_opts(false)"></td>
545 <td class="noc2" align="center" valign="middle"><input type="radio"
546 name="image_blocker" value="X" @image-blocker-x@
547 onclick="show_image_blocker_opts(false)"></td>
549 <tr class="bg2" align="left" valign="top" id="image_blocker_opts">
551 <td colspan="4"><input type="radio" name="image_blocker_mode"
552 onclick="image_blocker_param_disable(true)"
553 value="logo" id="image_blocker_mode_logo" @image-blocker-param-logo@><label
554 for="image_blocker_mode_logo">Send Junkbuster logo</label><br>
555 <input type="radio" name="image_blocker_mode" value="blank"
556 onclick="image_blocker_param_disable(true)"
557 id="image_blocker_mode_blank" @image-blocker-param-blank@><label
558 for="image_blocker_mode_blank">Send a 1x1 transparent GIF</label><br>
559 <input type="radio" name="image_blocker_mode" value="CUSTOM"
560 onclick="image_blocker_param_disable(false)"
561 id="image_blocker_mode_set" @image-blocker-param-custom@><label
562 for="image_blocker_mode_set">Redirect
563 the browser to this image URL:</label><br>
564 <input type="text" name="image_blocker_param" id="image_blocker_param"
565 size="40" value="@image-blocker-param@"></td>
567 <tr class="bg1" align="left" valign="top">
568 <td class="action">+limit-connect</td>
569 <td>Specify which ports are allowed for SSL (HTTP CONNECT) access.
570 Note that this allows arbitrary tunnelling, so opening all
571 ports would be a security hole.</td>
572 <td class="en1" align="center" valign="middle"><input type="radio"
573 name="limit_connect" id="limit_connect_y" value="Y" @limit-connect-y@
574 onclick="show_limit_connect_opts(true)"></td>
575 <td class="dis1" align="center" valign="middle"><input type="radio"
576 name="limit_connect" value="N" @limit-connect-n@
577 onclick="show_limit_connect_opts(false)"></td>
578 <td class="noc1" align="center" valign="middle"><input type="radio"
579 name="limit_connect" value="X" @limit-connect-x@
580 onclick="show_limit_connect_opts(false)"></td>
582 <tr class="bg1" align="left" valign="top" id="limit_connect_opts">
584 <td colspan="4">Legal SSL ports (comma separated, ranges allowed):<br>
585 <input type="text" name="limit_connect_mode" size="40"
586 value="@limit-connect-param@"></td>
588 <tr class="bg2" align="left" valign="top">
589 <td class="action">+no-compression</td>
590 <td>Disables compression. Compressed web pages are faster to
591 download, but cannot be filtered with +filter or +no-popups.
592 This setting only affects the few web sites which support
594 <td class="en2" align="center" valign="middle"><input type="radio"
595 name="no_compression" value="Y" @no-compression-y@
597 <td class="dis2" align="center" valign="middle"><input type="radio"
598 name="no_compression" value="N" @no-compression-n@
600 <td class="noc2" align="center" valign="middle"><input type="radio"
601 name="no_compression" value="X" @no-compression-x@
604 <tr class="bg1" align="left" valign="top">
605 <td class="action">+no-cookies-keep</td>
606 <td>Any cookies set by the website are changed to temporary
607 ("per-session") ones, which only last until you close your web
608 browser. This will allow you to use sites that require cookies, but
609 sites will not be able to track you across sessions. For this to
610 be useful, you should disable <b><i>no-cookies-read</i></b> and
611 <b><i>no-cookies-set</i></b>.</td>
612 <td class="en1" align="center" valign="middle"><input type="radio"
613 name="no_cookies_keep" value="Y" @no-cookies-keep-y@
615 <td class="dis1" align="center" valign="middle"><input type="radio"
616 name="no_cookies_keep" value="N" @no-cookies-keep-n@
618 <td class="noc1" align="center" valign="middle"><input type="radio"
619 name="no_cookies_keep" value="X" @no-cookies-keep-x@
622 <tr class="bg2" align="left" valign="top">
623 <td class="action">+no-cookies-read</td>
624 <td>Prevent the website from reading cookies.</td>
625 <td class="en2" align="center" valign="middle"><input type="radio"
626 name="no_cookies_read" value="Y" @no-cookies-read-y@
628 <td class="dis2" align="center" valign="middle"><input type="radio"
629 name="no_cookies_read" value="N" @no-cookies-read-n@
631 <td class="noc2" align="center" valign="middle"><input type="radio"
632 name="no_cookies_read" value="X" @no-cookies-read-x@
635 <tr class="bg1" align="left" valign="top">
636 <td class="action">+no-cookies-set</td>
637 <td>Prevent the website from setting cookies.</td>
638 <td class="en1" align="center" valign="middle"><input type="radio"
639 name="no_cookies_set" value="Y" @no-cookies-set-y@
641 <td class="dis1" align="center" valign="middle"><input type="radio"
642 name="no_cookies_set" value="N" @no-cookies-set-n@
644 <td class="noc1" align="center" valign="middle"><input type="radio"
645 name="no_cookies_set" value="X" @no-cookies-set-x@
648 <tr class="bg2" align="left" valign="top">
649 <td class="action">+no-popups</td>
650 <td>Filter the website through a built-in filter to disable JavaScript
652 <td class="en2" align="center" valign="middle"><input type="radio"
653 name="no_popups" value="Y" @no-popups-y@
655 <td class="dis2" align="center" valign="middle"><input type="radio"
656 name="no_popups" value="N" @no-popups-n@
658 <td class="noc2" align="center" valign="middle"><input type="radio"
659 name="no_popups" value="X" @no-popups-x@
662 <tr class="bg1" align="left" valign="top">
663 <td class="action">+vanilla-wafer</td>
664 <td>If you use a jarfile, automatically adds a special wafer.</td>
665 <td class="en1" align="center" valign="middle"><input type="radio"
666 name="vanilla_wafer" value="Y" @vanilla-wafer-y@
668 <td class="dis1" align="center" valign="middle"><input type="radio"
669 name="vanilla_wafer" value="N" @vanilla-wafer-n@
671 <td class="noc1" align="center" valign="middle"><input type="radio"
672 name="vanilla_wafer" value="X" @vanilla-wafer-x@
675 <tr class="bg2" align="left" valign="top">
676 <td class="action">+wafer</td>
677 <td>Adds user-specified cookies.</td>
678 <td class="en2" align="center" valign="middle"><input type="radio"
679 name="wafer" id="wafer_y" value="Y" @wafer-y@
680 onclick="show_wafer_opts(true)"></td>
681 <td class="dis2" align="center" valign="middle"><input type="radio"
682 name="wafer" id="wafer_n" value="N" @wafer-n@
683 onclick="show_wafer_opts(false)"></td>
684 <td class="noc2" align="center" valign="middle"><input type="radio"
685 name="wafer" id="wafer_x" value="X" @wafer-x@
686 onclick="show_wafer_opts(false)"></td>
688 <tr class="bg2" align="left" valign="top" id="wafer_opts">
690 <td colspan="4">Editing the settings for this option, or turning
691 it on if it was off, is not yet supported using this web-based
697 <script type="text/javascript">
700 if (document.getElementById) {
701 // alert("Netscape 6 or IE5");
702 document.getElementById("hide_from_param").disabled = !(document.getElementById("from_mode_set").checked);
703 document.getElementById("hide_referer_param").disabled = !(document.getElementById("referer_mode_set").checked);
704 document.getElementById("image_blocker_param").disabled = !(document.getElementById("image_blocker_mode_set").checked);
706 show_add_header_opts (document.getElementById("add_header_y").checked);
707 show_deanimate_opts (document.getElementById("deanimate_gifs_y").checked);
708 show_hide_from_opts (document.getElementById("hide_from_y").checked);
709 show_hide_referer_opts (document.getElementById("hide_referer_y").checked);
710 show_user_agent_opts (document.getElementById("hide_user_agent_y").checked);
711 show_image_blocker_opts (document.getElementById("image_blocker_y").checked);
712 show_limit_connect_opts (document.getElementById("limit_connect_y").checked);
713 show_wafer_opts (document.getElementById("wafer_y").checked);
714 } else if (document.all) {
716 document.myform.hide_from_param.disabled = !(document.myform.from_mode_set.checked);
717 document.myform.hide_referer_param.disabled = !(document.myform.referer_mode_set.checked);
718 document.myform.image_blocker_param.disabled = !(document.myform.image_blocker_mode_set.checked);
720 show_add_header_opts (document.myform.add_header_y.checked);
721 show_deanimate_opts (document.myform.deanimate_gifs_y.checked);
722 show_hide_from_opts (document.myform.hide_from_y.checked);
723 show_hide_referer_opts (document.myform.hide_referer_y.checked);
724 show_user_agent_opts (document.myform.hide_user_agent_y.checked);
725 show_image_blocker_opts (document.myform.image_blocker_y.checked);
726 show_limit_connect_opts (document.myform.limit_connect_y.checked);
727 show_wafer_opts (document.myform.wafer_y.checked);
728 } else if (document.layers) {
729 // alert("Netscape 4");
734 <table cellpadding="20" cellspacing="10" border="0" width="100%">
736 <td class="green" align="center">
737 <p><input type="submit" value="Submit" name="Submit"></p>
743 <h2>More Junkbuster:</h2>
748 <!-- @if-have-help-info-start -->
751 <h2>Local Junkbuster support:</h2>
753 <!-- @if-have-proxy-info-start -->
754 <p>You can consult the <a href="@proxy-info-url@">online documentation</a> for more information about this Junkbuster installation.
755 <!-- if-have-proxy-info-end@ -->
757 <!-- @if-have-adminaddr-info-start -->
758 <p>Address e-mail questions about this service to
759 <a href="mailto:@admin-address@"><code>@admin-address@</code></a>,
760 who will be glad to help you.
761 <!-- if-have-adminaddr-info-end@ -->
766 <!-- if-have-help-info-end@ -->
770 <small><small>Valid <a href="http://validator.w3.org/">HTML 4.01 Strict</a></small></small>