1942
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 08 Aug 2023
1942 points (98.9% liked)
Firefox
17302 readers
37 users here now
A place to discuss the news and latest developments on the open-source browser Firefox
founded 4 years ago
MODERATORS
It's kind of hilarious they didn't just build this into the options app. But WebUSB gets a bad rap for no good reason.
WebUSB's only sin is that it's being spearheaded by Google. It's a useful technology that means theoretically you only need to write to one platform - the web. Let the browser deal with the different USB APIs for each OS (please ~~god~~ google save me from libusb). It's safer because of the browser's sandboxing, the permission dialog, the much greater likelihood they're using good standard TLS instead of rolling their own encryption, the list goes on.
Personally, I'd rather visit a web page one time to set it up and then forget about it, than to have to install Yet Another Thing™ that ends up running in the background, always checking for updates, reporting analytics back to the mothership, and constantly sucking up just a little bit of my CPU time even when I don't have any Logitech devices connected. (Sound like any other Logitech software you know of?)
I had a Pixel phone that I wanted to reflash back to the standard factory image. Did I have to download a special program, reboot the phone into bootloader mode, and perform an ancient ritual sacrifice like I do with a Samsung phone? No, I just had to visit the right web page and click "yes, allow this page to fuck up my phone". No lingering software left over on my PC, at least once the browser cache goes away.
Same with many Arduino and ESP32 projects, by way of WebSerial. If the page you're reading doesn't have to send you off to some other program and can just, right there in the web page, flash your device with the software it's telling you about, that's a good thing.
The web is becoming the application platform of choice. No App Store guardians to reject you from it. No 30% cut to the man. The list of reasons to have to install a program to your native OS is shrinking. Even 3d games can be done entirely in the web now. Rejecting WebUSB/WebSerial just means developers have to keep writing stuff for every OS (if you're lucky).