Chrome lets you connect a website to your computer’s USB, Serial, and HID devices. For example, keyboard, headset, speaker, gamepad, camera, and even microcontroller. On Android, you can connect a website to a USB device.
Important: Currently, iPhone and iPad don’t allow USB, Serial, or HID devices to connect to webpages in Chrome.
When to give access to your device
Only give device access to a trusted site. If you pair a website with your device, the site gets all the information on the device and can even reprogram it. You can choose your default permission setting for these devices on your computer.
- Open Chrome
.
- At the top right, click More
Settings.
- Click Privacy and security
Site Settings
Additional permissions.
- Choose your device type:
- USB devices
- Serial ports
- HID devices
- To choose a default setting, select an option.
Pair a webpage in Chrome with your device
- Connect your device with the appropriate cables.
- You can also connect HID devices to your device via Bluetooth.
- In Chrome, open a webpage that can connect to your device.
- Click or tap the page. You'll be asked to add a device.
- Choose a device from the list.
- Select Pair or Connect.
Tip: To access the connected device on the Linux system, the udev rule needs to be configured appropriately.
Remove a website's access to your device
- On the left of the web address, tap View site information
.
- Next to the USB device, Serial port, or HID device, tap Remove
.