mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-10-10 13:23:42 +00:00
12 lines
432 B
Plaintext
12 lines
432 B
Plaintext
|
/* Any copyright is dedicated to the Public Domain.
|
||
|
http://creativecommons.org/publicdomain/zero/1.0/ */
|
||
|
|
||
|
function handleRequest(request, response) {
|
||
|
response.setStatusLine(request.httpVersion, 200, "OK");
|
||
|
response.setHeader("Content-Type", "application/javascript; charset=utf-8", false);
|
||
|
response.write([
|
||
|
"window.setInterval(function bacon() {",
|
||
|
" var x = '" + Math.random() + "';",
|
||
|
"}, 0);"].join("\n"));
|
||
|
}
|