diff --git a/fools.js b/fools.js deleted file mode 100644 index 99e6c6f..0000000 --- a/fools.js +++ /dev/null @@ -1,15 +0,0 @@ - -let storage = window.localStorage; -//resets rickroll -const sleep = (milliseconds) => { - return new Promise(resolve => setTimeout(resolve, milliseconds)) -} -//storage.removeItem("rick"); -let roll = storage.getItem("rick"); -if (roll === "true") { - console.log("rick on") -} else { - storage.setItem("rick","true"); - sleep(2000); - window.location.assign("https://www.youtube.com/watch?v=dQw4w9WgXcQ"); -}