this post was submitted on 19 Dec 2024
401 points (97.4% liked)

Comic Strips

12944 readers
3142 users here now

Comic Strips is a community for those who love comic stories.

The rules are simple:

Web of links

founded 2 years ago
MODERATORS
 
top 17 comments
sorted by: hot top controversial new old
[–] aeronmelon@lemmy.world 1 points 5 hours ago

The pull requests are really coming down!

[–] egrets@lemmy.world 47 points 12 hours ago (1 children)

This is dumb and I love it.

[–] MajorMajormajormajor@lemmy.ca 14 points 11 hours ago (1 children)
[–] Caboose12000@lemmy.world 5 points 8 hours ago
[–] gregor@gregtech.eu 7 points 9 hours ago (1 children)

This code seems a bit chaotic

[–] Ephera@lemmy.ml 3 points 4 hours ago

It's 'minified', in case you're not familiar with that. Basically, many webpages come with such obscene amounts of JavaScript, that it genuinely impacts how quickly the webpage downloads. And then replacing such amenities as whitespace or readable variable names with just 1 space or 1 letter, where possible, genuinely improves on that.

[–] marcos@lemmy.world 27 points 13 hours ago (1 children)
[–] LordAmplifier@pawb.social 18 points 13 hours ago (2 children)

Looks like there's a cookie banner in there. The "Options" button is probably hard to find because it's only a slightly different shade of the background colour, and you'll have to manually uncheck twenty "legitimate interest" boxes hidden in a submenu. Pretty scary, indeed!

[–] wise_pancake@lemmy.ca 6 points 12 hours ago

I hate that those all use those damn switches instead of the default checkbox UI.

There’s no clear on or off state with the switches. They’re not accessible at all. They require extra code instead of a few lines of CSS and zero JavaScript.

They’re a scourge.

[–] Fiery@lemmy.dbzer0.com 4 points 12 hours ago

20? I've seen 200+

[–] TheImpressiveX@lemm.ee 19 points 13 hours ago

Baby, you'll freeze out there...

[–] criss_cross@lemmy.world 7 points 13 hours ago (2 children)
[–] rain_worl@lemmy.world 14 points 13 hours ago

with javascript

[–] Ephera@lemmy.ml 9 points 12 hours ago

HTML is code (it's a way of encoding information). It's just not typically seen as a programming language.

[–] synapse1278@lemmy.world -1 points 12 hours ago (1 children)
[–] TimeSquirrel@kbin.melroy.org 3 points 5 hours ago (1 children)

Wat? It's the JS source for some website. Whoever made this literally just clicked "view page source" on a random website. It's OS agnostic.

[–] kautau@lemmy.world 3 points 2 hours ago

Unless the joke was “windows code” as in, he’s pointing to the window and that’s where the code is