Control use of the Web Serial API
Supported on: Firefox 151 or later
Registry
HKLM
Software\Policies\Mozilla\Firefox HKCU
Software\Policies\Mozilla\Firefox Options
DefaultSerialGuardSetting enum - Do not allow any site to request access to serial ports via the Web Serial API
->
2 - Allow sites to ask the user to grant access to a serial port
->
3
Description
If this policy is enabled, you can control whether websites can request access to serial ports. Note: If any other policies are configured and this policy is not set, the Web Serial API is blocked by default.