From d50d7a4a3a5e307838348726de331cf5eb283bff Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Sun, 3 Jan 2021 15:29:29 -0500 Subject: [PATCH] Update permissions pages with info about MV3 permissions (#1200) --- docs/permissions.md | 11 ++++++++++- ext/bg/permissions.html | 26 +++++++++++++++++++++++++- 2 files changed, 35 insertions(+), 2 deletions(-) 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