diff options
author | Minteck <contact@minteck.org> | 2022-11-11 23:47:49 +0100 |
---|---|---|
committer | Minteck <contact@minteck.org> | 2022-11-11 23:47:49 +0100 |
commit | 209356b8ade1920b50d1d3a1a5e121c6623d167b (patch) | |
tree | 5301396987d1510f715a0b1c24754873af19e1dc /app/bits/assets/easteregg.js | |
parent | 2c4ae43e688a9873e86211ea0e7aeb9ba770dd77 (diff) | |
download | pluralconnect-209356b8ade1920b50d1d3a1a5e121c6623d167b.tar.gz pluralconnect-209356b8ade1920b50d1d3a1a5e121c6623d167b.tar.bz2 pluralconnect-209356b8ade1920b50d1d3a1a5e121c6623d167b.zip |
Update
Diffstat (limited to 'app/bits/assets/easteregg.js')
-rwxr-xr-x | app/bits/assets/easteregg.js | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/app/bits/assets/easteregg.js b/app/bits/assets/easteregg.js deleted file mode 100755 index cb05ea6..0000000 --- a/app/bits/assets/easteregg.js +++ /dev/null @@ -1,60 +0,0 @@ -f13presses = 0; -document.onkeydown = (event) => { - if (event.keyCode === 124) { - if (require('os').platform() === "win32") { - alert("haha you're using an inferior OS! Doing F13 on here is too easy so you might have expected " + - "something but you're not going to get it.") - } else { - f13presses++; - - switch (f13presses) { - case 1: - Array.from(document.querySelectorAll("*")).forEach((item) => { - item.style.fontFamily = "'Noto Sans Symbols', 'Wingdings', 'Webdings', monospace"; - }); - break; - - case 2: - Array.from(document.querySelectorAll("*")).forEach((item) => { - item.style.background = "red"; - }); - break; - - case 3: - Array.from(document.querySelectorAll("*")).forEach((item) => { - item.style.color = "blue"; - }); - break; - - case 4: - Array.from(document.querySelectorAll("img")).forEach((item) => { - item.src = ""; - item.style.color = "yellow"; - }); - break; - - case 5: - Array.from(document.querySelectorAll("*")).forEach((item) => { - item.style.transition = "transform 200ms"; - item.style.animationName = "shake"; - item.style.animationDuration = "200ms"; - item.style.animationIterationCount = "infinite"; - item.style.animationDirection = "alternate-reverse"; - }); - break; - - case 6: - Array.from(document.querySelectorAll("*")).forEach((item) => { - item.style.display = "none"; - }); - break; - - default: - Array.from(document.querySelectorAll("*")).forEach((item) => { - window.close(); - }); - break; - } - } - } -}
\ No newline at end of file |