-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathexit.html
More file actions
47 lines (46 loc) · 1.38 KB
/
exit.html
File metadata and controls
47 lines (46 loc) · 1.38 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<link rel="author" type="text/plain" href="humans.txt" />
<link rel="icon" type="image/x-icon" href="favicon.ico" />
<title>screen 0 (bash) | guest@san</title>
<style type="text/css">
body {
background-color: black;
color: silver;
font-family: "Courier New","DejaVu Sans Mono",Courier,monospace;
font-size: 10pt;
}
#cursor { background-color: lime; }
</style>
</head>
<body>
[guest@san ~]$ <span id="precursor"></span><span id="cursor"> </span>
<script type="text/javascript">
var precursor=document.getElementById('precursor');
var cursor=document.getElementById('cursor');
var typeText="i hate blinking cursors! don't you? ;)";
var typeOffset=0;
setInterval("cursor_blink()", 500);
function cursor_blink() {
if (cursor.style.backgroundColor == 'lime')
cursor.style.backgroundColor = '#000';
else
cursor.style.backgroundColor = 'lime';
}
var typeInter=setInterval("type_text()", 150);
function type_text() {
if (typeOffset >= typeText.length) {
clearInterval(typeInter);
precursor.innerHTML += ' ^C<br>[guest@san ~]$ ';
return;
}
precursor.innerHTML = typeText.substr(0, ++typeOffset);
}
</script>
</body>
</html>