3 ms·
>Identify and eject storage devices I mean, why?
by NovemberWhiskey 4y ago
>Identify and eject storage devices
I mean, why?
- codetrotter 4y agoBecause browser makers and web app devs want to be able to do everything desktop software can, but inside of a browser. In theory it’s kind of neat.
- abraham 4y agoIt's a chrome APi, not a browser web API. https://developer.chrome.com/docs/extensions/reference/system_storage/ https://developer.chrome.com/docs/extensions/reference/syste...
- autoexec 4y agoIn theory that's basically like letting anyone on the internet run arbitrary code on your devices which is a terrible idea. In practice it's like letting anyone on the internet run arbitrary code with a few guardrails to catch the worst and most obvious abuses while it takes control away from the user and allows for highly invasive forms of tracking that is very hard to prevent.
- pcthrowaway 4y agoIn theory, there is no difference between theory and practice; but in practice, there is.
- Gigachad 4y agoIt’s all because of chromebooks. Google has had to implement basically every capability as a js api so Chromebook’s can do real work.
- dcow 4y agoYou should have been around before chrome books when any extension could do whatever it wanted without any permissions at all. Your understanding of history is missing some key pieces. Over time, Google has generally locked these APIs down not opened them up.
- thelopa 4y agoBrowser JS definitely never had the ability to unmount storage volumes before Chromebooks existed.
- dcow 4y agoOh but your Java applet surely could.
- loa_in_ 4y agoAnd nothing would prevent an extension from loading an applet
- tgsovlerkhgsel 4y agoExtensions could, and this action could be triggered from browser JS.
- sangnoir 4y agoChrome has a a USB interface; I'm guessing identification and ejectionnis required functionality fir dual-mode USB devices that may present as storage devices foe driver installation.