- Property Manager name: Permissions-Policy
- Behavior version: The
latest
rule format supports thepermissionsPolicy
behavior v1.0. - Rule format status: Beta, possible breaking changes
- Access: Read/Write
- Allowed in includes: Not available for
latest
rule format
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"} |