-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathindex.html
62 lines (51 loc) · 1.99 KB
/
index.html
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<center>
<title>OvO - Geometry Tryhard</title>
<link rel="stylesheet" href="/game.css">
<button class="button" onclick="openFullscreen();"> Full Screen </button>
<style>
#redirect {
position: fixed;
bottom: 10px;
left: 10px;
}
</style>
<script>
function create() {
var url = document.getElementById('input').value;
var win = window.open();
win.document.body.style.margin = '0';
win.document.body.style.height = '100vh';
var iframe = win.document.createElement('iframe');
iframe.style.border = 'none';
iframe.style.width = '100%';
iframe.style.height = '100%';
iframe.style.margin = '0';
iframe.src = url;
win.document.body.appendChild(iframe);
}
</script>
<input type="hidden" value=OvO.html placeholder="https://lsmdm.tk" id='input' autofocus>
<button class="button" onclick='create()'>Open Cloaked</button></div>
<button id="redirect" onclick="goToHomePage()"><image src="/img/DAC96524-23D1-4D33-B8DF-343E62276EB4.png" class="button1" style="width: 100px; height: 100px;" ></image></button>
<script>
function goToHomePage() {
window.location.href = '//' + window.location.hostname;
}
</script>
<div>
<iframe class="gm-iframe" id="gm-area" src="OvO.html" width="940" height="640" scrolling="none" frameborder="0" allowfullscreen></iframe>
<div style="padding-top: 10px;padding-bottom: 10px;" class="container" align="Center"> <script>
var elem = document.getElementById("gm-area");
function openFullscreen() {
if (elem.requestFullscreen) {
elem.requestFullscreen();
} else if (elem.webkitRequestFullscreen) { /* Safari */
elem.webkitRequestFullscreen();
} else if (elem.msRequestFullscreen) { /* IE11 */
elem.msRequestFullscreen();
}
}
</script>
</div>
</a>
</center>