-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
34 lines (32 loc) · 860 Bytes
/
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
<!DOCTYPE html>
<html>
<head>
<meta
http-equiv="Content-Security-Policy"
content="default-src 'self' nativeimage: 'unsafe-inline' apple.com"
/>
<script>
console.log("trying fetch");
fetch("https://apple.com").then((blah) => {
console.log("fetched: " + blah);
});
</script>
<title>Title</title>
<link rel="canonical" href="https://paultiarks.github.io/SWTest/" />
<style type="text/css">
/* --- application CSS here --- */
* {
background-color: #f5f4f0;
font-family: Georgia, serif;
}
</style>
</head>
<body>
<h1>Content</h1>
<script>
// register ServiceWorker, remember to use absolute path!
// --- Application code here ---
</script>
<img src="nativeimage://testImage.jpg" width="300" height="168" />
</body>
</html>