forked from B4CON4LIFE/Clack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlauncher.html
126 lines (118 loc) · 5.84 KB
/
launcher.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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
<!DOCTYPE html>
<html>
<head>
<script async src="https://arc.io/widget.min.js#C5tJKq6m"></script>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-62N8610D2L"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-62N8610D2L')
</script>
<script>
var gotCheck = 1;
let jsonString = localStorage.getItem("testItem");
console.log("1");
gotCheck = JSON.parse(jsonString);
console.log(gotCheck);
abcloak();
function abcloak() {
if (gotCheck == 2) {
console.log("2");
let inFrame
try {
inFrame = window !== top
} catch (e) {
inFrame = true
}
if (!inFrame && !navigator.userAgent.includes("Firefox")) {
const popup = open("about:blank", "_blank")
if (!popup || popup.closed) {
alert("Popups are disabled!")
} else {
const doc = popup.document
const iframe = doc.createElement("iframe")
const style = iframe.style
const img = doc.createElement("link")
const link = location.href
img.rel = "icon"
img.href = "https://ssl.gstatic.com/images/branding/product/1x/drive_2020q4_32dp.png"
doc.title = "Docs";
var currentLink = location;
iframe.src = currentLink;
style.position = "fixed"
style.top = style.bottom = style.left = style.right = 0
style.border = style.outline = "none"
style.width = style.height = "100%"
doc.body.appendChild(iframe)
alert("Feel free to close this window")
}
}
}
}
</script>
<link rel="shortcut icon" href="Binaries/gb.ico">
<title></title>
<meta charset="UTF-8">
<!--Required Scripts-->
<script src="IodineGBA/includes/TypedArrayShim.js"></script>
<script src="IodineGBA/core/Cartridge.js"></script>
<script src="IodineGBA/core/DMA.js"></script>
<script src="IodineGBA/core/Emulator.js"></script>
<script src="IodineGBA/core/Graphics.js"></script>
<script src="IodineGBA/core/RunLoop.js"></script>
<script src="IodineGBA/core/Memory.js"></script>
<script src="IodineGBA/core/IRQ.js"></script>
<script src="IodineGBA/core/JoyPad.js"></script>
<script src="IodineGBA/core/Serial.js"></script>
<script src="IodineGBA/core/Sound.js"></script>
<script src="IodineGBA/core/Timer.js"></script>
<script src="IodineGBA/core/Wait.js"></script>
<script src="IodineGBA/core/CPU.js"></script>
<script src="IodineGBA/core/Saves.js"></script>
<script src="IodineGBA/core/sound/FIFO.js"></script>
<script src="IodineGBA/core/sound/Channel1.js"></script>
<script src="IodineGBA/core/sound/Channel2.js"></script>
<script src="IodineGBA/core/sound/Channel3.js"></script>
<script src="IodineGBA/core/sound/Channel4.js"></script>
<script src="IodineGBA/core/CPU/ARM.js"></script>
<script src="IodineGBA/core/CPU/THUMB.js"></script>
<script src="IodineGBA/core/CPU/CPSR.js"></script>
<script src="IodineGBA/core/graphics/Renderer.js"></script>
<script src="IodineGBA/core/graphics/RendererProxy.js"></script>
<script src="IodineGBA/core/graphics/BGTEXT.js"></script>
<script src="IodineGBA/core/graphics/BG2FrameBuffer.js"></script>
<script src="IodineGBA/core/graphics/BGMatrix.js"></script>
<script src="IodineGBA/core/graphics/AffineBG.js"></script>
<script src="IodineGBA/core/graphics/ColorEffects.js"></script>
<script src="IodineGBA/core/graphics/Mosaic.js"></script>
<script src="IodineGBA/core/graphics/OBJ.js"></script>
<script src="IodineGBA/core/graphics/OBJWindow.js"></script>
<script src="IodineGBA/core/graphics/Window.js"></script>
<script src="IodineGBA/core/graphics/Compositor.js"></script>
<script src="IodineGBA/core/memory/DMA0.js"></script>
<script src="IodineGBA/core/memory/DMA1.js"></script>
<script src="IodineGBA/core/memory/DMA2.js"></script>
<script src="IodineGBA/core/memory/DMA3.js"></script>
<script src="IodineGBA/core/cartridge/SaveDeterminer.js"></script>
<script src="IodineGBA/core/cartridge/SRAM.js"></script>
<script src="IodineGBA/core/cartridge/FLASH.js"></script>
<script src="IodineGBA/core/cartridge/EEPROM.js"></script>
<script src="user_scripts/XAudioJS/swfobject.js"></script>
<script src="user_scripts/XAudioJS/resampler.js"></script>
<script src="user_scripts/XAudioJS/XAudioServer.js"></script>
<script src="user_scripts/IodineGBAROMLoadGlueCode.js"></script>
<script src="user_scripts/IodineGBAJoyPadGlueCode.js"></script>
<script src="user_scripts/IodineGBASavesGlueCode.js"></script>
<script src="user_scripts/IodineGBAGraphicsGlueCode.js"></script>
<script src="user_scripts/IodineGBAAudioGlueCode.js"></script>
<script src="user_scripts/IodineGBACoreGlueCode.js"></script>
<script src="user_scripts/base64.js"></script>
<link rel="stylesheet" href="user_css/main.css">
</head>
<body>
<canvas id="emulator_target" width="240px" height="160px"></canvas>
<span id="tempMessage"></span>
</body>
</html>