blob: 10694e283708a934401113216c9797929f29fca2 (
plain) (
blame)
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
|
<!doctype html>
<html lang="en-us">
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>hftrss</title>
<style>
body {
padding: none;
margin-top: 0px;
margin-left: 0px;
background-color: #000000;
image-rendering: crisp-edges;
}
</style>
</head>
<body>
<canvas class="emscripten" id="canvas" oncontextmenu="event.preventDefault()" tabindex="0" onclick="focus_canvas()"></canvas>
<script>
function focus_canvas() {
document.getElementById('canvas').focus();
}
Module = {
print:
function(what)
{
console.log(what);
},
printErr:
function(what)
{
console.error(what);
},
canvas:
(
function()
{
return document.getElementById('canvas');
}
)()
};
</script>
{{{ SCRIPT }}}
</body>
</html>
|