4 ms·
About fingerprinting - was the WebUSB made poorly? I believe the device information can be strictly restricted and given only on user consent. E.g. by default b
by nicce 2y ago
About fingerprinting - was the WebUSB made poorly? I believe the device information can be strictly restricted and given only on user consent. E.g. by default browser sees only plugged-in status of certain device categories.
- vbezhenar 2y agoYou don't see anything without user consent.
- nicce 2y agoIt works like that or you think it should work like that? If browser gets zero information, it drastically reduces UX. It even does not know to suggest permission popups without being misleading in the end.
- vbezhenar 2y agoI don't think, I wrote enough code with those APIs. You call `navigator.usb.requestDevice({filters})`. It returns a promise and browser displays a window with device list according to the given filter. User chooses device or presses "cancel". The promise resolves with single device or rejects with error. You can't fingerprint anything without user interaction. Also there's block list which does not allow to connect to keyboard, mouse, so typical user does not even have any USB devices to choose from.
- deleted 2y ago[deleted]