summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-01-03 15:29:29 -0500
committerGitHub <noreply@github.com>2021-01-03 15:29:29 -0500
commitd50d7a4a3a5e307838348726de331cf5eb283bff (patch)
tree24b0a67120911c346fbb6deaf3fa2ad5b62f7edd /ext
parent8e304b83c685dde17a00d402877a21303b7c11f2 (diff)
Update permissions pages with info about MV3 permissions (#1200)
Diffstat (limited to 'ext')
-rw-r--r--ext/bg/permissions.html26
1 files changed, 25 insertions, 1 deletions
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 @@
</div>
</div>
</div></div>
- <div class="settings-item"><div class="settings-item-inner">
+ <div class="settings-item" data-hide-for-manifest-version="3"><div class="settings-item-inner">
<div class="settings-item-left">
<div class="settings-item-label"><code>webRequest</code> and <code>webRequestBlocking</code></div>
<div class="settings-item-description">
@@ -60,6 +60,30 @@
</div>
</div>
</div></div>
+ <div class="settings-item" data-show-for-manifest-version="3"><div class="settings-item-inner">
+ <div class="settings-item-left">
+ <div class="settings-item-label"><code>declarativeNetRequest</code></div>
+ <div class="settings-item-description">
+ <p>
+ Yomichan uses this permission to ensure certain requests have valid and secure headers.
+ This sometimes involves removing or changing the <code>Origin</code> request header,
+ as this can be used to fingerprint browser configuration.
+ </p>
+ <p>
+ Example: <code>Origin: <span id="extension-id-example"></span></code>
+ </p>
+ </div>
+ </div>
+ </div></div>
+ <div class="settings-item" data-show-for-manifest-version="3"><div class="settings-item-inner">
+ <div class="settings-item-left">
+ <div class="settings-item-label"><code>scripting</code></div>
+ <div class="settings-item-description">
+ Yomichan will sometimes need to inject stylesheets into webpages in order to
+ properly display the search popup.
+ </div>
+ </div>
+ </div></div>
<div class="settings-item"><div class="settings-item-inner">
<div class="settings-item-left">
<div class="settings-item-label"><code>nativeMessaging</code></div>