aboutsummaryrefslogtreecommitdiff
path: root/ext/permissions.html
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-11-23 16:16:13 -0500
committerGitHub <noreply@github.com>2021-11-23 16:16:13 -0500
commitecc994a8bbd52a426434a549f8e3e68eba6e786e (patch)
tree9d8645373d0b9de9b4b0a790fe0b737fcc290131 /ext/permissions.html
parentcedf6b25c4327d33411877dbb412877dfa7753e9 (diff)
ScriptManager updates (#2022)
* Fix spacing * Add more parameters to injectStylesheet * Add more parameters to injectScript * Update ScriptManager to support content script registration * Add webNavigation as an optional permission
Diffstat (limited to 'ext/permissions.html')
-rw-r--r--ext/permissions.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/ext/permissions.html b/ext/permissions.html
index 04d1d5fa..afb16300 100644
--- a/ext/permissions.html
+++ b/ext/permissions.html
@@ -123,6 +123,18 @@
<label class="toggle"><input type="checkbox" class="permissions-toggle" data-required-permissions="nativeMessaging"><span class="toggle-body"><span class="toggle-track"></span><span class="toggle-knob"></span></span></label>
</div>
</div></div>
+ <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>webNavigation</code> <span class="light">(optional)</span></div>
+ <div class="settings-item-description">
+ Yomichan may require this permission to inject content scripts for certain browsers
+ if Google Docs accessibility mode is enabled.
+ </div>
+ </div>
+ <div class="settings-item-right">
+ <label class="toggle"><input type="checkbox" class="permissions-toggle" data-required-permissions="webNavigation"><span class="toggle-body"><span class="toggle-track"></span><span class="toggle-knob"></span></span></label>
+ </div>
+ </div></div>
<div class="settings-item"><div class="settings-item-inner">
<div class="settings-item-left">
<div class="settings-item-label">Allow in private windows <span class="light">(optional)</span></div>