summaryrefslogtreecommitdiff
path: root/ext/bg/permissions.html
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bg/permissions.html')
-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>