![](/static/253f0d9b/assets/icons/icon-96x96.png)
![](https://lemmy.ml/pictrs/image/u9kB0kgEaN.png)
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?
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?
EDIT: I understand your point by the way. Is it ethical to pirate things? Maybe or maybe not, but I think the stance of most people here is that pirating stuff that is produced by giant, obscenely wealthy media conglomerates is generally okay.
You are discussing piracy in the context of media and copyright infringement, in which the owner of the pirated material is a corporation and the pirate is an actual person.
By comparing the act of pirating corporate owned digital material to a fictional scenario in which one person is copying another person’s physical possessions very much implies that you see the corporate owners of digital material as people.
EDIT: I understand your point by the way. Is it ethical to pirate things? Maybe or maybe not, but I think the stance of most people here is that pirating stuff that is produced by giant, obscenely wealthy media conglomerates is generally okay.
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?