forked from rammerhq/cloakedab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
49 lines (47 loc) · 1.39 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
<html><head><base target="_blank"></head><body><h1>Click here</h1>
<button>Unblocker</button>
<script>
var urlObj = new window.URL(window.location.href);
var url = "https://education.mordeco.com/";
if (url) {
var win;
document.querySelector('button').onclick = function() {
if (win) {
win.focus();
}
else {
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);
}
document.querySelector('button').style.background='#ff5148';
document.querySelector('button').innerHTML="Game Loaded!";
};
}
</script>
<style>
* {
color: white;
font-family: arial;
text-align: center;
}
button {
width: 220px;
height: 40px;
border-radius: 12px;
background-color: #1F51FF;
font-family: Arial, Helvetica, sans-serif;
border: none;
transition: background-color 500ms;
}
button:hover {
background-color: #1F51FF;
}
</style></body></html>