Spyke
lelgenioreply
lemmy.ml

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

12

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

5

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.

9
MrLLMreply
ani.social

::: spoiler 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 :)

:::

5

::: spoiler 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);

:::

1
Donkterreply
lemmy.world

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

2
lelgenioreply
lemmy.ml

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

21

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

2

On mobile you can use multiple fingers to tap. Allowing you to throw ten tomatoes at once

Update: I tested this and it actually doesn't work. This is an outrage!

1

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

1
lemmy.world

tomato website where you can throw tomatoes on a photo. website with tomatoes

84

This would especially be great if one could upload their photos but if you decide to include a few of your own please add a photo of trump.

Bonus if you make an easter egg where when you throw one tomato at trump it doesn't apply a tomato effect and instead changes to the picture of him being shot.

8
sopuli.xyz

Make one that just says you're wrong. Then we can always go "Oh yeah? Well this website says you're wrong"

47
nopereply
jlai.lu

Oooh maybe it could take in a name as query parameter so it would say "Sorry [name], you're wrong"

5

::: spoiler Console cheat codes

Intermittent You're Wrong

let k = 1;setInterval(() => { var h = document.getElementsByTagName("h" + k)[0];k = k == 1 ? 6 : 1;let nh = document.createElement("h" + k);nh.textContent = h.textContent;h.replaceWith(nh) }, 500);

DVD You're Wrong

let b = document.getElementsByTagName("body")[0];b.style.background = "#000";b.style.height = "100vh";let t = document.getElementsByClassName("col")[0]; let xa = 1; let ya = 1;let x = 0, y = 0;t.classList.remove("col");t.style.position = "absolute";setInterval(() => { var bp = b.getBoundingClientRect();var w = bp.width;var h = bp.height;if (x > w || x < 0) xa = x > w ? -1 : 1; if (y > h || y < 0) ya = y > h ? -1 : 1;x += xa;y += ya;t.style.top = y + "px";t.style.left = x + "px"; }, 5);t.style.transition = "color 1s";let fc = () => { return parseInt(Math.random() * 155) + 101; };let c = () => { return "rgb(" + fc() + "," + fc() + "," + fc() + ")"; };setInterval(() => { t.style.color = c() }, 1000);

I gotta say that I loved the DVD result

:::

1
lemmy.one

Website where you click a catboy to make him spin, and the faster you click the faster he spins

40

::: spoiler Cheat console codes

Trap boy

document.getElementById("catboy").src = "https://lemmy.world/pictrs/image/e4c85b56-2b11-4747-a63f-4e9366cb9505.png";

Custom image hack

let p = document.createElement("input");p.type = "file";p.onchange = () => { var r = new FileReader(); r.onload = (e) => { document.getElementById("catboy").src = e.target.result; }; r.readAsDataURL(p.files[0]); };document.getElementsByClassName("col")[0].appendChild(p);

Endless rotation

rpm = -3000;

144 FPS unlocker

for (var i = 1; i < 99999; i++) window.clearInterval(i);setInterval(() => { catboyImage.style.rotate = `${rot}deg`; rot += rpm / 60; while (rot > 360) rot -= 360; }, 1000 / 144);setInterval(() => { if (rpm > 0) rpm -= rpm / 100; rpmIndiCATor.innerHTML = Math.floor(rpm); }, 10);

Autopilot

setInterval(() => { rpm += parseInt(Math.random() * 100); }, 10);

:::

2

Since everyone here is obsessed with tomatoes, I suggest a site that has the visitors vote on whether it's a fruit or a vegetable, and then just redirects to a dancing tomato instead of the results.

33
sh.itjust.works

A website where I click a button and it cleans my room for me.

17

I prefer clean room to dirty room, so I clean room. Thankfully, this is true even when I am depressed.

5
lemmy.world

Website that puts cobwebs on another website chosen by the user (via an iframe?)

15
lelgenioreply
lemmy.ml

I'm not quite sure how that could be done...

I can't modify the contents of other websites embedded as iframes. The other option would be to make a request in my server and modify the content and then pass that, but then I'd be hosting an unsecured proxy which I don't want to do.

The only good way to do this would be with a browser extension, which I haven't got a clue on how to create. :/

13
Björnreply
swg-empire.de

Couldn't you just overlay some cobweb pngs over the iframe? And on scroll of the iframe you could move them accordingly.

7

Dang. Well time to write a browser engine in JavaScript! (Or do this server side)

4

pull a random image from imgflip and a random text from `fortune-mod', add it as caption and post the result when you click a button.

14

Maybe a bit difficult, but a website where you write some lyrics and it autocompletes it when it finds the song

So you can find songs with crazy lyrics in them

9

A website that I can go to when I need to provide a profile pic for say, a bot, but I don't actually care about it so I can just grab a random image and call it a day and it'll be funny.

For example my current go to when something wants a profile pic is Walter white's face when he realises he's dying.

So just like, a website that randomly shows 196 images I guess.

7
lemmy.world

A website where you pick compatible wine or spirit production techniques and it calculates the resulting alcohol and sugar contents so that you can mix and match them but still have some idea of the outcome.

Example

  1. Fermentation - Inputs; water, yeast, fruit pulp (dropdown supported fruit types)

  2. SO2 addition

  3. Acidification/Deacidification

  4. Chaptalization

  5. Fining

  6. Distillation - Input: number of times

Result: 99% Alcohol (You suck at winemaking)

6
Hawkreply
lemmy.dbzer0.com

Hitting 99% is as impressive as it is impossible making wine :D

6
lemmy.world

Distillation x3 or more does that, or just x1 with a really good still (a reflux still for example) and competent user.

2
Hawkreply
lemmy.dbzer0.com

Thar would be a surprise, as it forms an azeotrope at around 96%.

1

It seems you're correct, my apologies, alcohol goes through a drying process to reach higher purities.

1

Make a website with the piano plaing cat where you can select a sound file and then press spacebar for the cat to hit the keyboard.

6

AI "DJ" that reads you news and local events after a number of songs

3

Website where it plays Take Me On but the song pauses right before it says "Take Me ooon!", giving the viewer the opportunity to say it.

Then a play button to continue.

1