;)
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
var count = 0;
|
||||
|
||||
function clickyBoy() {
|
||||
count++;
|
||||
if (count == 1){
|
||||
alert("You feel the ground shake..")
|
||||
} else if (count === 2) {
|
||||
alert("You feel your spine tingle..")
|
||||
} else if (count === 3) {
|
||||
alert("The ground starts to split..")
|
||||
} else if (count === 4) {
|
||||
alert("It starts to rise up..")
|
||||
} else if (count === 5) {
|
||||
alert("It's here..")
|
||||
window.location.replace('./easter-egg.html');
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,5 @@
|
||||
function checkparam() {
|
||||
window.onLoad = function() {
|
||||
const params = new URLSearchParams(window.location.search)
|
||||
// console.log(params) Only uncomment this for testing purposes.
|
||||
|
||||
@@ -38,4 +39,10 @@ function checkparam() {
|
||||
const success = document.getElementById("success");
|
||||
success.style.display = "block";
|
||||
}
|
||||
|
||||
if (params.get('ref') === 'ee') {
|
||||
const ee = document.getElementById("easteregg")
|
||||
ee.style.display = "block";
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user