• CallumWells@lemmy.ml
    link
    fedilink
    English
    arrow-up
    5
    ·
    1 year ago

    Let’s just go back to the good old days when the web worked without JS. That would remove a massive amount of attack surface. Might seem a bit shit without the interactivity, though.

    • Thepolack@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Is there any way to make JS safer? E.g. limiting the scope of its access to specific functions (e.g. visual/DOM changes, posting/querying a server only but no local function), or is it just inherently unsafe?

    • Thepolack@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Is there any way to make JS safer? E.g. limiting the scope of its access to specific functions (e.g. visual/DOM changes, posting/querying a server only but no local function), or is it just inherently unsafe?