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
ChromeEdgeFirefoxOperaFirefox for Android
Basic supportChrome Full support YesEdge No support NoFirefox Full support 55Opera Full support YesFirefox Android Full support 55

Legend

Full support  
Full support
No support  
No 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.

Document Tags and Contributors

Contributors to this page: kernp, wbamberg
Last updated by: kernp,