forked from goobertime/AB-Cloaker-Generator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
abGenerator(WINDOW).html
64 lines (57 loc) · 1.41 KB
/
abGenerator(WINDOW).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
63
64
<title>My Apps</title>
<p style="font-size:50px;
left:43%;
position:absolute;
margin:-0px -0px;
color:black
">AB Cloaker</p>
<input type="text" placeholder="Put link here including https://" id="id" style="position:relative;
margin:-49px-50px;
left: 45%;
top:45%;
border: 2px solid red;
">
<p style="font-size:20px;
font-family:cubic;color:red;
position:absolute;
top:50%;
left:42%;
margin:-49px-50px
">Coded By R480 & XgunisCuteBeast</p>
<style>
body {
background: #A9a9a9
}
.gb:hover
{
background-color: black;
color: white;
border: 3px solid grey;
transition-duration: 0.5s;
}
</style>
<button onclick="openGame()" style="height:150px;
width:300px;background-color:grey;
font-size:20px;
font-family:cubic;
color:black;
position:absolute;
margin:-40px -60px;
top:23%;
left:45%;
cursor: pointer">Open AB:Cloaked</button>
<body>
<script>
function openGame() {
var win = window.open('', '', 'width=9000,height=9000 top=9000,left=9000')
var url = String(document.getElementById("id").value) //<------ this is where you put the link -reminder for r480
var iframe = win.document.createElement('iframe')
iframe.style.width = "100%";
iframe.style.height = "100%"
iframe.style.border = "none";
iframe.src = url
win.close
win.document.body.appendChild(iframe)
}
</script>
</body>