Permissions
Newly available since 2022-09-12
The navigator.permissions
API checks whether a permission, such as access to geolocation data, has been granted.
Learning resources on MDN
Browser support (view on caniuse.com)
- Chrome 44 Released on 2015-07-21
- Chrome Android 44 Released on 2015-07-29
- Edge 79 Released on 2020-01-15
- Firefox 46 Released on 2016-04-26
- Firefox for Android 46 Released on 2016-04-26
- Safari 16 Released on 2022-09-12
- Safari on iOS 16 Released on 2022-09-12
Specifications
- Permissions, from Web Application Security Working Group (W3C).