forked from bizzbyster/bizzbyster.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dynamic_url.html
28 lines (27 loc) · 855 Bytes
/
dynamic_url.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
<!doctype html>
<html>
<head>
<title>Dynamic URL Test Page</title>
</head>
<body>
<h1>Page to test dynamic URL</h1>
<script type="text/javascript">
function getImage(){
myimage = new Image();
myimage.src = 'https://raw.githubusercontent.com/bizzbyster/bizzbyster.github.io/master/images/zip-icon.png?rnd=' + Math.random();
}
function sleep(milliseconds){
var start = new Date().getTime();
var keep_looping = true;
while (keep_looping) {
if ((new Date().getTime() - start)> milliseconds) {
keep_looping = false;
}
}
}
sleep(1500);
document.write("<img src='https://raw.githubusercontent.com/bizzbyster/bizzbyster.github.io/master/images/zip-icon.png?rnd=" +
Math.random() + "'>");
</script>
</body>
</html>