1 <!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML
4.0//EN'
>
4 Copyright (C) 2006-2008 Jonathan Zarate
5 http://www.polarcloud.com/tomato/
7 For use with Tomato Firmware only.
8 No part of this file may be used without permission.
12 <meta http-equiv='content-type' content='text/html;charset=utf-
8'
>
13 <meta name='robots' content='noindex,nofollow'
>
14 <title>[<%
ident(); %>] Clear Cookies
</title>
15 <link rel='stylesheet' type='text/css' href='tomato.css'
>
16 <link rel='stylesheet' type='text/css' href='color.css'
>
17 <script type='text/javascript' src='tomato.js'
></script>
20 <table id='container' cellspacing=
0>
21 <tr><td colspan=
2 id='header'
>
22 <div class='title'
>Tomato
</div>
23 <div class='version'
>Version <%
version(); %></div>
25 <tr id='body'
><td id='navi'
><script type='text/javascript'
>navi()</script></td>
27 <div id='ident'
><%
ident(); %></div>
31 <b>Cookies Cleared
</b>
33 <script type='text/javascript'
>
35 c
= document
.cookie
.split(';');
36 for (i
= 0; i
< c
.length
; ++i
) {
37 if (c
[i
].match(/^\s*tomato_(.+?)=/)) {
38 b
.push('<li>' + c
[i
]);
39 cookie
.unset(RegExp
.$1);
42 if (b
.length
== 0) b
.push('<li>no cookie found');
43 W('<ul>' + b
.join('') + '</ul>');
50 <tr><td id='footer' colspan=
2> </td></tr>