removed fools.js
This commit is contained in:
parent
c288357e6d
commit
97d5cf6e60
1 changed files with 0 additions and 15 deletions
15
fools.js
15
fools.js
|
@ -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");
|
|
||||||
}
|
|
Loading…
Reference in a new issue