Updated to u46
This commit is contained in:
parent
2fcf8e9b7d
commit
370442eb89
Binary file not shown.
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -20,9 +20,9 @@
|
|||||||
if(window.location.href.indexOf("file:") === 0) {
|
if(window.location.href.indexOf("file:") === 0) {
|
||||||
alert("HTTP please, do not open this file locally, run a local HTTP server and load it via HTTP");
|
alert("HTTP please, do not open this file locally, run a local HTTP server and load it via HTTP");
|
||||||
}else {
|
}else {
|
||||||
|
|
||||||
// %%%%%%%%% launch options %%%%%%%%%%%%
|
// %%%%%%%%% launch options %%%%%%%%%%%%
|
||||||
|
|
||||||
var relayId = Math.floor(Math.random() * 3);
|
var relayId = Math.floor(Math.random() * 3);
|
||||||
window.eaglercraftXOpts = {
|
window.eaglercraftXOpts = {
|
||||||
demoMode: false,
|
demoMode: false,
|
||||||
@ -39,18 +39,18 @@
|
|||||||
{ addr: "wss://relay.shhnowisnottheti.me/", comment: "ayunami relay #1", primary: relayId == 2 }
|
{ addr: "wss://relay.shhnowisnottheti.me/", comment: "ayunami relay #1", primary: relayId == 2 }
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
// %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
// %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
var q = window.location.search;
|
var q = window.location.search;
|
||||||
if((typeof q === "string") && q[0] === "?" && (typeof window.URLSearchParams !== "undefined")) {
|
if((typeof q === "string") && q[0] === "?" && (typeof window.URLSearchParams !== "undefined")) {
|
||||||
q = new window.URLSearchParams(q);
|
q = new window.URLSearchParams(q);
|
||||||
var s = q.get("server");
|
var s = q.get("server");
|
||||||
if(s) window.eaglercraftXOpts.joinServer = s;
|
if(s) window.eaglercraftXOpts.joinServer = s;
|
||||||
}
|
}
|
||||||
|
|
||||||
main();
|
main();
|
||||||
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
Binary file not shown.
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -14,7 +14,6 @@
|
|||||||
<link type="image/png" rel="shortcut icon" href="favicon.png" />
|
<link type="image/png" rel="shortcut icon" href="favicon.png" />
|
||||||
<script type="text/javascript" src="classes.js"></script>
|
<script type="text/javascript" src="classes.js"></script>
|
||||||
<script src="/js/ga4.js"></script>
|
<script src="/js/ga4.js"></script>
|
||||||
<script src="/js/eag-ctrler.js"></script>
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
"use strict";
|
"use strict";
|
||||||
window.addEventListener("load", function() {
|
window.addEventListener("load", function() {
|
||||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user