-
Notifications
You must be signed in to change notification settings - Fork 3
/
info.html
46 lines (41 loc) · 1.38 KB
/
info.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="photon.css">
<link rel="stylesheet" type="text/css" href="info.css">
</head>
<body>
<script>
var n = Math.floor(Math.random()*3);
var radioimage = new Image();
radioimage.src = "http://anon.fm/imgs/"+ n +".jpg";
window.onload = function(){
document.getElementById("radioimage").appendChild(radioimage);
}
</script>
<h1>Radio Anonymous</h1>
<div id="radioimage">
<noscript><img src="/imgs/2.jpg"/></noscript>
</div>
<br>
<br>
<img id="playnow">
<script language="JavaScript">
var Num = 0;
function recurse_refresh(){
if (document.getElementById('playnow')==null) {
for (Num = 0; Num < document.images.length; Num++){
if (document.getElementsByTagName('img')[Num].src=="http://anon.fm/radioanon.png") {
document.getElementsByTagName('img')[Num].id="playnow";
break;
}
}
}
document.getElementById('playnow').src="http://anon.fm/radioanon.png?nocache="+(Math.floor( Math.random( )*(99999999999999999-0+1))+0);
setTimeout(recurse_refresh, 5000);
}
recurse_refresh();
</script>
</body>
</html>