A Permissions
object represents a collection of permissions.
Type
An object
with the following properties:
origins
Optional- An array of match patterns, representing host permissions.
permissions
Optional- An array of named permissions, including API permissions and clipboard permissions.
Browser compatibility
The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Chrome | Edge | Firefox | Firefox for Android | Opera | |
---|---|---|---|---|---|
Basic support | Yes | No | 55 | 55 | Yes |
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.