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.8 2002/01/17 21:33:00 jongfoster
36 # Replacing all references to the URL of the config interface
39 # Revision 1.7 2002/01/17 21:21:03 jongfoster
40 # DOS->Unix line endings
42 # Revision 1.6 2001/11/22 21:58:41 jongfoster
43 # Adding action +no-cookies-keep
45 # Revision 1.5 2001/11/13 21:12:17 jongfoster
46 # Added support for the following actions:
47 # +downgrade, +limit-connect, +no-compression
49 # Revision 1.4 2001/11/13 00:58:18 jongfoster
50 # New version of actions file editor templates
53 ##############################################################################
55 # Browser support for the JavaScript on this page:
56 # MS Internet Explorer 5.5 - Tested, Yes
57 # Netscape 6.0 - Tested, Yes
58 # Netscape 4.75 - Tested, NO
59 # Opera 5.12 - Tested, NO
60 # MS Internet Explorer 4+ - Untested, Yes
61 # MS IE 3.x, NS3.x - Untested, NO
62 # Mozilla >=0.6 - Untested, Yes
64 # All browsers should work, you just might not get the pretty DHTML effects.
66 # The effects that only work under the browsers marked "Yes" above are:
67 # - Text edit boxes that won't have any effect are disabled.
68 # - Table rows containing additional settings are hidden if the feature in
69 # question is disabled.
71 # There are major kludges to get around these problems with NS4, but they
72 # screw up the HTML too much for other browsers. If anyone wants to try,
73 # here's some descriptions of the kludges:
74 # http://www.webreference.com/js/tips/991114.html
75 # http://www.webreference.com/dhtml/column12/outDisplay.html
77 # If you're favorite browser isn't listed, please test and add it.
80 #############################################################################
84 # This file currently produces valid HTML 4.01 Strict.
86 # If you change it, please save the generated page from your web browser
87 # and then upload it to http://validator.w3.org/ for checking.
89 #############################################################################
91 # Available variables include:
97 # deanimate-gifs-param-first
98 # deanimate-gifs-param-last
99 # hide-from-param-block
100 # hide-from-param-custom
102 # hide-referer-param-forge
103 # hide-referer-param-block
104 # hide-referer-param-custom
106 # hide-user-agent-param
107 # image-blocker-param-logo
108 # image-blocker-param-blank
109 # image-blocker-param-custom
110 # image-blocker-param-logo
113 #############################################################################
114 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
118 <meta http-equiv="Content-Style-Type" content="text/css">
119 <meta http-equiv="Content-Script-Type" content="text/javascript">
120 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
121 <meta name="robots" content="noindex,nofollow">
123 <title>JunkBuster: Edit actions</title>
125 <style type="text/css">
126 body { font-family: Helvetica, Helv, Arial, Sans-Serif, sans-serif;
127 background-color: #ffffff;
129 td.action { font-weight: bold;
131 white-space: nowrap }
132 th { font-weight: bold; }
133 # This is the key to the color names below:
134 # bg=background, en="Enable", dis="Disable", noc="No Change", hdr=header
135 # 1=odd rows, 2=even rows, h=Table header
136 tr.hdr { background-color: #999999 }
137 tr.bg1 { background-color: #eeeeee }
138 td.en1 { background-color: #eeffee }
139 td.dis1 { background-color: #ffeeee }
140 td.noc1 { background-color: #eeeeff }
141 tr.bg2 { background-color: #dddddd }
142 td.en2 { background-color: #ddffdd }
143 td.dis2 { background-color: #ffdddd }
144 td.noc2 { background-color: #ddddff }
145 th.enh { background-color: #99ff99 }
146 th.dish { background-color: #ff9999 }
147 th.noch { background-color: #9999ff }
148 table.wide { border-color: white;
150 border-left-width: 10px;
151 border-right-width: 10px;
152 border-top-width: 0px;
153 border-bottom-width: 0px }
154 td.light { background-color: #eeeeee }
155 td.dark { background-color: #dddddd }
156 td.green { background-color: #ddffdd }
159 <script type="text/javascript">
162 function hide_from_param_disable(tf)
164 if (document.getElementById) {
166 document.getElementById("hide_from_param").disabled = tf;
167 } else if (document.all) {
169 document.myform.hide_from_param.disabled = tf;
173 function hide_referer_param_disable(tf)
175 if (document.getElementById) {
176 document.getElementById("hide_referer_param").disabled = tf;
177 } else if (document.all) {
178 document.myform.hide_referer_param.disabled = tf;
182 function image_blocker_param_disable(tf)
184 if (document.getElementById) {
185 document.getElementById("image_blocker_param").disabled = tf;
186 } else if (document.all) {
187 document.myform.image_blocker_param.disabled = tf;
191 function show_add_header_opts(tf)
193 if (document.getElementById) {
194 target = document.getElementById("add_header_opts");
195 } else if (document.all) {
196 target = document.add_header_opts;
200 target.style.display = (tf ? "" : "none");
203 function show_deanimate_opts(tf)
205 if (document.getElementById) {
206 target = document.getElementById("deanimate_opts");
207 } else if (document.all) {
208 target = document.deanimate_opts;
212 target.style.display = (tf ? "" : "none");
215 function show_hide_from_opts(tf)
217 if (document.getElementById) {
218 target = document.getElementById("hide_from_opts");
219 } else if (document.all) {
220 target = document.hide_from_opts;
224 target.style.display = (tf ? "" : "none");
227 function show_hide_referer_opts(tf)
229 if (document.getElementById) {
230 target = document.getElementById("hide_referer_opts");
231 } else if (document.all) {
232 target = document.hide_referer_opts;
236 target.style.display = (tf ? "" : "none");
239 function show_user_agent_opts(tf)
241 if (document.getElementById) {
242 target = document.getElementById("user_agent_opts");
243 } else if (document.all) {
244 target = document.user_agent_opts;
248 target.style.display = (tf ? "" : "none");
251 function show_image_blocker_opts(tf)
253 if (document.getElementById) {
254 target = document.getElementById("image_blocker_opts");
255 } else if (document.all) {
256 target = document.image_blocker_opts;
260 target.style.display = (tf ? "" : "none");
263 function show_limit_connect_opts(tf)
265 if (document.getElementById) {
266 target = document.getElementById("limit_connect_opts");
267 } else if (document.all) {
268 target = document.limit_connect_opts;
272 target.style.display = (tf ? "" : "none");
275 function show_wafer_opts(tf)
277 if (document.getElementById) {
278 target = document.getElementById("wafer_opts");
279 } else if (document.all) {
280 target = document.wafer_opts;
284 target.style.display = (tf ? "" : "none");
293 <form method="GET" action="edit-actions-submit" id="myform" name="myform">
295 <table cellpadding="20" cellspacing="10" border="0" width="100%">
298 <p><b><big><big>This is the Internet
299 J</big>UNK</big><i style="color: #ff0000">BUSTER</i><big><big>
300 @version@ on @my-hostname@ (@my-ip-address@),
302 @if-enabled-display-then@Enabled@else-not-enabled-display@Disabled@endif-enabled-display@</big></big></b></p>
306 <!-- @if-unstable-start -->
307 # This will only appear if CODE_STATUS is "alpha" or "beta". See configure.in
309 <td style="background-color: #ffdddd" >
310 <p><b>Please note that this <span style="color: #ff0000">@code-status@</span> release
311 of the proxy software is not intended for production systems!
312 <br>Use at your own risk. See the <a href="http://www.gnu.org/copyleft/gpl.html">license</a> for details.</b>
315 <p>Feel free to <a href="mailto:ijbswa-developers@lists.sourceforge.net">mail the developers</a>
316 with any problems you encounter.
320 <!-- if-unstable-end@ -->
325 <input type="hidden" name="f" value="@f@">
326 <input type="hidden" name="v" value="@v@">
327 <input type="hidden" name="s" value="@s@">
333 <table border="0" width="100%" cellspacing="0" class="wide">
334 <tr class="hdr" align="left">
338 <th class="enh" align="center">Enable</th>
339 <th class="dish" align="center">Disable</th>
340 <th class="noch" align="center">No Change</th>
342 <tr class="bg1" align="left" valign="top">
343 <td class="action">+add-header</td>
344 <td>Adds HTTP headers.</td>
345 <td class="en1" align="center" valign="middle"><input type="radio"
346 name="add_header" id="add_header_y" value="Y" @add-header-y@
347 onclick="show_add_header_opts(true)"></td>
348 <td class="dis1" align="center" valign="middle"><input type="radio"
349 name="add_header" value="N" @add-header-n@
350 onclick="show_add_header_opts(false)"></td>
351 <td class="noc1" align="center" valign="middle"><input type="radio"
352 name="add_header" value="X" @add-header-x@
353 onclick="show_add_header_opts(false)"></td>
355 <tr class="bg1" align="left" valign="top" id="add_header_opts">
357 <td colspan="4">Editing the settings for this option, or turning
358 it on if it was off, is not yet supported using this web-based
361 <tr class="bg2" align="left" valign="top">
362 <td class="action">+block</td>
363 <td>Block the request</td>
364 <td class="en2" align="center" valign="middle"><input type="radio"
365 name="block" value="Y" @block-y@
367 <td class="dis2" align="center" valign="middle"><input type="radio"
368 name="block" value="N" @block-n@
370 <td class="noc2" align="center" valign="middle"><input type="radio"
371 name="block" value="X" @block-x@
374 <tr class="bg1" align="left" valign="top">
375 <td class="action">+deanimate-gifs</td>
376 <td>Replace animated GIFs with their (first/last) frame.</td>
377 <td class="en1" align="center" valign="middle"><input type="radio"
378 name="deanimate_gifs" id="deanimate_gifs_y" value="Y" @deanimate-gifs-y@
379 onclick="show_deanimate_opts(true)"></td>
380 <td class="dis1" align="center" valign="middle"><input type="radio"
381 name="deanimate_gifs" value="N" @deanimate-gifs-n@
382 onclick="show_deanimate_opts(false)"></td>
383 <td class="noc1" align="center" valign="middle"><input type="radio"
384 name="deanimate_gifs" value="X" @deanimate-gifs-x@
385 onclick="show_deanimate_opts(false)"></td>
387 <tr class="bg1" align="left" valign="top" id="deanimate_opts">
389 <td colspan="4">Use the <input type="radio" name="deanimate_gifs_mode"
390 value="first" id="deanimate_first" @deanimate-gifs-param-first@><label
391 for="deanimate_first">first frame</label> <input
392 type="radio" name="deanimate_gifs_mode" value="last"
393 id="deanimate_last" @deanimate-gifs-param-last@><label
394 for="deanimate_last">last frame</label></td>
396 <tr class="bg2" align="left" valign="top">
397 <td class="action">+fast-redirects</td>
398 <td>Bypass some tracking URLs.</td>
399 <td class="en2" align="center" valign="middle"><input type="radio"
400 name="fast_redirects" value="Y" @fast-redirects-y@
402 <td class="dis2" align="center" valign="middle"><input type="radio"
403 name="fast_redirects" value="N" @fast-redirects-n@
405 <td class="noc2" align="center" valign="middle"><input type="radio"
406 name="fast_redirects" value="X" @fast-redirects-x@
409 <tr class="bg1" align="left" valign="top">
410 <td class="action">+downgrade</td>
411 <td>Change HTTP/1.1 requests to HTTP/1.0. Only change if you know
412 what you're doing!</td>
413 <td class="en1" align="center" valign="middle"><input type="radio"
414 name="downgrade" value="Y" @downgrade-y@></td>
415 <td class="dis1" align="center" valign="middle"><input type="radio"
416 name="downgrade" value="N" @downgrade-n@></td>
417 <td class="noc1" align="center" valign="middle"><input type="radio"
418 name="downgrade" value="X" @downgrade-x@></td>
420 <tr class="bg2" align="left" valign="top">
421 <td class="action">+filter</td>
422 <td>Filter the website through the re_filterfile</td>
423 <td class="en2" align="center" valign="middle"><input type="radio"
424 name="filter" value="Y" @filter-y@
426 <td class="dis2" align="center" valign="middle"><input type="radio"
427 name="filter" value="N" @filter-n@
429 <td class="noc2" align="center" valign="middle"><input type="radio"
430 name="filter" value="X" @filter-x@
433 <tr class="bg1" align="left" valign="top">
434 <td class="action">+hide-forwarded</td>
435 <td>Block any existing X-Forwarded-for header, and do not add a new one.</td>
436 <td class="en1" align="center" valign="middle"><input type="radio"
437 name="hide_forwarded" value="Y" @hide-forwarded-y@
439 <td class="dis1" align="center" valign="middle"><input type="radio"
440 name="hide_forwarded" value="N" @hide-forwarded-n@
442 <td class="noc1" align="center" valign="middle"><input type="radio"
443 name="hide_forwarded" value="X" @hide-forwarded-x@
446 <tr class="bg2" align="left" valign="top">
447 <td class="action">+hide-from</td>
448 <td>Stop old web browsers from sending the user's e-mail address with
450 <td class="en2" align="center" valign="middle"><input type="radio"
451 name="hide_from" id="hide_from_y" value="Y" @hide-from-y@
452 onclick="show_hide_from_opts(true)"></td>
453 <td class="dis2" align="center" valign="middle"><input type="radio"
454 name="hide_from" value="N" @hide-from-n@
455 onclick="show_hide_from_opts(false)"></td>
456 <td class="noc2" align="center" valign="middle"><input type="radio"
457 name="hide_from" value="X" @hide-from-x@
458 onclick="show_hide_from_opts(false)"></td>
460 <tr class="bg2" align="left" valign="top" id="hide_from_opts">
462 <td colspan="4"><input type="radio" name="hide_from_mode" value="block"
463 onclick="hide_from_param_disable(true);"
464 @hide-from-param-block@ id="from_mode_block"><label
465 for="from_mode_block">Remove completely</label><br>
466 <input type="radio" name="hide_from_mode" value="CUSTOM"
467 onclick="hide_from_param_disable(false);"
468 @hide-from-param-custom@ id="from_mode_set"><label
469 for="from_mode_set">Fake e-mail address:</label><br>
470 <input type="text" name="hide_from_param" id="hide_from_param"
471 size="40" value="@hide-from-param@"></td>
473 <tr class="bg1" align="left" valign="top">
474 <td class="action">+hide-referer</td>
475 <td>Helps prevent tracking by not sending the URL of the previous web
477 <td class="en1" align="center" valign="middle"><input type="radio"
478 name="hide_referer" id="hide_referer_y" value="Y" @hide-referer-y@
479 onclick="show_hide_referer_opts(true)"></td>
480 <td class="dis1" align="center" valign="middle"><input type="radio"
481 name="hide_referer" id="hide_referer_n" value="N" @hide-referer-n@
482 onclick="show_hide_referer_opts(false)"></td>
483 <td class="noc1" align="center" valign="middle"><input type="radio"
484 name="hide_referer" id="hide_referer_x" value="X" @hide-referer-x@
485 onclick="show_hide_referer_opts(false)"
488 <tr class="bg1" align="left" valign="top" id="hide_referer_opts">
490 <td colspan="4"><input type="radio" name="hide_referer_mode" value="block"
491 onclick="hide_referer_param_disable(true)"
492 @hide-referer-param-block@ id="referer_mode_block"><label
493 for="referer_mode_block">Remove completely</label> (breaks images
494 on some free web hosts).<br>
495 <input type="radio" name="hide_referer_mode" value="forge"
496 onclick="hide_referer_param_disable(true)"
497 @hide-referer-param-forge@ id="referer_mode_forge"><label
498 for="referer_mode_forge">Fake as the root directory of the
499 site</label> (fools checks for in-site links.)<br>
500 <input type="radio" name="hide_referer_mode" value="CUSTOM"
501 onclick="hide_referer_param_disable(false)"
502 @hide-referer-param-custom@ id="referer_mode_set"><label
503 for="referer_mode_set">Fake as this web address:</label><br>
504 <input type="text" name="hide_referer_param"
505 id="hide_referer_param" size="40"
506 value="@hide-referer-param@"></td>
508 <tr class="bg2" align="left" valign="top">
509 <td class="action">+hide-user-agent</td>
510 <td>Pretend to be using a different web browser. (Breaks many web
512 <td class="en2" align="center" valign="middle"><input type="radio"
513 name="hide_user_agent" id="hide_user_agent_y" value="Y" @hide-user-agent-y@
514 onclick="show_user_agent_opts(true)"></td>
515 <td class="dis2" align="center" valign="middle"><input type="radio"
516 name="hide_user_agent" value="N" @hide-user-agent-n@
517 onclick="show_user_agent_opts(false)"></td>
518 <td class="noc2" align="center" valign="middle"><input type="radio"
519 name="hide_user_agent" value="X" @hide-user-agent-x@
520 onclick="show_user_agent_opts(false)"></td>
522 <tr class="bg2" align="left" valign="top" id="user_agent_opts">
524 <td colspan="4">User Agent string to send:<br>
525 <input type="text" name="hide_user_agent_mode" size="40"
526 value="@hide-user-agent-param@"></td>
528 <tr class="bg1" align="left" valign="top">
529 <td class="action">+image</td>
530 <td>Request is for an image (only useful in conjunction with the <i><b>+block</b></i>
531 and <i><b>+image-blocker</b></i> options).</td>
532 <td class="en1" align="center" valign="middle"><input type="radio"
533 name="image" value="Y" @image-y@
535 <td class="dis1" align="center" valign="middle"><input type="radio"
536 name="image" value="N" @image-n@
538 <td class="noc1" align="center" valign="middle"><input type="radio"
539 name="image" value="X" @image-x@
542 <tr class="bg2" align="left" valign="top">
543 <td class="action">+image-blocker</td>
544 <td>Specifies how to block images. Disable to always send a HTML
545 "blocked" page.</td>
546 <td class="en2" align="center" valign="middle"><input type="radio"
547 name="image_blocker" id="image_blocker_y" value="Y" @image-blocker-y@
548 onclick="show_image_blocker_opts(true)"></td>
549 <td class="dis2" align="center" valign="middle"><input type="radio"
550 name="image_blocker" value="N" @image-blocker-n@
551 onclick="show_image_blocker_opts(false)"></td>
552 <td class="noc2" align="center" valign="middle"><input type="radio"
553 name="image_blocker" value="X" @image-blocker-x@
554 onclick="show_image_blocker_opts(false)"></td>
556 <tr class="bg2" align="left" valign="top" id="image_blocker_opts">
558 <td colspan="4"><input type="radio" name="image_blocker_mode"
559 onclick="image_blocker_param_disable(true)"
560 value="logo" id="image_blocker_mode_logo" @image-blocker-param-logo@><label
561 for="image_blocker_mode_logo">Send Junkbuster logo</label><br>
562 <input type="radio" name="image_blocker_mode" value="blank"
563 onclick="image_blocker_param_disable(true)"
564 id="image_blocker_mode_blank" @image-blocker-param-blank@><label
565 for="image_blocker_mode_blank">Send a 1x1 transparent GIF</label><br>
566 <input type="radio" name="image_blocker_mode" value="CUSTOM"
567 onclick="image_blocker_param_disable(false)"
568 id="image_blocker_mode_set" @image-blocker-param-custom@><label
569 for="image_blocker_mode_set">Redirect
570 the browser to this image URL:</label><br>
571 <input type="text" name="image_blocker_param" id="image_blocker_param"
572 size="40" value="@image-blocker-param@"></td>
574 <tr class="bg1" align="left" valign="top">
575 <td class="action">+limit-connect</td>
576 <td>Specify which ports are allowed for SSL (HTTP CONNECT) access.
577 Note that this allows arbitrary tunnelling, so opening all
578 ports would be a security hole.</td>
579 <td class="en1" align="center" valign="middle"><input type="radio"
580 name="limit_connect" id="limit_connect_y" value="Y" @limit-connect-y@
581 onclick="show_limit_connect_opts(true)"></td>
582 <td class="dis1" align="center" valign="middle"><input type="radio"
583 name="limit_connect" value="N" @limit-connect-n@
584 onclick="show_limit_connect_opts(false)"></td>
585 <td class="noc1" align="center" valign="middle"><input type="radio"
586 name="limit_connect" value="X" @limit-connect-x@
587 onclick="show_limit_connect_opts(false)"></td>
589 <tr class="bg1" align="left" valign="top" id="limit_connect_opts">
591 <td colspan="4">Legal SSL ports (comma separated, ranges allowed):<br>
592 <input type="text" name="limit_connect_mode" size="40"
593 value="@limit-connect-param@"></td>
595 <tr class="bg2" align="left" valign="top">
596 <td class="action">+no-compression</td>
597 <td>Disables compression. Compressed web pages are faster to
598 download, but cannot be filtered with +filter or +no-popups.
599 This setting only affects the few web sites which support
601 <td class="en2" align="center" valign="middle"><input type="radio"
602 name="no_compression" value="Y" @no-compression-y@
604 <td class="dis2" align="center" valign="middle"><input type="radio"
605 name="no_compression" value="N" @no-compression-n@
607 <td class="noc2" align="center" valign="middle"><input type="radio"
608 name="no_compression" value="X" @no-compression-x@
611 <tr class="bg1" align="left" valign="top">
612 <td class="action">+no-cookies-keep</td>
613 <td>Any cookies set by the website are changed to temporary
614 ("per-session") ones, which only last until you close your web
615 browser. This will allow you to use sites that require cookies, but
616 sites will not be able to track you across sessions. For this to
617 be useful, you should disable <b><i>no-cookies-read</i></b> and
618 <b><i>no-cookies-set</i></b>.</td>
619 <td class="en1" align="center" valign="middle"><input type="radio"
620 name="no_cookies_keep" value="Y" @no-cookies-keep-y@
622 <td class="dis1" align="center" valign="middle"><input type="radio"
623 name="no_cookies_keep" value="N" @no-cookies-keep-n@
625 <td class="noc1" align="center" valign="middle"><input type="radio"
626 name="no_cookies_keep" value="X" @no-cookies-keep-x@
629 <tr class="bg2" align="left" valign="top">
630 <td class="action">+no-cookies-read</td>
631 <td>Prevent the website from reading cookies.</td>
632 <td class="en2" align="center" valign="middle"><input type="radio"
633 name="no_cookies_read" value="Y" @no-cookies-read-y@
635 <td class="dis2" align="center" valign="middle"><input type="radio"
636 name="no_cookies_read" value="N" @no-cookies-read-n@
638 <td class="noc2" align="center" valign="middle"><input type="radio"
639 name="no_cookies_read" value="X" @no-cookies-read-x@
642 <tr class="bg1" align="left" valign="top">
643 <td class="action">+no-cookies-set</td>
644 <td>Prevent the website from setting cookies.</td>
645 <td class="en1" align="center" valign="middle"><input type="radio"
646 name="no_cookies_set" value="Y" @no-cookies-set-y@
648 <td class="dis1" align="center" valign="middle"><input type="radio"
649 name="no_cookies_set" value="N" @no-cookies-set-n@
651 <td class="noc1" align="center" valign="middle"><input type="radio"
652 name="no_cookies_set" value="X" @no-cookies-set-x@
655 <tr class="bg2" align="left" valign="top">
656 <td class="action">+no-popups</td>
657 <td>Filter the website through a built-in filter to disable JavaScript
659 <td class="en2" align="center" valign="middle"><input type="radio"
660 name="no_popups" value="Y" @no-popups-y@
662 <td class="dis2" align="center" valign="middle"><input type="radio"
663 name="no_popups" value="N" @no-popups-n@
665 <td class="noc2" align="center" valign="middle"><input type="radio"
666 name="no_popups" value="X" @no-popups-x@
669 <tr class="bg1" align="left" valign="top">
670 <td class="action">+vanilla-wafer</td>
671 <td>If you use a jarfile, automatically adds a special wafer.</td>
672 <td class="en1" align="center" valign="middle"><input type="radio"
673 name="vanilla_wafer" value="Y" @vanilla-wafer-y@
675 <td class="dis1" align="center" valign="middle"><input type="radio"
676 name="vanilla_wafer" value="N" @vanilla-wafer-n@
678 <td class="noc1" align="center" valign="middle"><input type="radio"
679 name="vanilla_wafer" value="X" @vanilla-wafer-x@
682 <tr class="bg2" align="left" valign="top">
683 <td class="action">+wafer</td>
684 <td>Adds user-specified cookies.</td>
685 <td class="en2" align="center" valign="middle"><input type="radio"
686 name="wafer" id="wafer_y" value="Y" @wafer-y@
687 onclick="show_wafer_opts(true)"></td>
688 <td class="dis2" align="center" valign="middle"><input type="radio"
689 name="wafer" id="wafer_n" value="N" @wafer-n@
690 onclick="show_wafer_opts(false)"></td>
691 <td class="noc2" align="center" valign="middle"><input type="radio"
692 name="wafer" id="wafer_x" value="X" @wafer-x@
693 onclick="show_wafer_opts(false)"></td>
695 <tr class="bg2" align="left" valign="top" id="wafer_opts">
697 <td colspan="4">Editing the settings for this option, or turning
698 it on if it was off, is not yet supported using this web-based
704 <script type="text/javascript">
707 if (document.getElementById) {
708 // alert("Netscape 6 or IE5");
709 document.getElementById("hide_from_param").disabled = !(document.getElementById("from_mode_set").checked);
710 document.getElementById("hide_referer_param").disabled = !(document.getElementById("referer_mode_set").checked);
711 document.getElementById("image_blocker_param").disabled = !(document.getElementById("image_blocker_mode_set").checked);
713 show_add_header_opts (document.getElementById("add_header_y").checked);
714 show_deanimate_opts (document.getElementById("deanimate_gifs_y").checked);
715 show_hide_from_opts (document.getElementById("hide_from_y").checked);
716 show_hide_referer_opts (document.getElementById("hide_referer_y").checked);
717 show_user_agent_opts (document.getElementById("hide_user_agent_y").checked);
718 show_image_blocker_opts (document.getElementById("image_blocker_y").checked);
719 show_limit_connect_opts (document.getElementById("limit_connect_y").checked);
720 show_wafer_opts (document.getElementById("wafer_y").checked);
721 } else if (document.all) {
723 document.myform.hide_from_param.disabled = !(document.myform.from_mode_set.checked);
724 document.myform.hide_referer_param.disabled = !(document.myform.referer_mode_set.checked);
725 document.myform.image_blocker_param.disabled = !(document.myform.image_blocker_mode_set.checked);
727 show_add_header_opts (document.myform.add_header_y.checked);
728 show_deanimate_opts (document.myform.deanimate_gifs_y.checked);
729 show_hide_from_opts (document.myform.hide_from_y.checked);
730 show_hide_referer_opts (document.myform.hide_referer_y.checked);
731 show_user_agent_opts (document.myform.hide_user_agent_y.checked);
732 show_image_blocker_opts (document.myform.image_blocker_y.checked);
733 show_limit_connect_opts (document.myform.limit_connect_y.checked);
734 show_wafer_opts (document.myform.wafer_y.checked);
735 } else if (document.layers) {
736 // alert("Netscape 4");
741 <table cellpadding="20" cellspacing="10" border="0" width="100%">
743 <td class="green" align="center">
744 <p><input type="submit" value="Submit" name="Submit"></p>
750 <h2>More Junkbuster:</h2>
755 <!-- @if-have-help-info-start -->
758 <h2>Local Junkbuster support:</h2>
760 <!-- @if-have-proxy-info-start -->
761 <p>You can consult the <a href="@proxy-info-url@">online documentation</a> for more information about this Junkbuster installation.
762 <!-- if-have-proxy-info-end@ -->
764 <!-- @if-have-adminaddr-info-start -->
765 <p>Address e-mail questions about this service to
766 <a href="mailto:@admin-address@"><code>@admin-address@</code></a>,
767 who will be glad to help you.
768 <!-- if-have-adminaddr-info-end@ -->
773 <!-- if-have-help-info-end@ -->
777 <small><small>Valid <a href="http://validator.w3.org/">HTML 4.01 Strict</a></small></small>