summaryrefslogtreecommitdiff
path: root/app/bits/static/easteregg.js
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2023-02-23 19:34:56 +0100
committerMinteck <contact@minteck.org>2023-02-23 19:34:56 +0100
commit3d1cd02f27518f1a04374c7c8320cd5d82ede6e9 (patch)
tree75be5fba4368472fb11c8015aee026b2b9a71888 /app/bits/static/easteregg.js
parent8cc1f13c17fa2fb5a4410542d39e650e02945634 (diff)
downloadpluralconnect-3d1cd02f27518f1a04374c7c8320cd5d82ede6e9.tar.gz
pluralconnect-3d1cd02f27518f1a04374c7c8320cd5d82ede6e9.tar.bz2
pluralconnect-3d1cd02f27518f1a04374c7c8320cd5d82ede6e9.zip
Updated 40 files, added 37 files, deleted 1103 files and renamed 3905 files (automated)
Diffstat (limited to 'app/bits/static/easteregg.js')
-rwxr-xr-xapp/bits/static/easteregg.js60
1 files changed, 0 insertions, 60 deletions
diff --git a/app/bits/static/easteregg.js b/app/bits/static/easteregg.js
deleted file mode 100755
index cb05ea6..0000000
--- a/app/bits/static/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