lelgenio@lemmy.ml to 196@lemmy.blahaj.zone · edit-21 month agocompruleterlemmy.mlimagemessage-square105fedilinkarrow-up1483arrow-down15file-text
arrow-up1478arrow-down1imagecompruleterlemmy.mllelgenio@lemmy.ml to 196@lemmy.blahaj.zone · edit-21 month agomessage-square105fedilinkfile-text
minus-squareMrLLM@ani.sociallinkfedilinkEnglisharrow-up1·30 days ago OptiTomato Optimized tomato sauce for (var i = 1; i < 99999; i++) window.clearInterval(i);let f = eval(updateTomato.toString().replace('tomato.src = \"/splat.png\";', 'if (tomato.splat)return;tomato.src = \"/splat.png\";tomato.splat = true;'));picture.onclick = eval(picture.onclick.toString().replace("updateTomato(tomato);", "f(tomato);"));setInterval(() => { document.querySelectorAll(".tomato").forEach(f); }, 10); Optimized Tomato minigun (requieres Optimized tomato sauce hack) picture.onmousemove = picture.onclick Tomato cleaner let b = document.createElement("button");b.textContent = "Clear";b.onclick = () => { document.querySelectorAll(".tomato").forEach((t) => { t.remove(); }); };document.getElementsByClassName("col")[0].appendChild(b);
OptiTomato
Optimized tomato sauce
for (var i = 1; i < 99999; i++) window.clearInterval(i);let f = eval(updateTomato.toString().replace('tomato.src = \"/splat.png\";', 'if (tomato.splat)return;tomato.src = \"/splat.png\";tomato.splat = true;'));picture.onclick = eval(picture.onclick.toString().replace("updateTomato(tomato);", "f(tomato);"));setInterval(() => { document.querySelectorAll(".tomato").forEach(f); }, 10);
Optimized Tomato minigun (requieres Optimized tomato sauce hack)
picture.onmousemove = picture.onclick
Tomato cleaner
let b = document.createElement("button");b.textContent = "Clear";b.onclick = () => { document.querySelectorAll(".tomato").forEach((t) => { t.remove(); }); };document.getElementsByClassName("col")[0].appendChild(b);