this post was submitted on 25 Jul 2023
1502 points (99.1% liked)

Firefox

17612 readers
580 users here now

A place to discuss the news and latest developments on the open-source browser Firefox

founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] CallumWells@lemmy.ml 4 points 1 year ago (2 children)

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 1 points 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 1 points 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?