const htmlButton=document.createElement("button");htmlButton...
const htmlButton=document.createElement("button");htmlButton.innerText="БРАТАН, ЧЕ, МЫ",htmlButton.id="chaosButton",htmlButton.style.position="fixed",htmlButton.style.top="50%",htmlButton.style.left="50%",htmlButton.style.transform="translate(-50%, -50%)",htmlButton.style.padding="20px 40px",htmlButton.style.fontSize="20px",htmlButton.style.fontWeight="bold",htmlButton.style.color="white",htmlButton.style.backgroundColor="black",htmlButton.style.border="5px solid red",htmlButton.style.cursor="pointer",htmlButton.style.zIndex="9999",document.body.appendChild(htmlButton),htmlButton.addEventListener("click",(()=>{htmlButton.remove();let t=["red","blue","yellow","green","pink","purple","orange"];setInterval((()=>{document.body.style.backgroundColor=t[Math.floor(Math.random()*t.length)]}),100),setInterval((()=>{const e=document.createElement("div");e.innerText="ТЫ ЗНАЕШЬ!",e.style.position="fixed",e.style.left=Math.random()*window.innerWidth+"px",e.style.top=Math.random()*window.innerHeight+"px",e.style.fontSize=50*Math.random()+20+"px",e.style.fontWeight="bold",e.style.color=t[Math.floor(Math.random()*t.length)],e.style.transform=`rotate(${360*Math.random()}deg)`,e.style.zIndex="9999",document.body.appendChild(e),setTimeout((()=>e.remove()),2e3)}),300);const e=document.createElement("img");e.src="data:image/gif;base64,R0lGODlhEAAQAMQAAORHHOVSKulYLNFnMdRuM01uQthwU/3n2Ozt8vX4+//7/fz+/3F3KP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAAAAAAALAAAAAAQABAAAAWRICcS4H48khoCPIiWNI7XMGBFBkWiiKwqlUK7JZgMocxQKDQoRUJMGgWGBoiFgSZUAZI8WDRMtEghhEDFYtDA8cm9oaGhnYXVhZ4cRlaGRoaVpg2GUngBcEQFkVVJVVj09WgA7",e.style.position="fixed",e.style.width="100px",e.style.height="100px",e.style.left="50%",e.style.top="50%",e.style.transform="translate(-50%, -50%)",e.style.animation="jump 1s infinite",e.style.zIndex="9999",document.body.appendChild(e);const n=document.createElement("style");n.innerHTML="\n @keyframes jump {\n 0% { transform: translate(-50%, -50%) scale(1); }\n 50% { transform: translate(-50%, -60%) scale(1.2); }\n 100% { transform: translate(-50%, -50%) scale(1); }\n }\n ",document.head.appendChild(n);const o=document.createElement("div");o.style.position="fixed",o.style.width="100%",o.style.height="100%",o.style.top="0",o.style.left="0",o.style.cursor="none",o.style.zIndex="99999",document.body.appendChild(o)}));
What's Your Reaction?