permissionsPolicy


Manages whether your page and its embedded iframes can access various browser features that affect end-user privacy, security, and performance.

Use this together with request​Client​Hints.

OptionTypeDescriptionRequires
permissions​Policy​Directivestring array

Each directive represents a browser feature. Specify the ones you want enabled in a client browser that accesses your content. You can add custom entries or provide pre-set values from the list. For more details on each value, see the guide section for this behavior.

battery
camera
ch-ua
ch-ua-arch
ch-ua-bitness
ch-dpr
ch-ua-full-version-list
ch-ua-mobile
ch-ua-model
ch-ua-platform
ch-ua-platform-version
ch-viewport-width
ch-width 
device-memory 
display-capture
downlink
ect
fullscreen
geolocation
microphone
rtt
{"displayType":"string array","tag":"input","todo":true}
allow​Liststring

The features you've set in permissions​Policy​Directive are enabled for domains you specify here. They'll remain disabled for all other domains. Separate multiple domains with a single space. To block the specified directives from all domains, set this to none. This generates an empty value in the Permissions-Policy header.

{"displayType":"string","tag":"input","type":"text"}