Is there a way to detect in the browser when the user connects a device to their machine?

Not without their permission, obviously, but it would be neat for users to be able to connect a device and have my app automatically detect it.
2 Replies
theo (t3.gg)
theo (t3.gg)2y ago
“Device” is hilariously vague. If a browser let you see everything on your machine, nobody would use that browser Look into webusb and web Bluetooth I guess? You can kinda do this with AV devices but not really.
plyglt
plygltOP2y ago
Thanks a lot. I didn't want to be too specific in my question, I would like to detect when the user connects a Kindle (USB).
Want results from more Discord servers?
Add your server