sent from a disposable whonix qube

  • OwOarchist@pawb.socialBanned
    link
    fedilink
    English
    arrow-up
    0
    ·
    4 months ago

    Honestly, it’s bonkers that the standard, default approach for all mainstream browsers is to let every random website in the world run any arbitrary code it wants on your computer.

    Yeah, they usually attempt to sandbox it, but still. Sometimes sandboxes can be escaped. And sometimes the code can do significant harm while still inside its sandbox.

    • Err(()).unwrap()@lemmy.worldM
      link
      fedilink
      arrow-up
      0
      ·
      4 months ago

      Most websites would break, or not even display, without javascript. Sure, it’s bonkers for you, but an alternative browser that can’t immediately show a website that works perfectly well in Chrome wouldn’t get much of a user base.

      • OwOarchist@pawb.socialBanned
        link
        fedilink
        English
        arrow-up
        0
        ·
        4 months ago

        Most websites would break, or not even display, without javascript.

        I use NoScript – I’m well aware.

        But a lot of those websites could function without javascript. A lot of websites use it unnecessarily, for reasons such as:

        • They want their ads and trackers and other malicious code (such as soft paywalls) to work as intended.

        • They want to add fancy cosmetic elements to the content and are too lazy to think about failing gracefully and still displaying the content if javascript isn’t working.

        • They built the website in a framework that depends on javascript, and are again too lazy to bother worrying about graceful failure if javascript isn’t working, even if their content could, in theory, be displayed just fine without it. (Or maybe the framework developers deserve a bit of the blame for that laziness, since they could have made graceful failure a feature of the framework, but chose not to.)

        In a hypothetical world where most browsers didn’t allow every website to run arbitrary code, then every website would be forced to take that into account and only depend on javascript when it’s absolutely necessary for the website’s core functions.

      • chonglibloodsport@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        4 months ago

        Most websites from when I was a kid did not need JavaScript. Heck, they didn’t even have any JavaScript on many of them! No CSS either, just HTML and images (which were very slow to load on dialup).

    • cley_faye@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      4 months ago

      Bugs exists. But JavaScript running in the browser have, theoretically, little access to anything. Definitely no FS access without user interactions, can’t access most of the system services, and the few that are accessible are through restricted API with permissions/confirmations.

      The risk of allowing JavaScript on a website is more tied to the site data, or tracking. Rogue browser extensions are way more dangerous.

      It doesn’t mean every site needs JavaScript, but having this enabled by default is not that big of a security risk for the system. It can help with phishing, though, if you don’t know what site you’re viewing.

  • hirihit640@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    0
    ·
    4 months ago

    I am also a bottom-right user. But browsers like Tor Browser and Mullvad Browser supposedly take care of javascript fingerprinting, at least if you check websites like amiunique.org. So I’m running out of reasons to disable javascript. What privacy reasons do you disable javascript for?

    • keiko@fedia.ioOP
      link
      fedilink
      arrow-up
      0
      ·
      4 months ago

      Those are websites I don’t want to use. As I’ve said in other comments, sites which break without javascript are what I consider broken sites. And I don’t like to use broken sites.

      Almost all websites stop working

      Another way of saying this: Most websites are broken and not worth accessing.

      Like, have you seen the web? Most sites suck. lol. The good ones don’t bully/coerce me to change my behaviour.