change favicon, add ZXMushroom's fix
This commit is contained in:
parent
40ff779ddb
commit
811e1e4fab
|
@ -410,6 +410,9 @@ function displayGui() {
|
||||||
addBtn.innerHTML = "Add new";
|
addBtn.innerHTML = "Add new";
|
||||||
addBtn.addEventListener("click", () => {
|
addBtn.addEventListener("click", () => {
|
||||||
var newMod = window.prompt("URL of Mod: ", "http://example.com/example.js");
|
var newMod = window.prompt("URL of Mod: ", "http://example.com/example.js");
|
||||||
|
if (!newMod) {
|
||||||
|
return; //User pressed cancel
|
||||||
|
}
|
||||||
Mods.push(
|
Mods.push(
|
||||||
newMod
|
newMod
|
||||||
);
|
);
|
||||||
|
@ -519,7 +522,7 @@ ${classes_js}
|
||||||
setTimeout(() => { document.getElementById("launch_countdown_screen").remove(); main(); }, 50);
|
setTimeout(() => { document.getElementById("launch_countdown_screen").remove(); main(); }, 50);
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<link type="image/png" rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAIAAAD8GO2jAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAAFiUAABYlAUlSJPAAAAR/SURBVEhLtZXZK3ZRFMYPcqXc+gv413DHxVuGIpIhkciQWaRccCNjSCkligwXSOZ5nmfv9zvn2e8+58V753sudmuvvdZ61l5r7XOc8H+GS/D19aUNkPz5+aktQH5/f//4+LBKZKuRkpUtQjCUYG5gD2T38vLy/PwsDfL9/f3Dw8PT05M0b29vnKLhCKCBT4L4gvBLBIei4//4+Hh1dUVEQutUuLu7E83FxQUGnKLBWKfQaA3S+AREVxaEOD8/Pzk50XpzcyMDcH19zdZG3N3d3dzc3Nvb01aX5pQUpQGGQJxcQpfNysoKhUIdHR1o1tbWbInYAgxIPDMzMy8vLzc3FxqOdMoRqwJK8G8ALUYIhHMiSEhIwI6CyIb0qQzC4eGhsXCc1tZWnZIEKzdQJQSXgKxfX18RCM3Z5eWlcfVAxKOjo+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xxB+Y4wisBhssJUhjEbPJf4Nw+B+JXqLW3bw+wQAAAABJRU5ErkJggg==" />
|
<link type="image/png" rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABB0lEQVQ4y52TvU7DMBSFP0dean4nRogqpKpFYuGNOuQNEF0QZUGwMTP0sSp1qQQjD9DNPgyJIzukVCSSpdzznXt95WsbgOfZTAz4ntZrY5bT6aBkAAHWD06vS1gptGG12GT443XSq0cmA4UXePWbqsWGfR16QRDYQO6YP1wAsHr7BiDlkQHcnQsENhw4g3281oX1hAzcnp02f3UHKY9dvb9c4wkYgVVnh0NxqgWEDR3HX3E8g5sTNYX+WaCriZ4p3D9uc3PCJ8dHuSYovISXshGlLfukg+htF2CqshTAdrfrHdfYuZaNncuYAYrQ3Khy5H4llyOX3YPojctLGID55dWgJ7X6+jQ/jsSgi/K94KoAAAAASUVORK5CYII=" />
|
||||||
</head>
|
</head>
|
||||||
<body style="margin:0px;width:100vw;height:100vh;overflow:hidden;" id="game_frame">
|
<body style="margin:0px;width:100vw;height:100vh;overflow:hidden;" id="game_frame">
|
||||||
<div style="margin:0px;width:100%;height:100%;font-family:sans-serif;display:flex;align-items:center;user-select:none;" id="launch_countdown_screen">
|
<div style="margin:0px;width:100%;height:100%;font-family:sans-serif;display:flex;align-items:center;user-select:none;" id="launch_countdown_screen">
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 320 B |
|
@ -385,6 +385,9 @@ function displayGui() {
|
||||||
addBtn.innerHTML = "Add new";
|
addBtn.innerHTML = "Add new";
|
||||||
addBtn.addEventListener("click", () => {
|
addBtn.addEventListener("click", () => {
|
||||||
var newMod = window.prompt("URL of Mod: ", "http://example.com/example.js");
|
var newMod = window.prompt("URL of Mod: ", "http://example.com/example.js");
|
||||||
|
if (!newMod) {
|
||||||
|
return; //User pressed cancel
|
||||||
|
}
|
||||||
Mods.push(
|
Mods.push(
|
||||||
newMod
|
newMod
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user