-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
78 lines (72 loc) · 3.34 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<!DOCTYPE html>
<!-- saved from url=(0014)about:internet -->
<html lang="en-us"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><script>
if (window.parent !== window.self) window.parent.postMessage("bonk", "*");
window.addEventListener("DOMContentLoaded", function () {
document.body.style.margin = "0";
document.body.style.height = "100vh";
document.body.style.overflow = "hidden";
});
</script>
<title>Tortilla - Slope</title>
<script src="./index_files/blockscript.js.download"></script>
<script src="./index_files/scripts.js.download"></script><script async="" src="./index_files/sweetalert2@11" crossorigin="anonymous"></script><style type="text/css">.game { border-radius: 10px; } .game_force-open { border-radius: 10px; } .app { border-radius: 10px; } .app_force-open { border-radius: 10px; }</style>
<link href="./index_files/style.css" rel="stylesheet">
<link rel="stylesheet" href="./index_files/style(1).css">
<script src="./index_files/UnityProgress.js.download"></script>
<link rel="shortcut icon" href="https://tortillagames.org/tortilla.png">
<link rel="icon" href="https://tortillagames.org/tortilla.png" type="image/png">
<script src="./index_files/UnityLoader.js.download"></script>
<script>
window.rWS = WebSocket;
WebSocket = function (url, options) {
var split = url.split("://");
var prefix = "";
if (!url.includes("arc.io")) {
switch (split[0].toLowerCase()) {
case "ws":
prefix = "wss://onebigorange-tmm.tbt.mx/websocket/http://";
break;
case "wss":
prefix = "wss://onebigorange-tmm.tbt.mx/websocket/https://";
break;
default:
prefix = split[0];
}
return new (Function.prototype.bind.call(window.rWS, null, (split[1].match(/\//g) || []).length === 0 ? (split[1].includes("?") ? prefix + split[1].replace("?", "/?") : prefix + split[1] + "/") : prefix + split[1], options))();
} else {
return new window.rWS(url, options);
}
};
var origOpen = XMLHttpRequest.prototype.open;
XMLHttpRequest.prototype.open = function (...args) {
if (!args[1].includes("arc.io")) args[1] = /^http/.test(args[1]) ? "https://onebigstatic-tmm.tbt.mx/static/" + args[1] : args[1];
origOpen.apply(this, args);
};
var gameInstance = UnityLoader.instantiate("gameContainer", "Build/slope_27Sept.json", {
onProgress: UnityProgress,
Module: {
onRuntimeInitialized: function () {
UnityProgress(gameInstance, "complete");
},
},
});
</script>
<script async="" src="./index_files/js"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag("js", new Date());
gtag("config", "G-98DP5VKS42");
</script>
<script src="./index_files/lib.js.download" type="text/javascript"></script>
<script src="./index_files/gamebreak.js.download" type="text/javascript"></script>
</head>
<body>
<div class="webgl-content">
<div id="gameContainer" style="width: 100vw; height: 100vh;"></div>
</div>
<script type="application/javascript" src="./index_files/main.js.download"></script>
</body></html>