diff options
author | praschke <stel@comfy.monster> | 2023-10-29 21:20:29 +0000 |
---|---|---|
committer | praschke <stel@comfy.monster> | 2023-10-29 21:38:13 +0000 |
commit | e61a69fb9ed8ad1dc94b4695d9b9052f4a533a52 (patch) | |
tree | 784a12cb846295ee243953759b7faaad8d310e75 /docs | |
parent | ba8eec942c60cc8b676408efd99e3fbbb9670c06 (diff) |
remove webRequest and webRequestBlocking
firefox was previously unable to use declarativeNetRequest, as some
browser state (ExtensionDNRStore) wasn't correctly initialized wrt
yomitan's use of the DNR API. this bug manifested as an unexpected
error on calls to updateDynamicRules(), specifically after the browser
has been restarted.
switching to the use of session rules instead of dynamic rules fixes
this bug. i have tested audio info requests (custom JSON, JPod
Alternate, Jisho) that exhibited the bug after browser restart on
version 115 and 118, and the audio plays instead of the request
failing.
webRequest can now be entirely removed.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/permissions.md | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/docs/permissions.md b/docs/permissions.md index 3fdf72d8..8ab3bba5 100644 --- a/docs/permissions.md +++ b/docs/permissions.md @@ -9,12 +9,7 @@ `unlimitedStorage` is used to help prevent web browsers from unexpectedly deleting dictionary data. -* `webRequest` and `webRequestBlocking` _(Firefox only)_ <br> - 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` _(Chrome only)_ <br> +* `declarativeNetRequest` <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. |