top 50 comments

sorted by: hot top controversial new old
[–] 65 points 3 months ago

There was a web prior to JavaScript.

  • source
  • [–] 32 points 3 months ago (2 children)

    This comment was made with javascript disabled

  • source
  • hideshow 2 child comments
  • [–] 25 points 3 months ago* (1 child)

    No. Every time we try, the universe resets itself and then spawns twelve more JS frameworks. A few universes ago, npm didn't even exist. Now look at us.

  • source
  • hideshow 1 child comment
  • [–] 22 points 3 months ago

    Yes, in fact the vast majority of internet protocols do not use Javascript at all.

  • source
  • [–] 15 points 3 months ago

    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.

  • source
  • [–] 14 points 3 months ago (1 child)

    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.

  • source
  • hideshow 1 child comment
  • [–] 2 points 3 months ago

    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 ❤️

  • source
  • parent
  • [–] 13 points 3 months ago
    [–] 12 points 3 months ago

    Yes, of course.

  • source
  • [–] 10 points 3 months ago (7 children)

    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

  • source
  • hideshow 7 child comments
  • load more comments (7 replies)
    [–] 10 points 3 months ago (6 children)

    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

  • source
  • hideshow 6 child comments
  • [–] 1 point 3 months ago* (3 children)

    is it this one? site sadly doesn't work with https

    there's also a github demo

    this one explains some possibilities with it, but sadly it's an advertisement instead of being available for free..:

  • source
  • parent
  • hideshow 3 child comments
  • [–] 9 points 3 months ago (8 children)

    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!!)

  • source
  • hideshow 8 child comments
  • [–] 4 points 3 months ago (5 children)

    Why would I want a calculator in my web browser?

  • source
  • parent
  • hideshow 5 child comments
  • [–] 9 points 3 months ago (4 children)

    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.

  • source
  • parent
  • hideshow 4 child comments
  • load more comments (4 replies)
  • [–] 8 points 3 months ago (5 children)

    The internet has run for literally decades without JS.

  • source
  • hideshow 5 child comments
  • [–] 2 points 3 months ago (4 children)

    um. a lot of that was not even html. im not sure op wants command line.

  • source
  • parent
  • hideshow 4 child comments
  • [–] 1 point 3 months ago (3 children)

    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.

  • source
  • parent
  • hideshow 3 child comments
  • [–] [S] 2 points 3 months ago (1 child)

    Do you love the internet of that existed before Y2K ?

  • source
  • parent
  • hideshow 1 child comment
  • [–] 2 points 3 months ago

    It had a lot of advantages. No spam, no advertising, a close-knit community. A lot of trust - if you needed a resource, you asked around, and there was the chance that you got access to something just so, for free. And if you did, you did not abuse it. About everyone was an expert, not an "expert".

  • source
  • parent
  • [–] 6 points 3 months ago (7 children)

    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.

  • source
  • hideshow 7 child comments
  • [–] 1 point 3 months ago (6 children)

    It wouldn't be as flashy looking

    What, why not?

  • source
  • parent
  • hideshow 6 child comments
  • [–] 1 point 3 months ago (3 children)

    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

  • source
  • parent
  • hideshow 3 child comments
  • [–] 3 points 3 months ago (2 children)

    But most of it could be done in native with not much extra work. And much less breakage. Most of it is on a framework developers side of course.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 5 points 3 months ago*

    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
  • source
  • [–] 4 points 3 months ago

    Yes, but it's harder. JS is easy mode in web development, all the things just kinda work with it.

  • source
  • [–] 4 points 3 months ago*

    Yes. It was glorious.

    On the flipside, there was a lot of broken CGI (as in, "common gateway interface")

  • source
  • [–] 4 points 3 months ago (1 child)

    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.)

  • source
  • hideshow 1 child comment
  • [–] 2 points 3 months ago

    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.

  • source
  • load more comments
    view more: next ›