What do we want?
WebSerial and WebBluetooth in #Firefox
What don't we want?
Any AI shit in Firefox.
What do we want?
WebSerial and WebBluetooth in #Firefox
What don't we want?
Any AI shit in Firefox.
@dtl Hell, even a form of WebUSB where the device (or OS driver/config) needs to be explicit about enabling WebUSB access (which moots 99% of mozilla's "security concerns") would be great...
I've been tempted to do a "native extension" thing that implements webUSB-as-RPC with a 'shim' extension and small daemon, but that requires both spoons and time, of which I have neither... Someone already made one for the FileSystem API IIRC.
@dtl I just keep a copy of debian-chromium around and launch it with --temp-profile (which IIRC is a debian wrapper feature, it creates a new profile directory in /tmp before launching) for that stuff. But I'm also annoyed by it, hence the temptation to do the native-shim thing.
The idea is to utilize the native-RPC mechanism there to allow extensions to talk to native apps, but have an "app" whose sole purpose is to expose the WebUSB API over that RPC channel. The extension handles all the permission prompts, and the 'app' handles all the device restrictions (no "sensitive" device classes, mainly). The native side could also in theory be implemented in a way that allows its use as a portal by flatpak and friends for accessing specific USB device types via manifest permission, too (as an explicit dbus portal and/or a "libUSB compatible" drop-in shim, like pipewire-pulse)
@dtl As I mentioned before, I unfortunately don't have either the spoons or the time to actually get around to writing that any time soon. I just have the "rough sketch" of how it would probably work. But will do if I ever manage to start it and get to a working state.
My current project list is about a mile long:
@becomethewaifu @dtl and for WebSerial