-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathlinux.html
More file actions
82 lines (62 loc) · 1.8 KB
/
linux.html
File metadata and controls
82 lines (62 loc) · 1.8 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<!DOCTYPE html>
<html lang="en">
<head>
<title>3.2 Quadratics</title>
<link rel="icon" type="image/x-icon" href="icon.png" />
<link rel="stylesheet" href="main.css" />
<link rel="icon" href="icon.png" type="image/x-icon"/>
<base target="_blank" />
</head>
<body>
<script>
function cloakThatStuff(url) {
const win = window.open('about:blank', '_blank');
win.document.write(`
<!DOCTYPE html>
<html>
<head>function checkAuthKey() {
const storedKey = localStorage.getItem('onyxAuth');
// If no key is stored, kick to authkey.html
if (!storedKey) {
window.location.replace('authkey.html');
}
// Optionally, add expiry check if you store expiry as a date
// else, just having the key is enough
}
<style>
body { margin: 0; overflow: hidden; }
iframe {
border: none;
width: 100vw;
height: 100vh;
}
</style>
</head>
<body>
<iframe src="${url}"></iframe>
</body>
</html>
`);
win.document.close();
}
</script>
<div class="header">
<h1>linux vm</h1>
<a href="." target="_self">Back to home</a>
<p class="acronym">
a simple linux vm running in your browser
</p>
</div>
<div class="section blue">
<button onclick="CloakThatStuff("thatboyo.github.io/arch-vm");"> open in about:blank (beta may not work)</button>
<a href="/arch-vm" target="_self">open vm</a>
<div class="section blue">
<h3>
<a href="Disclaimer.html" target="_self">Disclaimer + Terms of Service</a>
<a href="credits.html" target="_self">Credits</a>
<a href="help.html" target="_self">Help</a>
</h3>
<p>
</div>
</body>
</html>