Holy-Unblocker/public/archive/g/run3/r.html
2020-10-02 16:45:22 -07:00

104 lines
No EOL
3.3 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<base href='/gfiles/html5games/run3/r3.html' />
<meta name='robots' content='noindex'>
<meta charset="utf-8">
<title>Run 3</title>
<meta id="viewport" name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="shortcut icon" type="image/png" href="./favicon.png">
<script type="text/javascript" src="/assets/js/Run3.js"></script>
<script>
window.addEventListener("touchmove", function(event) {
event.preventDefault();
}, {
capture: false,
passive: false
});
if (typeof window.devicePixelRatio != 'undefined' && window.devicePixelRatio > 2) {
var meta = document.getElementById("viewport");
meta.setAttribute('content', 'width=device-width, initial-scale=' + (2 / window.devicePixelRatio) + ', user-scalable=no');
}
</script>
<style>
html,
body {
margin: 0;
padding: 0;
height: 100%;
overflow: hidden;
}
#openfl-content {
background: #000000;
width: 100%;
height: 100%;
}
@font-face {
font-family: 'Comfortaa Bold';
src: url('font/COMFORTAA-BOLD.eot?#iefix') format('embedded-opentype'), url('font/COMFORTAA-BOLD.woff') format('woff'), url('font/COMFORTAA-BOLD.TTF') format('truetype'), url('font/COMFORTAA-BOLD.svg#Comfortaa%20Bold') format('svg');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Comfortaa';
src: url('font/Comfortaa.eot?#iefix') format('embedded-opentype'), url('font/Comfortaa.woff') format('woff'), url('font/Comfortaa.otf') format('truetype');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Permanent Marker';
src: url('font/PERMANENTMARKER.eot?#iefix') format('embedded-opentype'), url('font/PERMANENTMARKER.woff') format('woff'), url('font/PERMANENTMARKER.TTF') format('truetype'), url('font/PERMANENTMARKER.svg#Permanent%20Marker') format('svg');
font-weight: normal;
font-style: normal;
}
</style>
</head>
<body>
<noscript>This webpage makes extensive use of JavaScript. Please enable JavaScript in your web browser to view this page.</noscript>
<div id="openfl-content"></div>
<script type="text/javascript">
lime.embed("Run3", "openfl-content", 800, 600, {
parameters: {}
});
</script>
<script>
function fnSendMsg(evt) {
window.parent.postMessage('keypress-from-game', '*');
}
document.body.addEventListener('click', function(event) {
fnSendMsg(event);
});
document.addEventListener('keypress', function(event) {
fnSendMsg(event);
});
document.addEventListener('keydown', function(e) {
fnSendMsg(event);
});
document.addEventListener('keyup', function(e) {
fnSendMsg(event);
});
</script>
</body>
</html>