WICG / webusb

Connecting hardware to the web.
https://wicg.github.io/webusb/
Other
1.3k stars 126 forks source link

Is it possible to remove device select popup? #177

Closed michalpesz closed 4 years ago

michalpesz commented 4 years ago

Hi, I want to know is it possible (in any way: turning some flags / modify some launching parameters) to disable popup with device list and make some auto selection? It would be nice to have it in face of creating some demo interface.

Thanks in advance

odejesush commented 4 years ago

Hi @michalpesz,

This question is more suited to be asked in StackOverflow. However, in Chrome, you can set the WebUsbAllowDevicesForUrls enterprise policy to bypass the permission prompt for a given set of device IDs and a given set of URLs. Hope this helps.