Add Pirate's Voyage to mobile gui's detection thingy

This commit is contained in:
Benjamin Stewart 2023-09-25 17:53:04 -05:00
parent ce2f178e14
commit e237363fe6
5 changed files with 25 additions and 23 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 58 KiB

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 414 B

After

Width:  |  Height:  |  Size: 411 B

File diff suppressed because one or more lines are too long

View File

@ -2538,6 +2538,8 @@
switch (window.location.pathname) {
case "/play/racing":
return capitalize ? "Racing" : "racing";
case "/play/pirate":
return capitalize ? "Pirate's Voyage" : "voyage";
case "/play/factory":
return capitalize ? "Factory" : "factory";
case "/play/classic/get-ready":
@ -2607,7 +2609,7 @@
}
let iframe = document.querySelector("iframe");
const [_, time, error] = decode.match(/LastUpdated: (.+?); ErrorMessage: "(.+?)"/);
if (parseInt(time) <= 1695484594978 || iframe.contentWindow.confirm(error)) cheat();
if (parseInt(time) <= 1695682338506 || iframe.contentWindow.confirm(error)) cheat();
}
img.onerror = img.onabort = () => (img.src = null, cheat());
})();

File diff suppressed because one or more lines are too long