3 ms·
WebUSB is so great. I can ship a cross-platform application that accesses a hardware device without having to deal with all the platform specifics, and with de
by nezza-_- 6mo ago
WebUSB is so great.
I can ship a cross-platform application that accesses a hardware device without having to deal with all the platform specifics, and with decent sandboxing of my driver.
I think one way to make it more "secure" against unwitting users would be to only support WebUSB for devices that have a WebUSB descriptor - would allow "origin" checking.
- gear54rus 6mo agoYep. FlipperZero, Android, now some random chinese handheld radio - just some of the things I didn't have to install some crap unsandboxed app to flash in the last 3 months. Absolutely revolutionary.
- miladyincontrol 6mo agoThis right here is the reason I like it and web bluetooth too, with them 'just working' regardless of platform I'm using. Miss me with some unsigned questionable app that only runs on windows as admin.
- scottbez1 6mo agoYep, I’ve bought a few thermal printers recently and webusb support (marketed as Chromebook support) was a major deciding factor. Thermal printers aren’t well supported by built in printer drivers, so it’s nice to not have to install some questionable driver software with access to my whole computer and instead have a sandboxed chrome extension with enumerated permissions. I’ve also poked around the extensions’ minified js source out of curiosity and as a basic security audit It was also nice trying out some RTL-SDR apps as soon as I got it without having to figure out how to build and install the Debian packages from source first. It drives me nuts every time I have to switch from Firefox to Chrome to use webusb or webserial.
- lxgr 6mo agoLet's please not (or at most, add a scary warning for non-tagged devices), as this would break the use case for at least all retrocomputing.
- ACCount37 6mo agoAren't most retrocomputing USB devices running open source firmware? Adding a descriptor "WebUSB supported" is a few commits and a firmware update away.
- oofdere 6mo agothat's not going to work for use cases like the https://webmd.pro https://webmd.pro where you're interfacing with hardware from other manufacturers
- SpecialistK 6mo agohttps://github.com/asivery/webminidisc https://github.com/asivery/webminidisc web.minidisc.wiki is the "official" version - lots of clones around.
- lxgr 6mo agoDefinitely not most MiniDisc players. I doubt mine even has updatable firmware! This probably applies to many older (or even newer) USB devices as well.
- M95D 6mo ago> I can ship a cross-platform application And you can also un-ship it whenever you want, leaving users with unusable devices they paid money for.
- 542458 6mo agoThat was always the case. Lots of “flasher” applications have had web dependencies where they’d download the latest firmware to a temp directory before flashing.
- circuit10 6mo agoYou can ship an offline, standalone HTML file you can open in your browser too (this might not happen often but my point is it's not inherent to the technology)
- jasomill 6mo agoThis brings back bad memories of the old ActiveX "safe for scripting" mechanism.