diff --git a/docs/permissions.md b/docs/permissions.md index 8156c746..49e201a6 100644 --- a/docs/permissions.md +++ b/docs/permissions.md @@ -9,11 +9,20 @@ `unlimitedStorage` is used to help prevent web browsers from unexpectedly deleting dictionary data. -* `webRequest` and `webRequestBlocking`
+* `webRequest` and `webRequestBlocking` _(Manifest V2 only)_
Yomichan uses these permissions 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. +* `declarativeNetRequest` _(Manifest V3 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. + +* `scripting` _(Manifest V3 only)_
+ Yomichan will sometimes need to inject stylesheets into webpages in order to + properly display the search popup. + * `nativeMessaging`
Yomichan has the ability to communicate with an optional native messaging component in order to support parsing large blocks of Japanese text using diff --git a/ext/bg/permissions.html b/ext/bg/permissions.html index 52bc084e..05266b22 100644 --- a/ext/bg/permissions.html +++ b/ext/bg/permissions.html @@ -45,7 +45,7 @@ -
+
webRequest and webRequestBlocking
@@ -60,6 +60,30 @@
+
+
+
declarativeNetRequest
+
+

+ 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. +

+

+ Example: Origin: +

+
+
+
+
+
+
scripting
+
+ Yomichan will sometimes need to inject stylesheets into webpages in order to + properly display the search popup. +
+
+
nativeMessaging