News for hackers. Stuff that matters.
Re:JavaScript: The Modern Parts by SquareWheel on Saturday August 24, 2019 @05:35AM (#20786198)
Those APIs also have a much stronger security model behind them today. Browsers require things like TLS and user confirmation before sharing geo information. Other actions like the clipboard API require user interaction (eg. button clicks).

JS of the past was the wild west. You want to add a bookmark? Go for it! You want to trigger a print dialogue? Why not!

Re:JavaScript: The Modern Parts by krapp on Saturday August 24, 2019 @09:39AM (#20787066)
>JS of the past was the wild west. You want to add a bookmark? Go for it! You want to trigger a print dialogue? Why not!

Yeah. People forget that in the bad old days you could even do things like redefine the global Array constructor[0].

[0]https://johnresig.com/blog/re-securing-json/