TLDR
The Permissions API provides a consistent programmatic way to query the status of API permissions attributed to the current context. Notable APIs that are Permissions-aware include: Clipboard API, Push API and Push API. The Permission API provides the tools to allow developers to implement a better user experience as far as permissions are concerned. The API can be used to determine if permission to access a particular API has been granted or denied. Not all APIs' permission statuses can be queried using the Permissions.via the TL;DR App
no story
Written by mozilla | Mozilla (stylized as moz://a) is a free software community founded in 1998 by members of Netscape.