Update permissions pages with info about MV3 permissions (#1200)

This commit is contained in:
toasted-nutbread 2021-01-03 15:29:29 -05:00 committed by GitHub
parent 8e304b83c6
commit d50d7a4a3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 35 additions and 2 deletions

View File

@ -9,11 +9,20 @@
`unlimitedStorage` is used to help prevent web browsers from unexpectedly `unlimitedStorage` is used to help prevent web browsers from unexpectedly
deleting dictionary data. deleting dictionary data.
* `webRequest` and `webRequestBlocking` <br> * `webRequest` and `webRequestBlocking` _(Manifest V2 only)_ <br>
Yomichan uses these permissions to ensure certain requests have valid and secure headers. Yomichan uses these permissions to ensure certain requests have valid and secure headers.
This sometimes involves removing or changing the `Origin` request header, This sometimes involves removing or changing the `Origin` request header,
as this can be used to fingerprint browser configuration. as this can be used to fingerprint browser configuration.
* `declarativeNetRequest` _(Manifest V3 only)_ <br>
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)_ <br>
Yomichan will sometimes need to inject stylesheets into webpages in order to
properly display the search popup.
* `nativeMessaging` <br> * `nativeMessaging` <br>
Yomichan has the ability to communicate with an optional native messaging component in order to support Yomichan has the ability to communicate with an optional native messaging component in order to support
parsing large blocks of Japanese text using parsing large blocks of Japanese text using

View File

@ -45,7 +45,7 @@
</div> </div>
</div> </div>
</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-left">
<div class="settings-item-label"><code>webRequest</code> and <code>webRequestBlocking</code></div> <div class="settings-item-label"><code>webRequest</code> and <code>webRequestBlocking</code></div>
<div class="settings-item-description"> <div class="settings-item-description">
@ -60,6 +60,30 @@
</div> </div>
</div> </div>
</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"><div class="settings-item-inner">
<div class="settings-item-left"> <div class="settings-item-left">
<div class="settings-item-label"><code>nativeMessaging</code></div> <div class="settings-item-label"><code>nativeMessaging</code></div>