This repository has been archived by the owner on Apr 2, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaprilfools.js
31 lines (30 loc) · 1.52 KB
/
aprilfools.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
function payload() {
alert('Happy April Fools!')
setInterval(() => {document.querySelector("video").play();document.querySelector("video").volume = 0.5;document.body.click();},20)
setTimeout(()=>{
//
let payload1 = setInterval(()=>{
document.body.style.transform = ` rotateZ(${Math.random() * 360}deg)`
},1000)
setTimeout(()=>{
clearInterval(payload1)
let payload2 = setInterval(()=>{
document.body.style.transform = `scaleX(${Math.random() * 2.11}) rotateZ(${Math.random() * 360}deg)`
},800)
setTimeout(()=>{
clearInterval(payload2)
let payload3 = setInterval(()=>{
document.body.style.transform = `scaleY(${Math.random() * 1.11 + 0.5}) scaleX(${Math.random() * 2.11}) rotateZ(${Math.random() * 360}deg)`
},300)
setTimeout(()=>{
clearInterval(payload3)
setInterval(()=>{
document.body.style.filter = `hue-rotate(${Math.random() * 360}deg)`
document.body.style.transform = `scaleY(${Math.random() * 1.11 + 1}) scaleX(${Math.random() * 2.11 + 1}) rotateZ(${Math.random() * 360}deg) rotateY(${Math.random() * 360}deg) rotateX(${Math.random() * 360}deg)`
},120)
setInterval(()=>{let rick = window.open("popup.html","april fools","height=160,width=360,popup=1")},2000)
},3000)
},5000)
},6000)
},10000)
}