Add files via upload
This commit is contained in:
+1
-1
@@ -1 +1 @@
|
||||
<!doctypehtml><html lang=en-us><head><meta charset=utf-8><meta content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0"name=viewport><title>Minecraft</title><style>body,html{margin:0;padding:0;width:100%;height:100%;overflow:hidden;background-color:#000;touch-action:none}canvas.emscripten{width:100%;height:100%;display:block;outline:0}</style></head><body><canvas class=emscripten id=canvas oncontextmenu=event.preventDefault() tabindex=-1></canvas><script>var Module={canvas:document.getElementById("canvas")};document.addEventListener("touchstart",(function(t){"INPUT"!==t.target.tagName&&"TEXTAREA"!==t.target.tagName&&t.preventDefault()}),{passive:!1})</script><script async src=index.js></script></body></html>
|
||||
<!doctypehtml><html lang=en-us><head><meta charset=utf-8><meta content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0"name=viewport><title>Minecraft</title><style>body,html{margin:0;padding:0;width:100%;height:100%;overflow:hidden;background-color:#000;touch-action:none}canvas.emscripten{width:100%;height:100%;display:block;outline:0}</style></head><body><canvas class=emscripten id=canvas oncontextmenu=event.preventDefault() tabindex=-1></canvas><script>var Module={canvas:document.getElementById("canvas")};document.addEventListener("touchstart",(function(e){var t=e.target.tagName;"INPUT"!==t&&"TEXTAREA"!==t&&"BUTTON"!==t&&"SELECT"!==t&&"OPTION"!==t&&e.preventDefault()}),{passive:!1})</script><script async src=index.js></script></body></html>
|
||||
BIN
Binary file not shown.
+40
-33
@@ -1,43 +1,50 @@
|
||||
<!doctype html>
|
||||
<html lang="en-us">
|
||||
<head>
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0" />
|
||||
<title>Minecraft</title>
|
||||
<style>
|
||||
body, html {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
background-color: black;
|
||||
touch-action: none; /* Prevent browser scroll/zoom on touch */
|
||||
}
|
||||
canvas.emscripten {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: block;
|
||||
outline: none;
|
||||
}
|
||||
body,
|
||||
html {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
background-color: black;
|
||||
touch-action: none;
|
||||
/* Prevent browser scroll/zoom on touch */
|
||||
}
|
||||
|
||||
canvas.emscripten {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: block;
|
||||
outline: none;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<canvas class="emscripten" id="canvas" oncontextmenu="event.preventDefault()" tabindex="-1"></canvas>
|
||||
|
||||
|
||||
<script type='text/javascript'>
|
||||
var Module = {
|
||||
canvas: (function() { return document.getElementById('canvas'); })()
|
||||
};
|
||||
|
||||
// Prevent double tap zooming and default touch behaviors to allow pure game control
|
||||
document.addEventListener('touchstart', function(e) {
|
||||
// Do not preventDefault on input or textarea elements
|
||||
if (e.target.tagName !== 'INPUT' && e.target.tagName !== 'TEXTAREA') {
|
||||
e.preventDefault();
|
||||
}
|
||||
}, {passive: false});
|
||||
var Module = {
|
||||
canvas: (function () { return document.getElementById('canvas'); })()
|
||||
};
|
||||
|
||||
// Prevent double tap zooming and default touch behaviors to allow pure game control
|
||||
document.addEventListener('touchstart', function (e) {
|
||||
// Do not preventDefault on input, textarea, button, or select elements
|
||||
var t = e.target.tagName;
|
||||
if (t !== 'INPUT' && t !== 'TEXTAREA' && t !== 'BUTTON' && t !== 'SELECT' && t !== 'OPTION') {
|
||||
e.preventDefault();
|
||||
}
|
||||
}, { passive: false });
|
||||
</script>
|
||||
{{{ SCRIPT }}}
|
||||
</body>
|
||||
</html>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user