this post was submitted on 04 Oct 2024
471 points (99.0% liked)

196

16338 readers
2433 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 1 year ago
MODERATORS
471
compruleter (lemmy.ml)
submitted 1 week ago* (last edited 1 week ago) by [email protected] to c/[email protected]
 

Keep it silly though

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 90 points 1 week ago (8 children)
[–] [email protected] 12 points 6 days ago (1 children)

The TLS certificate is not valid

[–] [email protected] 12 points 6 days ago (1 children)

I did a woopsy, forgot to make the changes permanent, and my server auto-updated, won't happen again

[–] brbposting 4 points 5 days ago

Better not or will expect the refund immediately

[–] [email protected] 5 points 5 days ago* (last edited 5 days ago) (1 children)

Console cheat codes

~~Tomater~~ Brainer

picture.onclick = eval(picture.onclick.toString().replace("/tomato.png", "https://images.freeimages.com/image/previews/ce8/color-stroke-brain-png-5691833.png"))

Tomato minigun

for (var i = 1; i < 99999; i++) window.clearInterval(i);let f = eval(updateTomato.toString().replace("return;", "pictureContainer.removeChild(tomato);return"));picture.onclick = eval(picture.onclick.toString().replace("updateTomato(tomato);", "f(tomato);"));setInterval(() => { document.querySelectorAll(".tomato").forEach(f); }, 10);picture.onmousemove = picture.onclick

Slow-mo tomato

for (var i = 1; i < 99999; i++) window.clearInterval(i);f = eval(updateTomato.toString().replace("2.0", "0.3").replace("tomato.angularMomentum", "1"));picture.onclick = eval(picture.onclick.toString().replace("updateTomato(tomato);", "f(tomato);"));setInterval(() => { document.querySelectorAll(".tomato").forEach(f); }, 10);

I was thinking about making cheat codes for all your pages, but the tomato one just took me an embarrassing amount of time to work around.

Congratulations, you’ve successfully stressed me out. Just kidding, nice page OP :)

[–] [email protected] 1 points 5 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);

[–] clay_pidgin 6 points 6 days ago

That's pretty impressive actually. Good use of scaling the pic.

[–] [email protected] 5 points 6 days ago (1 children)
[–] [email protected] 13 points 6 days ago
[–] [email protected] 5 points 6 days ago

Excellent work! I formally propose an easter egg that changes the image to tow-mater from cars the movie.

[–] [email protected] 1 points 5 days ago

Why is there no easter egg for painting the whole canvas :(

[–] [email protected] 5 points 1 week ago (1 children)

Nice I feel I should apologise for the tomato craze, maybe it wasn't a great suggestion lol

[–] [email protected] 9 points 6 days ago

I dunno, I think the result is fabulous. I still don't know why everyone was so obsessed with tomatoes, but this website is great fun.

[–] [email protected] 2 points 1 week ago (2 children)

It's a good website. If I could humbly suggest: next time, more tomate.

[–] [email protected] 21 points 6 days ago (1 children)

Skill issue, just click faster and more tomatoes will appear 🙄

[–] [email protected] 6 points 6 days ago

Thank you! 💕 My issue is resolved. 👏

[–] [email protected] 2 points 5 days ago* (last edited 5 days ago)

I’ve written a console cheat code for it, hopefully OP won’t patch it (・∀・)