wffl

vaguely burnt

  • it/its

I do stuff; pfp by spicymochi



lexi
@lexi

MOZILLA FOR THE LOVE OF GOD IMPLEMENT A BETTER USB API THAN WEBGAMEPAD OR I WILL GO BATSHIT FUCKING INSANE


wffl
@wffl

i just want to configure my device through a browser, please


lexi
@lexi

"do you want to use a browser by fucking google or do you want to download the 20th driver for some fucking peripheral today" how about i hit you with a rock. how about that. how about i smash my computer into a thousand little pieces.

mozilla please for the love of god make your browser usable


You must log in to comment.

in reply to @lexi's post:

YES the only goddamn semi-reliable way to communicate with USB devices is either mounting them as mass storage and downloading files to it or using webgamepad ARGHHHH

They opted to not implement it due to security concerns since USB trusts devices by default, and the potential impact of a malicious website talking to your USB devices or vice versa is more significant than, say, camera access, so a permission prompt that everyone will just click through isn't considered enough of a guard.

GOD YES, years ago I had the same problem, in my case +- can be fixed by making a pseudo protocol over webserial with a 128b package in binary, which in the case of firefox I can listen to a websocket instead of webserial and then; well the bad part that would have to run a native application to pick up the usb and send it through the websocket

Another thing that I notice is that in webserial with chrome in linux (not in windows), it tends to break the packages when the tab loses focus, that's why I had to put a crc16 hahaha

if it helps in your case, this is the firmware/frontend https://github.com/Churrosoft/OpenEFI/blob/master/Src/webserial/commands_handler.cpp https://github.com/Churrosoft/OpenEFI-Tuner/tree/master/src/store/usb-layer

in reply to @lexi's post: