colors only in easteregg version

master
Michael Murtaugh 11 months ago
parent 75a7b4c342
commit 2f27dfa84b

@ -179,7 +179,7 @@
var dropdown = dropdowns[random]; var dropdown = dropdowns[random];
var random_option = Math.floor(Math.random() * dropdown.options.length); var random_option = Math.floor(Math.random() * dropdown.options.length);
dropdown.selectedIndex = random_option; dropdown.selectedIndex = random_option;
var color = "black"; // pickcolor(); // michael: 17 dec tho i liked the colors, i found myself not reading the lines... trying monochrome var color = easteregg ? pickcolor() : "black"; // ; // michael: 17 dec tho i liked the colors, i found myself not reading the lines... trying monochrome
var backgroundcolor = pickcolor(); var backgroundcolor = pickcolor();
var font = pickfont(); var font = pickfont();
dropdown.style.width = "auto"; dropdown.style.width = "auto";
@ -241,7 +241,8 @@
makedrop(); makedrop();
var checking = new URLSearchParams(window.location.search); var checking = new URLSearchParams(window.location.search);
if(checking.get('easteregg') == "true"){ var easteregg = (checking.get('easteregg') == "true");
if (easteregg){
alert("🪄 You found the secret treasure word🌟. Its called 'Special tissue'🤧! Please mention it in your application 🪄"); alert("🪄 You found the secret treasure word🌟. Its called 'Special tissue'🤧! Please mention it in your application 🪄");
} }
</script> </script>

@ -179,7 +179,7 @@
var dropdown = dropdowns[random]; var dropdown = dropdowns[random];
var random_option = Math.floor(Math.random() * dropdown.options.length); var random_option = Math.floor(Math.random() * dropdown.options.length);
dropdown.selectedIndex = random_option; dropdown.selectedIndex = random_option;
var color = "black"; // pickcolor(); // michael: 17 dec tho i liked the colors, i found myself not reading the lines... trying monochrome var color = easteregg ? pickcolor() : "black"; // ; // michael: 17 dec tho i liked the colors, i found myself not reading the lines... trying monochrome
var backgroundcolor = pickcolor(); var backgroundcolor = pickcolor();
var font = pickfont(); var font = pickfont();
dropdown.style.width = "auto"; dropdown.style.width = "auto";
@ -241,7 +241,8 @@
makedrop(); makedrop();
var checking = new URLSearchParams(window.location.search); var checking = new URLSearchParams(window.location.search);
if(checking.get('easteregg') == "true"){ var easteregg = (checking.get('easteregg') == "true");
if (easteregg){
alert("🪄 You found the secret treasure word🌟. Its called 'Special tissue'🤧! Please mention it in your application 🪄"); alert("🪄 You found the secret treasure word🌟. Its called 'Special tissue'🤧! Please mention it in your application 🪄");
} }
</script> </script>

Loading…
Cancel
Save