-
Notifications
You must be signed in to change notification settings - Fork 0
/
host.html
30 lines (30 loc) · 1.01 KB
/
host.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
<!doctype html>
<html lang="en-US">
<head>
<meta charset="utf-8">
<title>Host</title>
<script
src="https://dhmnmivhwb1gk.cloudfront.net/dev/shim.js"
data-default="https://www.irvingstreet.me/dev/client.html">
</script>
<script>
_page_loaded = ()=>{
window.FOTR.fetch(
new Request('https://dxgj0u6sj0wte.cloudfront.net/dev/target.png')
).then((response)=>{
return response.blob();
}).then((b)=>{
const i = window.document.createElement('img');
i.src = URL.createObjectURL(b);
document.getElementById("testTarget").appendChild(i);
});
};
</script>
</head>
<body onload="_page_loaded()">
<h1>Host</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
<p id="testTarget"></p>
<p>Text continues.</p>
</body>
</html>