Connect a website to a USB, Serial, or HID device

Hero 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 Hero.

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.

  1. Open Hero .
  2. At the top right, click More More and then Settings.
  3. Click Privacy and security and then Site Settings and then Additional permissions.
  4. Choose your device type:
    • USB devices
    • Serial ports
    • HID devices
  5. To choose a default setting, select an option.

Pair a webpage in Hero with your device

  1. Connect your device with the appropriate cables.
    • You can also connect HID devices to your device via Bluetooth.
  2. In Hero, open a webpage that can connect to your device.
  3. Click or tap the page. You'll be asked to add a device.
  4. Choose a device from the list.
  5. 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

  1. On the left of the web address, tap View site information Default (Secure).
  2. Next to the USB device, Serial port, or HID device, tap Remove Remove.
The Universal Serial Bus (USB) is the standard for wired extension. USB “device classes” specifies which features and which data formats the device supports.
Standard device classes include keyboard, mice, audio, video, and storage devices. Read the Hero Enterprise Policy for USB devices.