You know the modern web is broken when you visit a website and are greeted with this text:

"You need to enable JavaScript to run this app."

Since when is a website an "app" and why do we need JavaScript to display plain text? The web should be for everyone.

@hund But how should I lazyload everything then?! 😧

@hund Instead of loading all the text/content at once when you load the website up you load it lazily after the website was rendered and put the content in afterwards. And thus "reducing loading times"

@Ghosty It's plain text and maybe a few images, not the Lord of the rings trilogy on Bluray.

@hund @hund Blue-Rays use Java and not JavaScript!1! ;)

@Ghosty @hund I am pretty sure that in a very high % of cases, the JS code is bigger than the content it loads lazily 🙂

@pet84rik @hund Yup and even better: it causes weird behavior in a very high % because most don’t have proper placeholders.

Also: even mobile data is fast enough to load most pages instantly no matter what and if your page is too big you can also split it which would also increase readability!

@Ghosty @hund
There's native lazy loading for img since Firefox 75

However, it seems this works only when js is enabled

@ashlk @hund This lazy loading thing was a joke. :)

That’s cool though!

Because there's some app logic behind this "plain text"? I, personally can't wait to see HTML dead and replaced with some GUI API. The Internet stopped being hypertext since long ago.

@VikingKong @hund Fortunately, a lot of people are working at the exact opposite direction! 😊

If you want to offer app functionality, please do so to those who asked for it. If in your first visit to a website you are "greeted" with this kind of message we all know what kind of "app logic" is behind it! 🙄

@ckoul @hund
Would you tell us? For example, any React app will greet you with this message, so what kind of logic behind it do you see?

@VikingKong @ckoul @hund I think the main disconnect is that some people want interactive apps, some people want to consume documents and media, and both groups of people think the web is perfect for what they want.

HTML and CSS are actually pretty decent at displaying documents and media. Throw JavaScript into the mix, and now you have an app running inside a document rendering engine. Not a great situation.

@hund couple of reasons:
1. UI Design team over design
2. Incompetence, the market needs so many developers that my mother could be hired if I teach her the buzz words because many people hiring only know the buzz words
3. Resume driven development
4. Not challenging demands
5. Managers telling developers what to do. And developers not finding creative solutions (see 2. And 4.)

I probably missed a couple :P


Most of the time it's just as you describe.

I have a million better things to do with my time but in the end it was less trouble to do my company's sites myself rather than the alternatives, which are either someone who copy pastes from that stack overflow site or wait for that one in a million guy who actually knows what he's doing.

Mind, the web is filled with terrible and outdated advice on #HTML as with so many other things.


@benoitj @hund

With that said, there are cases when going for #JavaScript-only pages is the right thing to do.

That is precisely when you have an #HTML application (say a game, an editor of some description or a database front-end) for which it would not be economical to support and maintain a backend-served fallback. It is 2020 after all and there's a reasonable expectation that people will have a choice to enable scripting if they so wish. In those cases, a <noscript/> is fine.

@hund everything is an app now. Also there's no more internet, only cloud~

How else can they drop the drive-by trojan keylogger cryptominer cookie?

At least they bothered to include a <noscript> warning at all. That's always nice of them. It makes me less resentful at the website knowing why the stupid shit doesn't work.

> Since when is a website an "app" and why do we need JavaScript to display plain text? The web should be for everyone.
I would think that such behaviour would be incredibly shitty for SEO rankings. Just like content-blocking login portals. But apparently not? Sounds like big search engines need options to filter this bullshit.

@hund So what do you recommend for a static site w/out JS?

Sign in to participate in the conversation

Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.