- Property Manager name: Permissions-Policy
- Behavior version: The
v2024-05-31
rule format supports thepermissionsPolicy
behavior v1.0. - Rule format status: Deprecated, outdated rule format
- Access: Read/Write
- Allowed in includes: Yes
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 requestClientHints
.
Option | Type | Description | Requires | |
---|---|---|---|---|
permissionsPolicyDirective | string 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} | |
allowList | string | The features you've set in | {"displayType":"string","tag":"input","type":"text"} |