psemek/package/web/template.html
lisyarus e032f8d54b
All checks were successful
Run tests / Run tests (push) Successful in 6m59s
Disable automatic image decoding in web builds
2026-07-20 15:24:51 +03:00

20 lines
483 B
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<style>
html, body { margin: 0; padding: 0; width: 100%; height: 100%; overflow: hidden; }
canvas { display: block; width: 100%; height: 100%; }
</style>
</head>
<body>
<canvas id="canvas" tabindex="-1" oncontextmenu="event.preventDefault()"></canvas>
<script type="text/javascript">
var Module = {
canvas: document.getElementById('canvas'),
noImageDecoding: true,
};
</script>
{{{ SCRIPT }}}
</body>
</html>