mirror of
https://github.com/mdn/webextensions-examples.git
synced 2026-04-21 00:32:48 +02:00
48d7eb4479
* an example using permissions * fix up after suggestions from wbamberg
10 lines
246 B
Markdown
10 lines
246 B
Markdown
# 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.
|