Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
89 lines (87 loc) · 4.46 KB
/
Copy pathindex.html
File metadata and controls
89 lines (87 loc) · 4.46 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
83
84
85
86
87
88
89
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, viewport-fit=cover">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="theme-color" content="#111014">
<link rel="manifest" href="./manifest.json">
<link rel="apple-touch-icon" href="./public/icon.png">
<title>反物质维度</title>
<link rel="icon" type="image/png" href="./public/icon.png">
<meta name="Antimatter Dimensions" content="A game about huge numbers and watching them go up." >
<link href="https://fonts.googleapis.com/css?family=PT+Mono" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="./public/stylesheets/components.css">
<link rel="stylesheet" type="text/css" href="./public/stylesheets/fontawesome/css/all.css">
<link rel="stylesheet" type="text/css" href="./public/stylesheets/codemirror/codemirror.css">
<link rel="stylesheet" type="text/css" href="./public/stylesheets/codemirror/show-hint.css">
<link rel="stylesheet" type="text/css" href="./public/stylesheets/codemirror/lint.css">
<link rel="stylesheet" type="text/css" href="./public/stylesheets/codemirror/panda-syntax.css">
<link rel="stylesheet" type="text/css" href="./public/stylesheets/codemirror/liquibyte.css">
<link rel="stylesheet" type="text/css" href="./public/stylesheets/vue-sfc-classes.css">
<link rel="stylesheet" type="text/css" href="./public/stylesheets/ad-slider-component.css">
<link rel="stylesheet" type="text/css" href="./public/stylesheets/glyphs.css">
<link rel="stylesheet" type="text/css" href="./public/stylesheets/styles.css?3">
<link rel="stylesheet" type="text/css" href="./public/stylesheets/automator.css">
<link rel="stylesheet" type="text/css" href="./public/stylesheets/time-studies.css">
<link rel="stylesheet" type="text/css" href="./public/stylesheets/tooltips.css">
<link rel="stylesheet" type="text/css" href="./public/stylesheets/vis-network.css">
<link rel="stylesheet" type="text/css" href="./public/stylesheets/mobile.css?17">
<link rel="stylesheet" type="text/css" href="./public/stylesheets/mobile-layout-core.css?17">
<link rel="stylesheet" type="text/css" href="./public/stylesheets/mobile-layout-meta.css?17">
<link rel="stylesheet" type="text/css" href="./public/stylesheets/mobile-beauty.css?17">
</head>
<body>
<div id="browser-warning">
Your browser is not supported.
<br>
Please update to a newer browser.
</div>
<div id="loading"></div>
<div id="ui"></div>
<div id="background-animations">
<div class="videocontainer videocontainer--background">
<video autoplay muted loop id="stars">
<source src="./public/images/stars-bg.webm" type="video/webm">
</video>
</div>
<div id="snow" style="display: none;"></div>
</div>
<div class="videocontainer">
<video preload muted id="realityanimbg" style="opacity: 0; display: none;">
<source src="./public/images/realityanimbg.webm" type="video/webm">
</video>
</div>
<div id="performance-stats" class="c-performance-stats" style="display: none;"></div>
<script src="./public/mobile-fix.js?17"></script>
<script>
// 注册 Service Worker 实现离线缓存(PWA)
if ("serviceWorker" in navigator && location.protocol.indexOf("http") === 0) {
window.addEventListener("load", function() {
navigator.serviceWorker.register("./sw.js").catch(function(err) {
console.warn("SW registration failed:", err);
});
});
}
</script>
<script src="./src/main.js" type="module"></script>
</body>
<script>
// We use an IE only document variable to check here to force it to show the browser warning.
// For some reason, IE really does *not* want to cooperate, even when you have a file as a <script> that you load
// in the body.
// Other browsers will be checked whenever window.onload is ran.
if (document.documentMode) {
document.getElementById("loading").style.display = "none";
document.getElementById("browser-warning").style.display = "flex";
}
window.addEventListener("error", function(e) {
const el = document.getElementById("loading");
if (el && e.message) el.textContent = "ERR: " + e.message + " @ " + (e.filename || "") + ":" + (e.lineno || "");
console.warn(`${e.message}\n(at: ${e.filename}:${e.lineno}:${e.colno})
`);
})
</script>
</html>