News for hackers. Stuff that matters.
Re:WebUSB Extension for Firefox by nezza-_- on Monday April 20, 2026 @10:58AM (#47835298)
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.

Re:WebUSB Extension for Firefox by scottbez1 on Monday April 20, 2026 @11:47AM (#47836013)
Yep, 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.

Re:WebUSB Extension for Firefox by gear54rus on Monday April 20, 2026 @11:35AM (#47835853)
Yep. 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.
Re:WebUSB Extension for Firefox by miladyincontrol on Monday April 20, 2026 @02:31PM (#47838605)
This 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.
Re:WebUSB Extension for Firefox by lxgr on Monday April 20, 2026 @12:50PM (#47836989)
Let'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.
Re:WebUSB Extension for Firefox by ACCount37 on Monday April 20, 2026 @02:59PM (#47838977)
Aren't most retrocomputing USB devices running open source firmware? Adding a descriptor "WebUSB supported" is a few commits and a firmware update away.
Re:WebUSB Extension for Firefox by oofdere on Monday April 20, 2026 @04:28PM (#47840068)
that's not going to work for use cases like the https://webmd.pro where you're interfacing with hardware from other manufacturers
Re:WebUSB Extension for Firefox by SpecialistK on Tuesday April 21, 2026 @03:11PM (#47853139)
https://github.com/asivery/webminidisc

web.minidisc.wiki is the "official" version - lots of clones around.

Re:WebUSB Extension for Firefox by lxgr on Monday April 20, 2026 @04:48PM (#47840381)
Definitely not most MiniDisc players. I doubt mine even has updatable firmware!

This probably applies to many older (or even newer) USB devices as well.

Re:WebUSB Extension for Firefox by M95D on Tuesday April 21, 2026 @02:46AM (#47845379)
> 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.

Re:WebUSB Extension for Firefox by 542458 on Tuesday April 21, 2026 @04:50AM (#47846291)
That 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.
Re:WebUSB Extension for Firefox by circuit10 on Tuesday April 21, 2026 @09:18AM (#47848417)
You 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)
Re:WebUSB Extension for Firefox by jasomill on Tuesday April 21, 2026 @06:27AM (#47846905)
This brings back bad memories of the old ActiveX "safe for scripting" mechanism.