-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
executable file
·55 lines (47 loc) · 1.74 KB
/
index.html
File metadata and controls
executable file
·55 lines (47 loc) · 1.74 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<base href="./" />
<title>Test Page</title>
<!-- -->
<meta name="text-scale" content="scale" />
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, viewport-fit=cover, interactive-widget=overlays-content, shrink-to-fit=no">
<!-- -->
<link rel="icon" type="image/png" href="./favicon.png">
<!-- -->
<script type="importmap">{
"imports": {
"fest/": "fest-src/",
"fest/cdnImport": "fest/cdnImport.mjs",
"fest/dom": "fest-src/dom.ts/src/index.ts",
"fest/lure": "fest-src/BLU.E/src/index.ts",
"fest/object": "fest-src/object.ts/src/index.ts",
"fest/uniform": "fest-src/uniform.ts/src/index.ts",
"fest/theme": "fest-src/theme.core/src/index.ts"
}
}</script>
<!-- -->
<script data-owner="runtime" data-type="interact">
// avoid any dragging when no-needed...
document.documentElement.addEventListener("dragstart", (ev) => {
if (ev?.target?.matches?.("div, img, picture, canvas, video, svg")) {
ev.preventDefault();
}
}, {passive: false, capture: true});
// comment to enable native context menu
document.documentElement.addEventListener("contextmenu", (ev)=>{
//ev.stopPropagation();
ev.preventDefault();
}, {capture: true});
//
if ("virtualKeyboard" in navigator && navigator?.virtualKeyboard) {
// @ts-ignore
navigator.virtualKeyboard.overlaysContent = true;
}
</script>
</head>
<body>
<script src="./test/Subscribe.ts" type="module"></script>
</body>
</html>