-
Notifications
You must be signed in to change notification settings - Fork 68
Expand file tree
/
Copy pathindex.html
More file actions
48 lines (42 loc) · 1.75 KB
/
index.html
File metadata and controls
48 lines (42 loc) · 1.75 KB
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
<!doctype html>
<html>
<head>
<base href="https://cdn.jsdelivr.net/gh/gn-math/assets@main/307/">
<script>
const originalFetch = window.fetch;
window.fetch = async function (...args) {
if (typeof args[0] === 'string') {
args[0] = fixedUrl(args[0]);
} else if (args[0] instanceof Request) {
args[0] = new Request(fixedUrl(args[0].url), args[0]);
}
return originalFetch.apply(this, args);
};
const originalOpen = XMLHttpRequest.prototype.open;
XMLHttpRequest.prototype.open = function (method, url, ...rest) {
return originalOpen.call(this, method, fixedUrl(url), ...rest);
};
function fixedUrl(url) {
const parts = url.split(/[/\\]/);
let last = parts.pop();
let fix = last.replaceAll("|", '_').replaceAll("%7C", "_");
return url.replace(last, fix);
}
</script>
<meta name='viewport' content='width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, viewport-fit=cover' />
<meta charset='utf-8'>
<link rel="stylesheet" type="text/css" href="styles.css">
<link rel="manifest" href="manifest.json">
<title>Rainbow Obby v0.3x</title>
<script src="https://cdn.jsdelivr.net/gh/gn-math/assets@main/poki-sdk.js"></script>
<script src="files/assets/152069093/1/GameAnalytics.js"></script>
<script src="playcanvas-stable.min.js"></script>
<script src="files/assets/171810889/1/colyseus.js"></script>
<script src="__settings__.js"></script>
</head>
<body>
<script src="__modules__.js"></script>
<script src="__start__.js"></script>
<script src="__loading__.js"></script>
</body>
</html>