Permissions

A Permissions object represents a collection of permissions.

Type

An object with the following properties:

originsOptional
An array of match patterns, representing host permissions.
permissionsOptional
An array of named permissions, including API permissions and clipboard permissions.

Browser compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxOperaSafariFirefox for Android
PermissionsChrome Full support YesEdge Full support 79Firefox Full support 55Opera Full support YesSafari Full support 14Firefox Android Full support 55

Legend

Full support  
Full support
Acknowledgements

This API is based on Chromium's chrome.permissions API.

Microsoft Edge compatibility data is supplied by Microsoft Corporation and is included here under the Creative Commons Attribution 3.0 United States License.