diff options
author | RaindropsSys <raindrops@equestria.dev> | 2024-06-19 22:51:26 +0200 |
---|---|---|
committer | RaindropsSys <raindrops@equestria.dev> | 2024-06-19 22:51:26 +0200 |
commit | c960fd60b03550eaf079fdd94dd9f4c59d2fafeb (patch) | |
tree | b4357a6ce2f0d39a81b007682be28a25234de394 | |
parent | 0aaad317ecb6b507fc39a8297b113385e7731f7a (diff) | |
download | likeme-c960fd60b03550eaf079fdd94dd9f4c59d2fafeb.tar.gz likeme-c960fd60b03550eaf079fdd94dd9f4c59d2fafeb.tar.bz2 likeme-c960fd60b03550eaf079fdd94dd9f4c59d2fafeb.zip |
-rw-r--r-- | index.html | 20 |
1 files changed, 0 insertions, 20 deletions
@@ -65,10 +65,6 @@ <div class="text-muted" style="text-align: center;">© 2024 The Starscouts, Equestria.dev Developers, All rights reserved.<br>All data is processed on-device, period.<br><br>Update: June 19th, 2024<br>Expirity: July 3nd, 2024</div> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script> - <div id="cheat" style="position: fixed; inset: 0; border: 5px solid red; pointer-events: none; display: none;"> - <span style="position: fixed; top: 0; left: 0; color: black; background-color: red;">Cheating detected, you will not be able to share your score.</span> - </div> - <!--suppress JSCheckFunctionSignatures --> <script> if (new Date().getTime() >= 1719964800000) { @@ -181,22 +177,6 @@ document.getElementById("title").innerText = score.toFixed(2) + "%"; document.getElementById("header").innerText = "Results"; } - - function _cheat() { - document.getElementById("cheat").style.display = ""; - localStorage.setItem("WW91IGFyZSBhIGNoZWF0ZXIuCg==", btoa(crypto.getRandomValues(new Uint8Array(32)))); - } - - setInterval(() => { - let s1 = new Date().getTime(); - debugger; - let s2 = new Date().getTime(); - if (s2 - s1 > 10) _cheat(); - }); - - if (localStorage.getItem("WW91IGFyZSBhIGNoZWF0ZXIuCg==")) { - _cheat(); - } } </script> </body> |