-
Notifications
You must be signed in to change notification settings - Fork 0
/
index_mz.html
46 lines (46 loc) · 1.39 KB
/
index_mz.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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta
name="apple-mobile-web-app-status-bar-style"
content="black-translucent"
/>
<meta name="viewport" content="user-scalable=no" />
<link rel="icon" href="icon/icon.png" type="image/png" />
<link rel="apple-touch-icon" href="icon/icon.png" />
<link rel="stylesheet" type="text/css" href="css/game.css" />
<title>Game</title>
</head>
<body style="background-color: black">
<script type="text/javascript" src="js/main.js"></script>
<script>
const injection = () => {
// data/ を data_mz/ に差し替える
DataManager._databaseFiles = DataManager._databaseFiles.map(function (
databaseFile
) {
return {
name: databaseFile.name,
src: "../data_mz/" + databaseFile.src,
};
});
const _DataManager_loadDataFile = DataManager.loadDataFile;
DataManager.loadDataFile = function (name, src) {
return _DataManager_loadDataFile.apply(this, [
name,
"../data_mz/" + src,
]);
};
};
const i = setInterval(() => {
if (window.$plugins) {
console.log("LOADED!");
injection();
clearInterval(i);
}
}, 10);
</script>
</body>
</html>