| OLD | NEW |
| (Empty) |
| 1 <html> | |
| 2 <head> | |
| 3 <title>post</title> | |
| 4 <script> | |
| 5 // stolen from darin's page cycler | |
| 6 var options = location.search.substring(1).split('&'); | |
| 7 | |
| 8 function getopt(name) { | |
| 9 var r = new RegExp("^" + name + "="); | |
| 10 for (i = 0; i < options.length; ++i) { | |
| 11 if (options[i].match(r)) { | |
| 12 return options[i].substring(name.length + 1); | |
| 13 } | |
| 14 } | |
| 15 return null; | |
| 16 } | |
| 17 | |
| 18 function checkParams() { | |
| 19 document.title = "post:" + getopt("text") + "," + getopt("select"); | |
| 20 } | |
| 21 checkParams(); | |
| 22 </script> | |
| 23 </head> | |
| 24 | |
| 25 <body> | |
| 26 Form submission accepted. Thanks for playing. | |
| 27 </body> | |
| 28 </html> | |
| OLD | NEW |