Permissions-Policy: monetization
The HTTP Permissions-Policy
header monetization
directive controls whether the current document is allowed to use the Web Monetization API.
Syntax
Permissions-Policy: monetization=<allowlist>;</allowlist>
<allowlist>
A list of origins for which the feature is allowed. See Permissions-Policy
.
Default policy
The default value is 'self'
.
Specifications
Specification |
---|
Web Monetization API #permissions-policy |
Browser compatibility
desktop | mobile | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on iOS | Samsung Internet | Puma Browser | |
monetization | Yes | Yes | Yes | No | Yes | No | No | No | No | No | No | No | Yes |
- Full Support
- No Support
- You'll need to use a Web Monetization Extension