60

i absolutely hate how the modern web just fails to load if one has javascript turned off. i, as a user, should be able to switch off javascript and have the site work exactly as it does with javascript turned on. it's not a hard concept, people.

but you ask candidates to explain "graceful degradation" and they'll sit and look at you with a blank stare.

top 50 comments
sorted by: hot top controversial new old
[-] scarabic@lemmy.world 21 points 1 week ago* (last edited 1 week ago)

You’re correct, and I’m going to explain how this happens. I’m not justifying that it happens, just explaining it.

It isn’t that no one knows what graceful degradation is anymore. It’s that they don’t try to serve every browser that’s existed since the beginning of time.

When you develop software, you have to make some choices about what clients you’re going to support, because you then need to test for all those clients to ensure you haven’t broken their experience.

With ever-increasing demands for more and more software delivery to drive ever greater business results, developers want to serve as few clients as possible. And they know exactly what clients their audience use - this is easy to see and log.

This leads to conversations like: can we drop browser version X? It represents 0.4% of our audience but takes the same 10% of our testing effort as the top browser.”

And of course the business heads making the demands on their time say yes, because they don’t want to slow down new projects by 10% over 0.4% of TAM. The developers are happy because it’s less work for them and fewer bizarre bugs to deal with from antiquated software.

Not one person in this picture will fight for your right to turn off JavaScript just because you have some philosophy against it. It’s really no longer the “scripting language for animations and interactivity” on top of HTML like it used to be. It’s the entire application now. 🤷‍♂️

If it helps you to blame the greedy corporate masters who want to squeeze more productivity out of their engineering group, then think that. It’s true. But it’s also true that engineers don’t want to work with yesteryear’s tech or obscure client cases, because that experience isn’t valuable for their career.

load more comments (9 replies)
[-] baggachipz@sh.itjust.works 10 points 1 week ago

Blame the ui frameworks like react for this. It’s normalized a large cross-section of devs not learning anything about how a server works. They’ve essentially grown up with a calculator without ever having to learn long division.

[-] possiblylinux127@lemmy.zip 5 points 1 week ago

Not all frameworks are bad

The problem is the devs/owners not understanding basic fundamentals. They could see a major financial benefit if they make the page snappy and light but apparently no one at these companies realizes that.

[-] jimmy90@lemmy.world 2 points 1 week ago

PE from server rendering only to a full interactive SPA in the browser is really not trivial both for frameworks and app devs

there are a handful of frameworks that support it fairly ergonomically now but it's a discipline that takes time and effort

also disabling javascript is a tiny minority use case

[-] Jimmycrackcrack@lemmy.ml 9 points 1 week ago

I don't know anything about web development but, is it really fair to say it should work exactly the same with JavaScript turned off? If that were achievable why would it be there in the first place? I assume the graceful degradation concept is supposed to be that as you strip away more and more layers of additional functionality, the core functions remain or at least some kind of explanation is given to the user why things don't work.

[-] possiblylinux127@lemmy.zip 9 points 1 week ago

JavaScript is needed to actually build anything useful. It is way easier to maintain and when done properly it can be very fast to load and use.

The problem with today's web is that pages are extremely inefficient and bloated. You can keep the same UI just don't try to use every framework and library under the sun. Also it would be nice if people actually formated assets properly instead of using tons of large images and other assets.

[-] the_wiz@feddit.org 3 points 1 week ago

JavaScript is needed to actually build anything useful

Tell this to the people who build things you would call today a "Webapp" with CGI written in C.

[-] NigelFrobisher@aussie.zone 4 points 1 week ago

So many basic pages are still done as an SPA when they’d work fine as a postback form. It’s infuriating, but web development is rife with magic hammers.

load more comments (1 replies)
[-] XM34@feddit.org 8 points 1 week ago

If it's a standard webpage that only displays some static content, then sure.

