summaryrefslogtreecommitdiff
path: root/html/webapp/index.html
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2025-01-20 19:29:50 +0500
committerilotterytea <iltsu@alright.party>2025-01-20 19:29:50 +0500
commit043834fa0adf502f61ba09fe312fa3e90b8a6bcc (patch)
tree6b140cc4fdb73c954d564b2baf6ff1086a4ada76 /html/webapp/index.html
initial commit
Diffstat (limited to 'html/webapp/index.html')
-rw-r--r--html/webapp/index.html31
1 files changed, 31 insertions, 0 deletions
diff --git a/html/webapp/index.html b/html/webapp/index.html
new file mode 100644
index 0000000..01f2f40
--- /dev/null
+++ b/html/webapp/index.html
@@ -0,0 +1,31 @@
+<!doctype html>
+<html>
+<head>
+ <title>Frogartha</title>
+ <meta http-equiv="content-type" content="text/html; charset=UTF-8">
+ <meta id="gameViewport" name="viewport" content="width=device-width initial-scale=1">
+ <link href="styles.css" rel="stylesheet" type="text/css">
+</head>
+
+<body>
+<a class="superdev" href="javascript:%7B%20window.__gwt_bookmarklet_params%20%3D%20%7B'server_url'%3A'http%3A%2F%2Flocalhost%3A9876%2F'%7D%3B%20var%20s%20%3D%20document.createElement('script')%3B%20s.src%20%3D%20'http%3A%2F%2Flocalhost%3A9876%2Fdev_mode_on.js'%3B%20void(document.getElementsByTagName('head')%5B0%5D.appendChild(s))%3B%7D">&#8635;</a>
+<div align="center" id="embed-html"></div>
+<script type="text/javascript" src="html/html.nocache.js"></script>
+</body>
+
+<script>
+function handleMouseDown(evt) {
+ evt.preventDefault();
+ evt.stopPropagation();
+ window.focus();
+}
+
+function handleMouseUp(evt) {
+ evt.preventDefault();
+ evt.stopPropagation();
+}
+document.addEventListener('contextmenu', event => event.preventDefault());
+document.getElementById('embed-html').addEventListener('mousedown', handleMouseDown, false);
+document.getElementById('embed-html').addEventListener('mouseup', handleMouseUp, false);
+</script>
+</html>