mirror of
https://github.com/mdn/webextensions-examples.git
synced 2026-04-25 18:50:53 +02:00
an example using permissions (#204)
* an example using permissions * fix up after suggestions from wbamberg
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
# Permissions Example
|
||||
|
||||
## What it does
|
||||
|
||||
An example using the permissions API to grant and revoke an optional permission.
|
||||
|
||||
## What it shows
|
||||
|
||||
How to request a permission, catching error conditions from the request and querying the permissions API.
|
||||
Reference in New Issue
Block a user