But everything that needs to be interactive (and I'm talking about actual interactivity here, not just navigation) requires Javascript and it's really not worth the effort of implementing fallbacks for everything just so you can tell your two users who actually get to appreciate this effort that the site still won't work because the actual functionallity requires JavaScript.

It all comes down to what the customer is ready to pay for and usually they're not ready to pay for anything besides core functionallity. Heck, I'm having a hard enough time getting budget for all the legally required accessibility. And sure, some of that no script stuff pays into that as well, but by far not everything.

Stuff like file uploads, validated forms and drag and drop are just not worth the effort of providing them without JS.

load more comments (8 replies)
[-] Supervisor194@lemmy.world 7 points 1 week ago

It's worse than this even. I have an old Raspberry Pi 3B+ (1G) that I got in 2018. I hooked it up the other day to mess around with it, it's been maybe 2 years since I did anything with it, ever since I got a Pi 4 (4G). 1 gigabyte of RAM is now insufficient to browse the web. The machine freezes when loading any type of interactive site. Web dev is now frameworks piled on frameworks with zero consideration for overhead and it's pure shit. Outrageous.

[-] possiblylinux127@lemmy.zip 6 points 1 week ago

You want to see terrible try looking at the network tab in inspect element

"Modern" pages load hundreds of large assets instead of keeping it smaller and clean.

its also cdn on cdn nobody does local libraries anymore

load more comments (1 replies)
[-] elephantium@lemmy.world 6 points 1 week ago

Graceful degradation - pfft.

Progressive enhancement - yeah!

load more comments (4 replies)
[-] cley_faye@lemmy.world 6 points 1 week ago

it’s not a hard concept, people.

Depends. Webapps are a thing, and without JavaScript, there isn't much to show at all.

Websites that mostly serve static content though? Yeah. Some of them can't even implement a basic one-line message that asks to turn on JavaScript; just a completely white page, even though the data is there. I blame the multiple "new framework every week" approach. Doubly so for sites that starts loading, actually shows the content, and then it loads some final element that just cover everything up.

load more comments (1 replies)
[-] MonkderVierte@lemmy.zip 5 points 1 week ago

Most don't even know @media (prefers-color-scheme: dark/light), rather cobble something with JS that works half of the time and needs buttons to toggle.

[-] unmagical@lemmy.ml 6 points 1 week ago* (last edited 1 week ago)

A button to toggle is good design, but it should just default to your system preferences.

[-] JustARaccoon@lemmy.world 2 points 1 week ago

Took me ages to find a snippet that has a manual dark mode toggle but in a way that works with prefer-color-scheme so by default it inherits your settings but you can overwrite it... It's just not a priority for a lot of people or they're ok with the site flashing or something.

load more comments (3 replies)
[-] Sertou@lemmy.world 4 points 1 week ago

The web isn't just HTML and server side scripting anymore. A modern website uses Javascript for many key essentials of the site's operation. I'm not saying that's always a good thing, but it is a true thing.

It is no longer a reasonable expectation that a website work with JavaScript disabled in the browser. Most of the web is now in content management systems that use JavaScript for browser support, accessibility, navigation, search, analytics and many aspects of page rendering and refreshing.

The web isn't just HTML and server side scripting anymore. A modern website uses Javascript for many key essentials of the site's operation.

which is why the modern web is garbage

[-] moseschrute@lemmy.world 3 points 1 week ago* (last edited 1 week ago)

I’ve spent the last year building a Lemmy and PieFed client that requires JavaScript. This dependency on JavaScript allows me to ship you 100% static files, which after being fully downloaded, have 0 dependency on a web server. Without JavaScript, my cost of running web servers would be higher, and if I stopped paying for those servers, the client would stop working immediately. Instead, I chose to depend heavily on JavaScript which allows me to ship a client that you can fully download, if you choose, and run on your own computer.

As far as privacy, when you download my Threadiverse client* and inspect network requests, you will see that most of the network requests it makes are to the Lemmy/PieFed server you select. The 2 exceptions being any images that aren’t proxied via Lemmy/PieFed, and when you login, I download a list of the latest Lemmy servers. If I relied on a web server for rendering instead of JavaScript, many more requests would be made with more opportunities to expose your IP address.

I truly don’t understand where all this hate for JavaScript comes from. Late stage capitalism, AI, and SAS are ruining the internet, not JavaScript. Channel your hate at big tech.

*I deliver both web and downloadable versions of my client. The benefits I mentioned require the downloaded version. But JavaScript allows me to share almost 100% code between the web and downloaded versions. In the future, better PWA support will allow me to leverage some of these benefits on web.

[-] monobot@lemmy.ml 2 points 1 week ago

Problem is so many websites are slow for no good reason.

And JS is being used to steal our info and push aggressive advertisment.

Which part is unknown to you?

load more comments (1 replies)
load more comments (1 replies)
[-] Kolanaki@pawb.social 3 points 1 week ago

I don't know how you're gonna get everything to work without JavaScript. You can't do a lot of interactivity stuff without it.

[-] the_wiz@feddit.org 4 points 1 week ago

Do "the stuff" on the server, only serve HTML. In my first job we build a whole webshop with very complex product configurators that would today even run perfectly fine in dillo.

load more comments (1 replies)
[-] irelephant@lemmy.dbzer0.com 3 points 1 week ago

I've had news articles not work without javascript. (unpaywalled as well).

[-] swelter_spark@reddthat.com 3 points 1 week ago

Love it when a page loads, and it's just a white blank. Like, you didn't even try. Do I want to turn JS on or close the tab? Usually, I just close the tab and move on. Nothing I need to see here.

load more comments (1 replies)
[-] phoenixz@lemmy.ca 3 points 1 week ago

Ibuild pretty feature heavy CMS type sites, and though I always try to go HTML only first (I'm quite old school still), it's almost impossible to escape JavaScript

Having said that, the entire "my website won't even show anything on the landing page without JavaScript" should die a quick death already

[-] Armand1@lemmy.world 2 points 1 week ago* (last edited 1 week ago)

I wrote my CV site in React and Next.js configured for SSG (Static Site Generation) which means that the whole site loads perfectly without JavaScript, but if you do have JS enabled you'll get a theme switching and print button.

That said, requiring JS makes sense on some sites, namely those that act more like web apps that let you do stuff (like WhatsApp or Photopea). Not for articles, blogs etc. though.

load more comments (11 replies)
[-] ExtremeDullard@lemmy.sdf.org 2 points 1 week ago

Funny, from my standpoint, more functional JavaScript almost always feels like service degradation - as in, the more I block, the better and the faster the website runs.

load more comments (2 replies)
[-] hperrin@lemmy.ca 2 points 1 week ago

It is substantially harder to make a modern website work without JavaScript. Not impossible, but substantially harder. HTML forms are not good at doing most things. Plus, a full page refresh on nearly any button click would be a bad experience.

[-] normalexit@lemmy.world 2 points 1 week ago

Developers are still familiar with the concept, there are even ideas like server side rendering in react to make sites more SEO friendly.

I think the biggest issue is that there is very little business reason to support these users. Sites can be sued over a lack of accessibility and they can lose business from bad ux, so they are going to focus in those two areas ten times out of ten before focusing on noscript and lynx users. SEO might be a compelling reason to support it, but only companies that really have their house in order focus in those concerns.

[-] Randelung@lemmy.world 2 points 1 week ago

Nonono, the JS does the money thing before you get your content fix. It's by design.

[-] NigelFrobisher@aussie.zone 1 points 1 week ago

I built an internal tool that works with or without js turned on, but web devs want something simple for them with a framework, which is why you have to download 100Mb just for a basic form page.

load more comments
view more: next ›
this post was submitted on 27 Jul 2025
60 points (92.9% liked)

Mildly Infuriating

41375 readers
130 users here now

Home to all things "Mildly Infuriating" Not infuriating, not enraging. Mildly Infuriating. All posts should reflect that.

I want my day mildly ruined, not completely ruined. Please remember to refrain from reposting old content. If you post a post from reddit it is good practice to include a link and credit the OP. I'm not about stealing content!

It's just good to get something in this website for casual viewing whilst refreshing original content is added overtime.


Rules:

1. Be Respectful


Refrain from using harmful language pertaining to a protected characteristic: e.g. race, gender, sexuality, disability or religion.

Refrain from being argumentative when responding or commenting to posts/replies. Personal attacks are not welcome here.

...


2. No Illegal Content


Content that violates the law. Any post/comment found to be in breach of common law will be removed and given to the authorities if required.

That means: -No promoting violence/threats against any individuals

-No CSA content or Revenge Porn

-No sharing private/personal information (Doxxing)

...


3. No Spam


Posting the same post, no matter the intent is against the rules.

-If you have posted content, please refrain from re-posting said content within this community.

-Do not spam posts with intent to harass, annoy, bully, advertise, scam or harm this community.

-No posting Scams/Advertisements/Phishing Links/IP Grabbers

-No Bots, Bots will be banned from the community.

...


4. No Porn/ExplicitContent


-Do not post explicit content. Lemmy.World is not the instance for NSFW content.

-Do not post Gore or Shock Content.

...


5. No Enciting Harassment,Brigading, Doxxing or Witch Hunts


-Do not Brigade other Communities

-No calls to action against other communities/users within Lemmy or outside of Lemmy.

-No Witch Hunts against users/communities.

-No content that harasses members within or outside of the community.

...


6. NSFW should be behind NSFW tags.


-Content that is NSFW should be behind NSFW tags.

-Content that might be distressing should be kept behind NSFW tags.

...


7. Content should match the theme of this community.


-Content should be Mildly infuriating.

-The Community !actuallyinfuriating has been born so that's where you should post the big stuff.

...


8. Reposting of Reddit content is permitted, try to credit the OC.


-Please consider crediting the OC when reposting content. A name of the user or a link to the original post is sufficient.

...

...


Also check out:

Partnered Communities:

1.Lemmy Review

2.Lemmy Be Wholesome

3.Lemmy Shitpost

4.No Stupid Questions

5.You Should Know

6.Credible Defense


Reach out to LillianVS for inclusion on the sidebar.

All communities included on the sidebar are to be made in compliance with the instance rules.

founded 2 years ago
MODERATORS