4 ms·
Those APIs also have a much stronger security model behind them today. Browsers require things like TLS and user confirmation before sharing geo information.
by SquareWheel 7y ago
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!
- krapp 7y ago>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/ https://johnresig.com/blog/re-securing-json/