This repository has been archived by the owner on Oct 1, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
/
Copy paththe_internet.html
62 lines (52 loc) · 1.84 KB
/
the_internet.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<html>
<style>
.background {
background-color: black;
}
.text-color {
color: green;
}
.the-internet-wrapper {
display: grid;
align-items: center;
height: 100%;
overflow: hidden;
}
.the-internet {
width: 99vw;
overflow: hidden;
text-align: center;
font-weight: bold;
font-family: 'Courier New', Courier, monospace;
font-size: 84px;
word-break: break-all;
text-align: justify;
}
</style>
<head>
<script type="text/javascript">
function randString(len) {
"use strict";
var i, out="", all ="ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
for (i = 0; i < len; i++) {
out += all.charAt(Math.floor(Math.random() * all.length));
}
return out;
}
function main() {
"use strict";
var $_inter = setInterval(function() {
var text = document.getElementById("text");
text.innerHTML = randString(text.innerHTML.length);
}, 100);
}
window.onload = window.setTimeout(main, 2500);
</script>
</head>
<body class="background text-color">
<div class="the-internet-wrapper">
<div id="text" class="the-internet">
THE_INTERNET_THE_INTERNET_THE_INTERNET_THE_INTERNET_THE_INTERNET_THE_INTERNET_THE_INTERNET_THE_INTERNET_THE_INTERNET_THE_INTERNET_THE_INTERNET_THE_INTERNET_THE_INTERNET_THE_INTERNET_THE_INTERNET_THE_INTERNET_THE_INTERNET_THE_INTERNET_THE_INTERNET_THE_INTERNET_THE_INTERNET_THE_INTERNET_THE_INTERNET_THE_INTERNET_THE_INTERNET_THE_INTERNET_THE_INTERNET_THE_INTERNET_THE_INTERNET_THE_INTERNET_THE_INTERNET_THE_INTERNET_THE_INTERNET_THE_INTERNET_THE_INTERNET_THE_INTERNET_THE_INTERNET_THE_INTERNET_THE_INTERNET_THE_INTERNET_THE_INTERNET_THE_INTERNET_THE_INTERNET_THE_INTERNET_THE_INTERNET_THE_INTERNET_THE_INTERNET_THE_INTERNET_THE_INTERNET_</div>
</div>
</body>
</html>