<- Chrome Settings Library

WebHidAllowDevicesForUrls

Automatically grant permission to these sites to connect to HID devices with the given vendor and product IDs.
Last updated October 8, 2024

Setting the policy lets you list the URLs that specify which sites are automatically granted permission to access a HID device with the given vendor and product IDs. Each item in the list requires both devices and urls fields for the item to be valid, otherwise the item is ignored. Each item in the devices field must have a vendor_id and may have a product_id field. Omitting the product_id field will create a policy matching any device with the specified vendor ID. An item which has a product_id field without a vendor_id field is invalid and is ignored. Leaving the policy unset means DefaultWebHidGuardSetting applies, if it's set. If not, the user's personal setting applies. URLs in this policy shouldn't conflict with those configured through WebHidBlockedForUrls. If they do, this policy takes precedence over WebHidBlockedForUrls.

Supported On:
Platform Start End
Chrome (Windows, Mac, Linux) 100
ChromeOS 100
Example value:

{"0":{"urls":{"0":"https://google.com","1":"https://chromium.org"},"devices":{"0":{"vendor_id":1234,"product_id":5678}}}}

Features: