← Back to release summary

Web Bluetooth exclusionFilters option in requestDevice()

Category
Device
Type
Chromium catches up
Status
Enabled by default (Chrome 114)
Intent stage
None

Summary

The "exclusionFilters" option in navigator.bluetooth.requestDevice() allows web developers to exclude some devices from the browser picker. It can be used to exclude devices that match a broader filter but are unsupported.

Standards & signals

Docs: https://developer.chrome.com/articles/bluetooth/#exclusion-filters

Samples: https://googlechrome.github.io/samples/web-bluetooth/exclusion-filters.html

View on chromestatus.com