aboutsummaryrefslogtreecommitdiff
path: root/ext/welcome.html
diff options
context:
space:
mode:
Diffstat (limited to 'ext/welcome.html')
-rw-r--r--ext/welcome.html23
1 files changed, 19 insertions, 4 deletions
diff --git a/ext/welcome.html b/ext/welcome.html
index f2192686..dd3e2f1e 100644
--- a/ext/welcome.html
+++ b/ext/welcome.html
@@ -31,15 +31,30 @@
<div class="settings-item"><div class="settings-item-inner">
<div class="settings-item-left">
<div class="settings-item-label">Enable recommended permissions</div>
- <div class="settings-item-description">This will allow Yomitan to scan text from most sites. Further configuration is available on the <a href="/permissions.html" rel="noopener">Permissions page</a>.</div>
- <div class="danger-text margin-above" id="permissions-disabled" hidden><strong>Yomitan features will be limited if the recommended permissions are not enabled.</strong></div>
- <div class="success-text margin-above" id="permissions-enabled" hidden><strong>All Yomitan features are available.</strong></div>
- <div id="recommended-permissions-error" class="margin-above danger-text" hidden></div>
+ <div class="settings-item-description">This will allow Yomitan to scan text from most sites.</div>
</div>
<div class="settings-item-right">
<label class="toggle"><input type="checkbox" id="recommended-permissions-toggle" data-origin="&lt;all_urls&gt;"><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">Enable optional permissions</div>
+ <div class="settings-item-description">This will allow Yomitan to read the clipboard and communicate with external programs.</div>
+ </div>
+ <div class="settings-item-right">
+ <label class="toggle"><input type="checkbox" id="optional-permissions-toggle" data-origin="&lt;all_urls&gt;"><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-description">Further configuration is available on the <a href="/permissions.html" rel="noopener">Permissions page</a> and the web browser's <a tabindex="0" class="extension-settings-link" data-special-url="chrome://extensions/?id={id}">extension settings page</a>.</div>
+ <div class="danger-text margin-above" id="permissions-disabled" hidden><strong>Yomitan features will be limited if the recommended permissions are not enabled.</strong></div>
+ <div class="success-text margin-above" id="recommended-permissions-enabled" hidden><strong>Essential Yomitan features are available.</strong></div>
+ <div class="success-text margin-above" id="full-permissions-enabled" hidden><strong>All Yomitan features are available.</strong></div>
+ <div id="recommended-permissions-error" class="margin-above danger-text" hidden></div>
+ </div>
+ </div></div>
</div>
<!-- Notifications -->