diff options
author | praschke <stel@comfy.monster> | 2023-10-25 10:48:11 +0100 |
---|---|---|
committer | praschke <stel@comfy.monster> | 2023-10-25 10:48:11 +0100 |
commit | c54461a97edd8d06329a3329190b18f68a1cac50 (patch) | |
tree | be52ec0a9449998fe836b7d5e191255ae498cfa9 /docs/permissions.md | |
parent | b64ca7d379e48159f98373558c339a89c01c5f6c (diff) |
fix: reinstate webRequest and correct the permissions docs
`webRequest` is used on Chrome/MV3 to surface error information from
failed requests. it was added back to the declarative path by
toasted-nutbread in FooSoft/yomichan#2161, but the permissions
documentation did not reflect `webRequests` continued necessity.
Diffstat (limited to 'docs/permissions.md')
-rw-r--r-- | docs/permissions.md | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/docs/permissions.md b/docs/permissions.md index 10046210..57f9f0b2 100644 --- a/docs/permissions.md +++ b/docs/permissions.md @@ -9,8 +9,13 @@ `unlimitedStorage` is used to help prevent web browsers from unexpectedly deleting dictionary data. -* `webRequest` and `webRequestBlocking` _(Firefox only)_ <br> - Yomichan uses these permissions to ensure certain requests have valid and secure headers. +* `webRequest` <br> + Yomichan uses this permission to collect audio or create Anki notes using + [AnkiConnect](https://ankiweb.net/shared/info/2055492159). + It is also required to surface error information from failed requests. + +* `webRequestBlocking` _(Firefox only)_ <br> + Yomichan uses this permission to ensure certain requests have valid and secure headers. This sometimes involves removing or changing the `Origin` request header, as this can be used to fingerprint browser configuration. |