Is it possible to have an internet without the Javascript ?
This comment was made with javascript disabled
Submitted 2 weeks ago by TheViking@nord.pub to [deleted]
Is it possible to have an internet without the Javascript ?
This comment was made with javascript disabled
How?
Piefed works with javascript disabled. Only a few actions require it
No. Every time we’ve tried, the universe resets itself and then spawns twelve more JS frameworks. A few universes ago, npm didn’t even exist. Now look at us.
The only truly universal law
Yes, in fact the vast majority of internet protocols do not use Javascript at all.
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.
Yes
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.
NoScript is great. I wsh I knew what each script did instead of trialing them is the issue. Clicking a domain just says safe every time I have checked one. Some ared red and others white even when disabled.
That said it is the game changer for clear fast browsing and reading. FF and ublock ❤️
Yes, of course.
There was a website that showcased pure HTML with carousals, navigation and responsive design. I think it was called “you don’t need js” or something
This one’s called Just Fucking Use HTML
Yes finally I found it. Thanks
I think its the first one
The first link is showing a warning. Is it a phishing link ?
Totally.
You can even do a lot of the fancy stuff. HTML forms have been there since the beginning and don’t require JS at all. You can do logins, logouts, forms, basically anything as long as it doesn’t involve changing the contents of a page without a page load (aside from animations which you can do in CSS).
You could even make a Lemmy type thing that didn’t use JS at all, just submitted a form when you hit post, and then the server would take care of the rest! (I’m a little surprised to see Lemmy does seem to require JS for posting, actually.)
– Frost
Hello Frost, struggling my way with the Linux commands.
Hm? *headtilt*
Linux commands to do what?
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!!)
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 ;)
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.
The internet has run for literally decades without JS.
um. a lot of that was not even html. im not sure op wants command line.
I know. I’ve been there. I remember when a friend showed me this “web thing”, basically “Gopher with hypertext”. That was the Arena browser, and we looked at TBLs original web site on his NeXT cube at CERN.
Define “possible”
yes,we had an internet before JavaScript, and most of what they claim needs JavaScript doesn’t. Many things would be better for users without JavaScript
no, when I turn off scripting, at least half the www doesn’t work. Arguably you need it for overly clever paywalls and ads, not that any consumers want those. It’s not practical to wish that away
Yeah? It wouldn’t be as flashy looking but it would be far more secure and far less system-heavy.
Would also be great if our browsers didn’t report every little detail about our PC too…
Time to go back to BBSing.
It wouldn’t be as flashy looking
What, why not?
JavaScript is how most of the fancy stuff happens. Sites would be a lot more static without it.
Unless I’m mistaken, JavaScript handles most of the event listeners and dynamic actions on websites… I suppose there is PHP and ASP doing a bit of that too, but I think most of it is JS
Yes, but it’s harder. JS is easy mode in web development, all the things just kinda work with it.
Yes. It was glorious.
On the flipside, there was a lot of broken CGI
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.
Use Ublock Origin. Go to settings and check “Disable Javascript”.
Some sites may not work, so you might need to re-enable for those ones.
Other sites have Cloudflare CAPTCHAs, and you need to enable JS to get past them, but once you get through, you can turn on the JS blocker again.
schwim@piefed.zip 2 weeks ago
There was a web prior to JavaScript.