diff --git a/dev/data/manifest-variants.json b/dev/data/manifest-variants.json
index 07c98b91fc..83140ec4e2 100644
--- a/dev/data/manifest-variants.json
+++ b/dev/data/manifest-variants.json
@@ -81,6 +81,7 @@
"clipboardWrite",
"unlimitedStorage",
"declarativeNetRequest",
+ "webRequest",
"scripting",
"offscreen"
],
@@ -248,15 +249,6 @@
"nativeMessaging"
]
},
- {
- "action": "add",
- "path": [
- "permissions"
- ],
- "items": [
- "webRequest"
- ]
- },
{
"action": "add",
"path": [
diff --git a/docs/permissions.md b/docs/permissions.md
index 1004621062..57f9f0b257 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)_
- Yomichan uses these permissions to ensure certain requests have valid and secure headers.
+* `webRequest`
+ 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)_
+ 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.
diff --git a/ext/permissions.html b/ext/permissions.html
index 4aaef3c1f9..9ede7d271a 100644
--- a/ext/permissions.html
+++ b/ext/permissions.html
@@ -47,12 +47,24 @@
webRequest
+ Yomitan uses this permission to collect audio or create Anki notes using + AnkiConnect. + It is also required to surface error information from failed requests. +
+webRequest
and webRequestBlocking
webRequestBlocking
- Yomitan uses these permissions to ensure certain requests have valid and secure headers.
+ Yomitan 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.