-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
35 lines (28 loc) · 1.01 KB
/
index.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Triage</title>
<meta name="author" content="John Wu">
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<script>
const HREF_BASE = hrefBase(location)
function hrefBase(location) {
return location.href.substring(0, location.href.lastIndexOf('/'))
}
</script>
<script src="pwa-bootstrap.js?20220922" data-cacheable type="text/javascript" async></script>
<meta name="theme-color" media="(prefers-color-scheme: light)" content="white">
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="black">
<link rel="manifest" href="manifest.json?20220922">
</head>
<body>
<script>
document.body.appendChild(document.createElement('div')).innerHTML = `
<div>window.navigator.language: ${window.navigator.language}</div>
<div>window.navigator.languages: ${window.navigator.languages}</div>
`
</script>
</body>
</html>