Is it possible to have an internet without the Javascript ?
There was a web prior to JavaScript.
Submitted 1 hour ago by TheViking@nord.pub to [deleted]
Is it possible to have an internet without the Javascript ?
There was a web prior to JavaScript.
Have a look at the Gemini protocol. Has nothing to do with Google’s AI, it’s a protocol mainly for text. No JavaScript, no CSS, just Gemtext.
This comment was made with javascript disabled
Yes, in fact the vast majority of internet protocols do not use Javascript at all.
Yes. It was glorious.
On the flipside, there was a lot of broken CGI
Yes
Yes. Absolutely. And I for one would like to see it. But as an entirely different system with all-new DNSs.
I would propose a system like HTMX (yes this uses JavaScript, but not if it was part of the browser itself) for interactive and partial support.
Would it be faster? Ehhh, with proper backend. But it wouldn’t eat your processor or be all janky.
But, in favor or JavaScript: you can’t make a simple calculator without JavaScript. (Please don’t link me to the crazy css hacks!!)
Why would I want a calculator in my web browser?
Why would you want basic math in a web browser. Currency conversion? Shopping carts? Mortgage and interest? Dynamic inputs?
Basically nothing would be dynamic. Everything would require a round trip to the server.
Now, I think this “new web” would just simply not cater to those types of “dynamic” desires. Web design would be wildly different. Probably in a good way.
you can’t make a simple calculator without JavaScript
But you can make an overly-complicated one with PHP!
/s it would actually still be simple just needing page reloads
It’s not simple if you use laravel as a framework just to return calculator results ;)
Sure!
It’s just either app-walled (AOL and IE could do things without JavaScript), essentially static (turn off JavaScript and browse around. Many pages won’t work anymore, but many will be seamless) or functionally equivalent (modern browsers support web Assembly, meaning the stuff that JavaScript is used for would instead be in C or java or something.)
Many of the things JS is used for are better done with CSS.
DarrinBrunner@lemmy.world 12 minutes ago
I run NoScript. I only allow the javascript a site needs to function.
Most sites run well enough without it enabled, at least for viewing the content. Lemmy lets you read without JS enabled.
Google sites demand JS enabled to show you anything.