2020-12-07 01:37:19 +00:00
<!DOCTYPE html>
2021-04-11 03:55:11 +00:00
< html lang = "en" data-browser = "unknown" data-os = "unknown" data-manifest-version = "unknown" >
2020-12-07 01:37:19 +00:00
< head >
< meta charset = "UTF-8" >
< meta name = "viewport" content = "width=device-width,initial-scale=1" >
2021-01-16 21:55:40 +00:00
< title > Yomichan Settings< / title >
2021-02-13 01:27:43 +00:00
< link rel = "icon" type = "image/png" href = "/images/icon16.png" sizes = "16x16" >
< link rel = "icon" type = "image/png" href = "/images/icon19.png" sizes = "19x19" >
< link rel = "icon" type = "image/png" href = "/images/icon32.png" sizes = "32x32" >
< link rel = "icon" type = "image/png" href = "/images/icon38.png" sizes = "38x38" >
< link rel = "icon" type = "image/png" href = "/images/icon48.png" sizes = "48x48" >
< link rel = "icon" type = "image/png" href = "/images/icon64.png" sizes = "64x64" >
< link rel = "icon" type = "image/png" href = "/images/icon128.png" sizes = "128x128" >
2021-02-13 02:03:30 +00:00
< link rel = "stylesheet" type = "text/css" href = "/css/material.css" >
2021-02-15 15:48:57 +00:00
< link rel = "stylesheet" type = "text/css" href = "/css/settings.css" >
2021-07-17 18:44:36 +00:00
< link rel = "stylesheet" type = "text/css" href = "/css/display-pronunciation.css" >
2020-12-07 01:37:19 +00:00
< / head >
< body >
<!-- Main content -->
< div class = "content-outer" > < div class = "content" >
< div class = "content-left" >
< div class = "sidebar" > < div class = "sidebar-inner" >
< div class = "sidebar-body" >
2021-02-21 05:18:43 +00:00
< a href = "#!profile" class = "button outline-item" > < span class = "outline-item-left" > < span class = "outline-item-icon icon" data-icon = "profile" > < / span > < / span > < span class = "outline-item-label" > Profile< / span > < / a >
2021-04-30 22:01:16 +00:00
< a href = "#!dictionaries" class = "button outline-item" > < span class = "outline-item-left" > < span class = "outline-item-icon icon" data-icon = "book" > < / span > < span class = "outline-item-left-warning-badge no-dictionaries-enabled-warning" hidden > < div class = "badge warning-badge" > < span class = "icon" data-icon = "exclamation-point-short" > < / span > < / div > < / span > < / span > < span class = "outline-item-label" > Dictionaries< / span > < / a >
2021-02-21 05:18:43 +00:00
< a href = "#!general" class = "button outline-item" > < span class = "outline-item-left" > < span class = "outline-item-icon icon" data-icon = "cog" > < / span > < / span > < span class = "outline-item-label" > General< / span > < / a >
< a href = "#!scanning" class = "button outline-item" > < span class = "outline-item-left" > < span class = "outline-item-icon icon" data-icon = "scanning" > < / span > < / span > < span class = "outline-item-label" > Scanning< / span > < / a >
< a href = "#!popup" class = "button outline-item" > < span class = "outline-item-left" > < span class = "outline-item-icon icon" data-icon = "popup" > < / span > < / span > < span class = "outline-item-label" > Popup< / span > < / a >
< a href = "#!popup-appearance" class = "button outline-item" > < span class = "outline-item-left" > < span class = "outline-item-icon icon" data-icon = "palette" > < / span > < / span > < span class = "outline-item-label" > Appearance< / span > < / a >
< a href = "#!popup-size" class = "button outline-item" > < span class = "outline-item-left" > < span class = "outline-item-icon icon" data-icon = "popup-size" > < / span > < / span > < span class = "outline-item-label" > Position & Size< / span > < / a >
< a href = "#!window" class = "button outline-item advanced-only" > < span class = "outline-item-left" > < span class = "outline-item-icon icon" data-icon = "window" > < / span > < / span > < span class = "outline-item-label" > Window< / span > < / a >
< a href = "#!audio" class = "button outline-item" > < span class = "outline-item-left" > < span class = "outline-item-icon icon" data-icon = "speaker" > < / span > < / span > < span class = "outline-item-label" > Audio< / span > < / a >
< a href = "#!text-parsing" class = "button outline-item" > < span class = "outline-item-left" > < span class = "outline-item-icon icon" data-icon = "text-parsing" > < / span > < / span > < span class = "outline-item-label" > Text Parsing< / span > < / a >
< a href = "#!translation" class = "button outline-item advanced-only" > < span class = "outline-item-left" > < span class = "outline-item-icon icon" data-icon = "translation" > < / span > < / span > < span class = "outline-item-label" > Translation< / span > < / a >
< a href = "#!anki" class = "button outline-item" > < span class = "outline-item-left" > < span class = "outline-item-icon icon" data-icon = "note-card" > < / span > < / span > < span class = "outline-item-label" > Anki< / span > < / a >
< a href = "#!clipboard" class = "button outline-item" > < span class = "outline-item-left" > < span class = "outline-item-icon icon" data-icon = "clipboard" > < / span > < / span > < span class = "outline-item-label" > Clipboard< / span > < / a >
< a href = "#!shortcuts" class = "button outline-item" > < span class = "outline-item-left" > < span class = "outline-item-icon icon" data-icon = "keyboard" > < / span > < / span > < span class = "outline-item-label" > Shortcuts< / span > < / a >
< a href = "#!backup" class = "button outline-item" > < span class = "outline-item-left" > < span class = "outline-item-icon icon" data-icon = "backup" > < / span > < / span > < span class = "outline-item-label" > Backup< / span > < / a >
2021-09-30 23:41:26 +00:00
< a href = "#!accessibility" class = "button outline-item" > < span class = "outline-item-left" > < span class = "outline-item-icon icon" data-icon = "accessibility" > < / span > < / span > < span class = "outline-item-label" > Accessibility< / span > < / a >
2021-02-21 05:18:43 +00:00
< a href = "#!security" class = "button outline-item advanced-only" > < span class = "outline-item-left" > < span class = "outline-item-icon icon" data-icon = "lock" > < / span > < / span > < span class = "outline-item-label" > Security< / span > < / a >
2020-12-07 01:37:19 +00:00
< / div >
< div class = "sidebar-bottom" >
2021-02-21 05:18:43 +00:00
< label class = "button outline-item" > < span class = "outline-item-left" >
2022-04-02 18:59:16 +00:00
< label class = "toggle advanced-toggle" > < input id = "advanced-checkbox" type = "checkbox" data-setting = "general.showAdvanced"
2020-12-31 18:10:23 +00:00
data-transform='{
"type": "setAttribute",
"selector": ":root",
"attribute": "data-advanced"
}'
>< span class = "toggle-body" > < span class = "toggle-track" > < / span > < span class = "toggle-knob" > < / span > < / span > < / label >
2020-12-20 20:43:10 +00:00
< / span > < span class = "outline-item-label" > Advanced< / span > < / label >
2021-02-21 05:18:43 +00:00
< a href = "/info.html" class = "button outline-item" > < span class = "outline-item-left" > < span class = "outline-item-icon icon" data-icon = "question-mark" > < / span > < / span > < span class = "outline-item-label" > About Yomichan< / span > < / a >
2020-12-07 01:37:19 +00:00
< / div >
< / div > < / div >
< / div >
< div class = "content-center" >
< span tabindex = "-1" id = "content-scroll-focus" > < / span >
< h1 > Yomichan Settings< / h1 >
2021-04-11 03:55:11 +00:00
<!-- Notifications -->
< div class = "settings-group settings-group-top-margin page-loading-stalled-notification" >
< div class = "settings-item" > < div class = "settings-item-inner settings-item-inner-wrappable" >
< div class = "settings-item-left" >
< div class = "settings-item-label" >
< p >
This page is taking longer than expected to load.
< / p >
< p data-show-for-browser = "safari" >
Due to a bug in Safari, it may be necessary to click the < img src = "/images/yomichan-icon.svg" class = "inline-icon" alt = "" > < em > Yomichan< / em >
button in the browser bar to fully load the page
< / p >
< / div >
< / div >
< / div > < / div >
< / div >
2020-12-30 16:42:10 +00:00
<!-- Profile -->
2020-12-20 21:03:07 +00:00
< div class = "heading-container" >
< div class = "heading-container-icon" > < span class = "icon" data-icon = "profile" > < / span > < / div >
2021-01-09 21:39:30 +00:00
< div class = "heading-container-left" > < h2 id = "profile" > < a href = "#!profile" > Profile< / a > < / h2 > < / div >
2020-12-20 21:03:07 +00:00
< / div >
2020-12-07 01:37:19 +00:00
< div class = "settings-group" >
< div class = "settings-item" > < div class = "settings-item-inner settings-item-inner-wrappable" >
< div class = "settings-item-left" >
< div class = "settings-item-label" > Default profile< / div >
< div class = "settings-item-description" > Switch the primary profile that is used for scanning.< / div >
< / div >
< div class = "settings-item-right" >
< select id = "profile-active-select" > < / select >
< / div >
< / div > < / div >
< div class = "settings-item" > < div class = "settings-item-inner settings-item-inner-wrappable" >
< div class = "settings-item-left" >
< div class = "settings-item-label" > Editing profile< / div >
< div class = "settings-item-description" > Change which profile is being modified on this page.< / div >
< / div >
< div class = "settings-item-right" >
< select id = "profile-target-select" > < / select >
< / div >
< / div > < / div >
< div class = "settings-item settings-item-button" data-modal-action = "show,profiles" > < div class = "settings-item-inner" >
< div class = "settings-item-left" >
2020-12-22 00:21:03 +00:00
< div class = "settings-item-label" > Configure profiles… < / div >
2020-12-07 01:37:19 +00:00
< / div >
< div class = "settings-item-right open-panel-button-container" >
2020-12-20 20:43:10 +00:00
< button class = "icon-button" > < span class = "icon-button-inner" > < span class = "icon" data-icon = "material-right-arrow" > < / span > < / span > < / button >
2020-12-07 01:37:19 +00:00
< / div >
< / div > < / div >
< / div >
2020-12-30 16:42:10 +00:00
<!-- Dictionaries -->
2020-12-20 21:03:07 +00:00
< div class = "heading-container" >
< div class = "heading-container-icon" > < span class = "icon" data-icon = "book" > < / span > < / div >
2021-01-25 03:32:29 +00:00
< div class = "heading-container-left" > < h2 id = "dictionaries" > < a href = "#!dictionaries" > Dictionaries< / a > < span class = "heading-sub-text no-wrap" data-modal-action = "show,dictionaries" > (< span id = "dictionary-install-count" > #< / span > installed, < span id = "dictionary-enabled-count" > #< / span > enabled)< / span > < / h2 > < / div >
2020-12-20 21:03:07 +00:00
< / div >
2020-12-07 01:37:19 +00:00
< div class = "settings-group" >
< div class = "settings-item settings-item-button" data-modal-action = "show,dictionaries" > < div class = "settings-item-inner" >
< div class = "settings-item-left" >
2021-02-08 22:52:46 +00:00
< div class = "settings-item-label" >
< div class = "flex-row-nowrap" >
< div > Configure installed and enabled dictionaries… < / div >
2021-04-30 22:01:16 +00:00
< div class = "flex-margin-left badge warning-badge no-dictionaries-enabled-warning" hidden > < span class = "icon" data-icon = "exclamation-point-short" > < / span > < / div >
2021-02-08 22:52:46 +00:00
< / div >
< / div >
2020-12-07 01:37:19 +00:00
< / div >
< div class = "settings-item-right open-panel-button-container" >
2020-12-20 20:43:10 +00:00
< button class = "icon-button" > < span class = "icon-button-inner" > < span class = "icon" data-icon = "material-right-arrow" > < / span > < / span > < / button >
2020-12-07 01:37:19 +00:00
< / div >
< / div > < / div >
< div class = "settings-item" >
< div class = "settings-item-inner" >
< div class = "settings-item-left" >
< div class = "settings-item-label" > Storage< / div >
< div class = "settings-item-description" >
< span class = "storage-use-invalid" >
Yomichan is using an indeterminate amount of storage.
< / span >
< span class = "storage-use-finite" hidden >
Yomichan is using approximately < span class = "storage-usage" > ?< / span > of < span class = "storage-quota" > ?< / span > .
< / span >
< span class = "storage-use-infinite" hidden >
Yomichan is permitted unlimited storage.
< / span >
< / div >
< / div >
< div class = "settings-item-right" >
< button id = "storage-refresh" class = "low-emphasis" > Refresh< / button >
< / div >
< / div >
< / div >
< div class = "settings-item" >
< div class = "settings-item-inner" >
< div class = "settings-item-left" >
< div class = "settings-item-label" > Persistent storage< / div >
< div class = "settings-item-description" >
Enable to help prevent the browser from unexpectedly clearing the database.
2021-08-28 18:45:25 +00:00
< a tabindex = "0" class = "more-toggle more-only" data-parent-distance = "4" > More… < / a >
2020-12-07 01:37:19 +00:00
< / div >
< / div >
< div class = "settings-item-right" >
< label class = "toggle" > < input type = "checkbox" id = "storage-persistent-checkbox" > < span class = "toggle-body" > < span class = "toggle-track" > < / span > < span class = "toggle-knob" > < / span > < / span > < / label >
< / div >
< / div >
< div class = "settings-item-children more" hidden >
< p >
Web browsers will sometimes clear stored data if the device is running low on storage space.
This can result in the imported dictionaries being deleted unexpectedly, causing Yomichan to stop functioning.
Enabling persistent storage tells the browser that the data should not be deleted in those circumstances.
< / p >
< p data-show-for-browser = "firefox firefox-mobile" class = "storage-use-invalid" hidden >
On Firefox and Firefox for Android, the storage information feature may be hidden behind a browser flag.
To enable this flag, open < a href = "about:config" target = "_blank" rel = "noopener" > about:config< / a > and search for
< strong > dom.storageManager.enabled< / strong > .
Setting its value to < strong > true< / strong > should allow storage information to be calculated.
< / p >
< p data-show-for-browser = "firefox-mobile" >
It may not be possible to enable Persistent Storage on Firefox for Android.
< / p >
< p data-show-for-browser = "chrome edge" >
Chromium-based browsers should not need to enable this setting since the Yomichan extension has
the < code > unlimitedStorage< / code > permission, which should prevent data deletion.< sup > < a href = "https://bugs.chromium.org/p/chromium/issues/detail?id=680392#c15" target = "_blank" rel = "noopener" > [1]< / a > < / sup >
< / p >
< p >
2021-08-28 18:45:25 +00:00
< a tabindex = "0" class = "more-toggle" data-parent-distance = "3" > Less… < / a >
2020-12-07 01:37:19 +00:00
< / p >
< / div >
< / div >
< / div >
2020-12-30 16:42:10 +00:00
<!-- General -->
2020-12-20 21:03:07 +00:00
< div class = "heading-container" >
< div class = "heading-container-icon" > < span class = "icon" data-icon = "cog" > < / span > < / div >
2021-01-09 21:39:30 +00:00
< div class = "heading-container-left" > < h2 id = "general" > < a href = "#!general" > General< / a > < / h2 > < / div >
2020-12-20 21:03:07 +00:00
< / div >
2020-12-07 01:37:19 +00:00
< div class = "settings-group" >
< div class = "settings-item" > < div class = "settings-item-inner" >
< div class = "settings-item-left" >
< div class = "settings-item-label" > Enable content scanning< / div >
< / div >
< div class = "settings-item-right" >
< label class = "toggle" > < input type = "checkbox" data-setting = "general.enable" > < 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" >
2021-02-13 04:03:15 +00:00
< div class = "settings-item-label" > Show the < a href = "/welcome.html" target = "_blank" rel = "noopener" > welcome guide< / a > on browser startup< / div >
2020-12-07 01:37:19 +00:00
< / div >
< div class = "settings-item-right" >
< label class = "toggle" > < input type = "checkbox" data-setting = "general.showGuide" > < 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 settings-item-inner-wrappable" >
< div class = "settings-item-left" >
< div class = "settings-item-label" > Result grouping mode< / div >
< div class = "settings-item-description" >
Change how related results are grouped.
2021-08-28 18:45:25 +00:00
< a tabindex = "0" class = "more-toggle more-only" data-parent-distance = "4" > More… < / a >
2020-12-07 01:37:19 +00:00
< / div >
< / div >
< div class = "settings-item-right" >
2020-12-31 18:10:23 +00:00
< select data-setting = "general.resultOutputMode"
data-transform='{
"type": "setVisibility",
"selector": "#main-dictionary-container",
"condition": {"op": "===", "value": "merge"}
}'
>
2020-12-07 01:37:19 +00:00
< option value = "split" > No grouping< / option >
< option value = "group" > Group term-reading pairs< / option >
< option value = "merge" > Group related terms< / option >
< / select >
< / div >
< / div >
< div class = "settings-item-children more" hidden >
< ul >
< li >
< strong > No grouping< / strong > -
Every definition will be listed as a separate entry.
< / li >
< li >
< strong > Group term-reading pairs< / strong > -
Definitions for the same term with the same reading will be grouped together.
< / li >
< li >
< p >
< strong > Group related terms< / strong > -
Related terms that share the same definitions will be grouped together.
< / p >
< p >
The < em > Primary dictionary< / em > option should be assigned to a dictionary which contains related term information,
and configuring the < em > Secondary dictionaries< / em > will allow definitions for the related terms to be
included from other dictionaries.
< / p >
< p class = "warning-text" >
Not all dictionaries are able to be selected as the < em > Primary dictionary< / em > .
< / p >
< / li >
< / ul >
< p >
2021-08-28 18:45:25 +00:00
< a tabindex = "0" class = "more-toggle" data-parent-distance = "3" > Less… < / a >
2020-12-07 01:37:19 +00:00
< / p >
< / div >
< div class = "settings-item-children settings-item-children-group" id = "main-dictionary-container" hidden >
2020-12-30 18:32:41 +00:00
< div class = "settings-item" > < div class = "settings-item-inner settings-item-inner-wrappable" >
2020-12-07 01:37:19 +00:00
< div class = "settings-item-left" >
< div class = "settings-item-label" > Primary dictionary< / div >
< / div >
< div class = "settings-item-right" >
< select data-setting = "general.mainDictionary" > < / select >
< / div >
< / div > < / div >
< div class = "settings-item settings-item-button" data-modal-action = "show,secondary-search-dictionaries" > < div class = "settings-item-inner" >
< div class = "settings-item-left" >
2020-12-22 00:21:03 +00:00
< div class = "settings-item-label" > Secondary dictionaries… < / div >
2020-12-07 01:37:19 +00:00
< / div >
< div class = "settings-item-right open-panel-button-container" >
2020-12-20 20:43:10 +00:00
< button class = "icon-button" > < span class = "icon-button-inner" > < span class = "icon" data-icon = "material-right-arrow" > < / span > < / span > < / button >
2020-12-07 01:37:19 +00:00
< / div >
< / div > < / div >
< / div >
< / div >
2021-09-26 15:08:16 +00:00
< div class = "settings-item advanced-only" >
< div class = "settings-item-inner settings-item-inner-wrappable" >
< div class = "settings-item-left" >
< div class = "settings-item-label" > Frequency sorting dictionary< / div >
< div class = "settings-item-description" >
Sort results using a frequency dictionary.
< a tabindex = "0" class = "more-toggle more-only" data-parent-distance = "4" > More… < / a >
< / div >
< / div >
< div class = "settings-item-right" >
< select id = "sort-frequency-dictionary" > < / select >
< / div >
< / div >
< div class = "settings-item-children more" hidden >
< p >
Enabling this option will sort search results using a specific dictionary.
This can be beneficial when using multiple dictionaries which may not have
consistent sorting information.
< / p >
< p >
< a tabindex = "0" class = "more-toggle" data-parent-distance = "3" > Less… < / a >
< / p >
< / div >
< div class = "settings-item-children settings-item-children-group" id = "sort-frequency-dictionary-order-container" hidden >
< div class = "settings-item" >
< div class = "settings-item-inner settings-item-inner-wrappable" >
< div class = "settings-item-left" >
< div class = "settings-item-label" >
Frequency sorting mode
< a tabindex = "0" class = "more-toggle more-only" data-parent-distance = "4" > (?)< / a >
< / div >
< / div >
< div class = "settings-item-right" >
< div class = "horizontal-flex horizontal-flex-nowrap" >
< button class = "low-emphasis" id = "sort-frequency-dictionary-order-auto" > Auto< / button >
< select id = "sort-frequency-dictionary-order" >
< option value = "descending" > Occurrence-based< / option >
< option value = "ascending" > Rank-based< / option >
< / select >
< / div >
< / div >
< / div >
< div class = "settings-item-children more" hidden >
< p >
Dictionary frequency data can be represented in one of two ways:
< / p >
< ul >
< li >
< em > Occurrence-based< / em > , where the frequency corresponds to a number of occurrences.
Large values indicate a more common term.
< / li >
< li >
< em > Rank-based< / em > , where the frequency value corresponds to a ranking index.
Smaller values indicate a more common term.
< / li >
< / ul >
< p >
The correct mode can be determined based on the contents of the dictionary;
the < em > Auto< / em > button attempts to auto-detect the correct value.
< / p >
< p >
< a tabindex = "0" class = "more-toggle" data-parent-distance = "3" > Less… < / a >
< / p >
< / div >
< / div >
< / div >
< / div >
2020-12-07 01:37:19 +00:00
< div class = "settings-item advanced-only" > < div class = "settings-item-inner settings-item-inner-wrappable" >
< div class = "settings-item-left" >
< div class = "settings-item-label" > Maximum number of results< / div >
< div class = "settings-item-description" > Adjust the maximum number of results shown for lookups.< / div >
< / div >
< div class = "settings-item-right" >
< input type = "number" min = "1" data-setting = "general.maxResults" >
< / div >
< / div > < / div >
< / div >
2020-12-30 16:42:10 +00:00
<!-- Scanning -->
2020-12-22 22:14:47 +00:00
< div class = "heading-container" >
< div class = "heading-container-icon" > < span class = "icon" data-icon = "scanning" > < / span > < / div >
2021-01-09 21:39:30 +00:00
< div class = "heading-container-left" > < h2 id = "scanning" > < a href = "#!scanning" > Scanning< / a > < / h2 > < / div >
2020-12-22 22:14:47 +00:00
< / div >
< div class = "settings-group" >
< div class = "settings-item" >
< div class = "settings-item-inner settings-item-inner-wrappable" >
< div class = "settings-item-left" >
< div class = "settings-item-label" > Scan modifier key< / div >
< div class = "settings-item-description" >
Hold a key while moving the cursor to scan text.
2021-08-28 18:45:25 +00:00
< a tabindex = "0" class = "more-toggle more-only" data-parent-distance = "4" > More… < / a >
2020-12-22 22:14:47 +00:00
< / div >
< / div >
< div class = "settings-item-right" >
< select id = "main-scan-modifier-key" > < / select >
< / div >
< / div >
< div class = "settings-item-children more" hidden >
< p >
A keyboard modifier key can be used to activate text scanning when the cursor is moved.
2021-01-15 02:33:41 +00:00
Alternatively, the < em > No key< / em > option can be used to scan text whenever the cursor is moved,
without requiring any key to be held.
2020-12-22 22:14:47 +00:00
< / p >
< p >
More advanced scanning input customization can be set up by enabling the < em > Advanced< / em > option
and clicking < em data-modal-action = "show,scanning-inputs" > Configure advanced scanning inputs< / em > .
< / p >
< p >
2021-08-28 18:45:25 +00:00
< a tabindex = "0" class = "more-toggle" data-parent-distance = "3" > Less… < / a >
2020-12-22 22:14:47 +00:00
< / p >
< / div >
< / div >
< div class = "settings-item" > < div class = "settings-item-inner" >
< div class = "settings-item-left" >
< div class = "settings-item-label" > Scan using middle mouse button< / div >
< div class = "settings-item-description" > Hold the middle mouse button while moving the cursor to scan text.< / div >
< / div >
< div class = "settings-item-right" >
< label class = "toggle" > < input type = "checkbox" id = "middle-mouse-button-scan" > < span class = "toggle-body" > < span class = "toggle-track" > < / span > < span class = "toggle-knob" > < / span > < / span > < / label >
< / div >
< / div > < / div >
< div class = "settings-item settings-item-button advanced-only" data-modal-action = "show,scanning-inputs" > < div class = "settings-item-inner" >
< div class = "settings-item-left" >
< div class = "settings-item-label" > Configure advanced scanning inputs… < span class = "light no-wrap" > (< span class = "scanning-input-count" > #< / span > defined)< / span > < / div >
< / div >
< div class = "settings-item-right open-panel-button-container" >
< button class = "icon-button" > < span class = "icon-button-inner" > < span class = "icon" data-icon = "material-right-arrow" > < / span > < / span > < / button >
< / div >
< / div > < / div >
< div class = "settings-item" >
< div class = "settings-item-inner" >
< div class = "settings-item-left" >
< div class = "settings-item-label" > Auto-hide search popup< / div >
2022-04-04 02:52:53 +00:00
< div class = "settings-item-description" > When no definitions are found after scanning text, the popup will be hidden.< / div >
2020-12-22 22:14:47 +00:00
< / div >
< div class = "settings-item-right" >
2020-12-31 18:10:23 +00:00
< label class = "toggle" > < input type = "checkbox" data-setting = "scanning.autoHideResults"
data-transform='{
"type": "setVisibility",
"selector": "#auto-hide-search-popup-options",
"condition": {"op": "===", "value": true}
}'
>< span class = "toggle-body" > < span class = "toggle-track" > < / span > < span class = "toggle-knob" > < / span > < / span > < / label >
2020-12-22 22:14:47 +00:00
< / div >
< / div >
< div class = "settings-item-children settings-item-children-group" id = "auto-hide-search-popup-options" hidden >
2020-12-30 18:32:41 +00:00
< div class = "settings-item" > < div class = "settings-item-inner settings-item-inner-wrappable" >
2020-12-22 22:14:47 +00:00
< div class = "settings-item-left" >
2022-04-04 02:52:53 +00:00
< div class = "settings-item-label" > Delay < span class = "light" > (in milliseconds)< / span > < / div >
2020-12-22 22:14:47 +00:00
< / div >
< div class = "settings-item-right" >
< input type = "number" data-setting = "scanning.hideDelay" min = "0" >
< / div >
< / div > < / div >
< / div >
< / div >
2022-04-04 02:52:53 +00:00
< div class = "settings-item" >
< div class = "settings-item-inner" >
< div class = "settings-item-left" >
< div class = "settings-item-label" > Hide popup on cursor exit< / div >
< div class = "settings-item-description" > When the cursor exits the popup, the popup will be hidden.< / div >
< / div >
< div class = "settings-item-right" >
< label class = "toggle" > < input type = "checkbox" data-setting = "scanning.hidePopupOnCursorExit"
data-transform='{
"type": "setVisibility",
"selector": "#hide-popup-on-cursor-exit-options",
"condition": {"op": "===", "value": true}
}'
>< span class = "toggle-body" > < span class = "toggle-track" > < / span > < span class = "toggle-knob" > < / span > < / span > < / label >
< / div >
< / div >
< div class = "settings-item-children settings-item-children-group" id = "hide-popup-on-cursor-exit-options" hidden >
< div class = "settings-item" > < div class = "settings-item-inner settings-item-inner-wrappable" >
< div class = "settings-item-left" >
< div class = "settings-item-label" > Delay < span class = "light" > (in milliseconds)< / span > < / div >
< / div >
< div class = "settings-item-right" >
< input type = "number" data-setting = "scanning.hidePopupOnCursorExitDelay" min = "0" >
< / div >
< / div > < / div >
< / div >
< / div >
2020-12-30 18:32:41 +00:00
< div class = "settings-item" > < div class = "settings-item-inner settings-item-inner-wrappable" >
2020-12-22 22:14:47 +00:00
< div class = "settings-item-left" >
< div class = "settings-item-label" > Scan delay < span class = "light" > (in milliseconds)< / span > < / div >
2021-01-15 02:33:41 +00:00
< div class = "settings-item-description" > Change the delay before scanning occurs when no modifier key is required.< / div >
2020-12-22 22:14:47 +00:00
< / div >
< div class = "settings-item-right" >
< input type = "number" data-setting = "scanning.delay" min = "0" >
< / div >
< / div > < / div >
< div class = "settings-item" > < div class = "settings-item-inner" >
< div class = "settings-item-left" >
< div class = "settings-item-label" > Select matched text< / div >
< / div >
< div class = "settings-item-right" >
< label class = "toggle" > < input type = "checkbox" data-setting = "scanning.selectText" > < 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" > Search text with non-Japanese characters< / div >
< / div >
< div class = "settings-item-right" >
< label class = "toggle" > < input type = "checkbox" data-setting = "scanning.alphanumeric" > < span class = "toggle-body" > < span class = "toggle-track" > < / span > < span class = "toggle-knob" > < / span > < / span > < / label >
< / div >
< / div > < / div >
< div class = "settings-item advanced-only" > < div class = "settings-item-inner" >
< div class = "settings-item-left" >
< div class = "settings-item-label" > Layout-aware scanning< / div >
< div class = "settings-item-description" > Use webpage styling information to determine where line breaks are likely to be.< / div >
< / div >
< div class = "settings-item-right" >
< label class = "toggle" > < input type = "checkbox" data-setting = "scanning.layoutAwareScan" > < span class = "toggle-body" > < span class = "toggle-track" > < / span > < span class = "toggle-knob" > < / span > < / span > < / label >
< / div >
< / div > < / div >
< div class = "settings-item advanced-only" > < div class = "settings-item-inner" >
< div class = "settings-item-left" >
< div class = "settings-item-label" > Deep content scanning< / div >
< div class = "settings-item-description" > Enable scanning text that is covered by other layers.< / div >
< / div >
< div class = "settings-item-right" >
< label class = "toggle" > < input type = "checkbox" data-setting = "scanning.deepDomScan" > < span class = "toggle-body" > < span class = "toggle-track" > < / span > < span class = "toggle-knob" > < / span > < / span > < / label >
< / div >
< / div > < / div >
2021-12-18 17:38:39 +00:00
< div class = "settings-item advanced-only" >
< div class = "settings-item-inner" >
< div class = "settings-item-left" >
< div class = "settings-item-label" > Wildcard scanning< / div >
< div class = "settings-item-description" >
Enable suffix wildcard when looking up scanned webpage text.
< a tabindex = "0" class = "more-toggle more-only" data-parent-distance = "4" > More… < / a >
< / div >
< / div >
< div class = "settings-item-right" >
< label class = "toggle" > < input type = "checkbox" data-setting = "scanning.matchTypePrefix" > < span class = "toggle-body" > < span class = "toggle-track" > < / span > < span class = "toggle-knob" > < / span > < / span > < / label >
< / div >
< / div >
< div class = "settings-item-children more" hidden >
< p >
Rather than searching for the source text exactly, the text will only be required to be a prefix of an existing term.
For example, scanning 読み will effectively search for 読み*, which may bring up additional results such as 読み方.
< / p >
< p class = "danger-text" >
This will likely cause scanning and lookup to be slower, and the results may not be as relevant.
< / p >
< p >
< a tabindex = "0" class = "more-toggle" data-parent-distance = "3" > Less… < / a >
< / p >
< / div >
< / div >
2020-12-22 22:14:47 +00:00
< div class = "settings-item advanced-only" > < div class = "settings-item-inner settings-item-inner-wrappable" >
< div class = "settings-item-left" >
< div class = "settings-item-label" > Text scan length< / div >
< div class = "settings-item-description" > Change how many characters are read when scanning for terms.< / div >
< / div >
< div class = "settings-item-right" >
< input type = "number" data-setting = "scanning.length" min = "1" step = "1" >
< / div >
< / div > < / div >
2021-01-15 02:33:41 +00:00
< div class = "settings-item advanced-only" >
< div class = "settings-item-inner settings-item-inner-wrappable" >
< div class = "settings-item-left" >
< div class = "settings-item-label" >
Support inputs for devices with touch screens
2021-08-28 18:45:25 +00:00
< a tabindex = "0" class = "more-toggle more-only" data-parent-distance = "4" > (?)< / a >
2021-01-15 02:33:41 +00:00
< / div >
< / div >
< div class = "settings-item-right flex-row-wrap" >
< div class = "settings-item-group settings-item-group-wrap" >
< label class = "settings-item-group-item flex-label no-wrap" >
< label class = "checkbox" > < input type = "checkbox" data-setting = "scanning.touchInputEnabled" > < span class = "checkbox-body" > < span class = "checkbox-fill" > < / span > < span class = "checkbox-border" > < / span > < span class = "checkbox-check" > < / span > < / span > < / label >
< span > Touch inputs< / span >
< / label >
< label class = "settings-item-group-item flex-label no-wrap" >
< label class = "checkbox" > < input type = "checkbox" data-setting = "scanning.pointerEventsEnabled" > < span class = "checkbox-body" > < span class = "checkbox-fill" > < / span > < span class = "checkbox-border" > < / span > < span class = "checkbox-check" > < / span > < / span > < / label >
< span > Pointer inputs< / span >
< / label >
< / div >
< / div >
< / div >
< div class = "settings-item-children more" hidden >
< p >
To enable text scanning when using devices with a touch screen, either the < em > Touch inputs< / em > or the < em > Pointer inputs< / em > option must be enabled.
< em > Touch inputs< / em > supports generic touches on a touch screen device, but do not distinguish between touch and pen inputs.
< em > Pointer inputs< / em > supports supports the detection pen devices, but may not work on all devices.
If both options are enabled, < em > Pointer inputs< / em > takes precedence.
< / p >
< p >
The < em > Pointer inputs< / em > option is only visible when the < em > Advanced< / em > option is enabled.
< / p >
< p >
2021-08-28 18:45:25 +00:00
< a tabindex = "0" class = "more-toggle" data-parent-distance = "3" > Less… < / a >
2021-01-15 02:33:41 +00:00
< / p >
< / div >
< / div >
2020-12-22 22:14:47 +00:00
< div class = "settings-item settings-item-button advanced-only" data-modal-action = "show,input-action-prevention" > < div class = "settings-item-inner" >
< div class = "settings-item-left" >
< div class = "settings-item-label" > Configure input action prevention… < / div >
< / div >
< div class = "settings-item-right open-panel-button-container" >
< button class = "icon-button" > < span class = "icon-button-inner" > < span class = "icon" data-icon = "material-right-arrow" > < / span > < / span > < / button >
< / div >
< / div > < / div >
< / div >
2020-12-30 16:42:10 +00:00
<!-- Popup -->
2020-12-20 21:03:07 +00:00
< div class = "heading-container" >
< div class = "heading-container-icon" > < span class = "icon" data-icon = "popup" > < / span > < / div >
2021-01-09 21:39:30 +00:00
< div class = "heading-container-left" > < h2 id = "popup" > < a href = "#!popup" > Popup< / a > < / h2 > < / div >
2020-12-20 21:03:07 +00:00
< / div >
2020-12-07 01:37:19 +00:00
< div class = "settings-group" >
< div class = "settings-item" > < div class = "settings-item-inner" >
< div class = "settings-item-left" >
< div class = "settings-item-label" > Allow scanning search page content< / div >
< div class = "settings-item-description" > Text on the search page can be scanned for definitions, which will open a popup.< / div >
< / div >
< div class = "settings-item-right" >
< label class = "toggle" > < input type = "checkbox" data-setting = "scanning.enableOnSearchPage" > < 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 scanning popup content< / div >
< div class = "settings-item-description" > Text inside of popups can be scanned for definitions, which will open a new popup.< / div >
< / div >
< div class = "settings-item-right" >
< label class = "toggle" > < input type = "checkbox" id = "nested-popups-enabled" > < span class = "toggle-body" > < span class = "toggle-track" > < / span > < span class = "toggle-knob" > < / span > < / span > < / label >
< / div >
< / div >
< div class = "settings-item-children settings-item-children-group" id = "nested-popups-enabled-more-options" hidden >
< div class = "settings-item" > < div class = "settings-item-inner" >
< div class = "settings-item-left" >
< div class = "settings-item-label" > Maximum number of child popups< / div >
< div class = "settings-item-description" > Change the limit on the number of popups that may be generated.< / div >
< / div >
< div class = "settings-item-right" >
< input type = "number" min = "0" step = "1" id = "nested-popups-count" >
< / div >
< / div > < / div >
< div class = "settings-item advanced-only" > < div class = "settings-item-inner" >
< div class = "settings-item-left" >
< div class = "settings-item-label" > Allow scanning popup source terms< / div >
< / div >
< div class = "settings-item-right" >
< label class = "toggle" > < input type = "checkbox" data-setting = "scanning.enableOnPopupExpressions" > < span class = "toggle-body" > < span class = "toggle-track" > < / span > < span class = "toggle-knob" > < / span > < / span > < / label >
< / div >
< / div > < / div >
< / div >
< / div >
< div class = "settings-item advanced-only" > < div class = "settings-item-inner" >
< div class = "settings-item-left" >
< div class = "settings-item-label" > Search terms when clicking text from the results list< / div >
< / div >
< div class = "settings-item-right" >
2020-12-22 00:22:05 +00:00
< label class = "toggle" > < input type = "checkbox" data-setting = "scanning.enablePopupSearch" > < span class = "toggle-body" > < span class = "toggle-track" > < / span > < span class = "toggle-knob" > < / span > < / span > < / label >
2020-12-07 01:37:19 +00:00
< / div >
< / div > < / div >
< div class = "settings-item advanced-only" >
< div class = "settings-item-inner" >
< div class = "settings-item-left" >
< div class = "settings-item-label" >
Show iframe popups in the root frame
2021-08-28 18:45:25 +00:00
< a tabindex = "0" class = "more-toggle more-only" data-parent-distance = "4" > (?)< / a >
2020-12-07 01:37:19 +00:00
< / div >
< / div >
< div class = "settings-item-right" >
< label class = "toggle" > < input type = "checkbox" data-setting = "general.showIframePopupsInRootFrame" > < span class = "toggle-body" > < span class = "toggle-track" > < / span > < span class = "toggle-knob" > < / span > < / span > < / label >
< / div >
< / div >
< div class = "settings-item-children more" hidden >
< p >
By default, scanning text inside of an embeded < code > < iframe> < / code > element will open
a new popup inside of that frame, which can sometimes be limiting due to the frame's size.
When this option is enabled, the popup will be created in the root of the page, if possible.
< / p >
< p >
Note that when this option is enabled, there is a possibility that the extension can interfere with the underlying webpage,
since it must send messages to the webpage in order to determine the correct position of the popup.
This typically does not cause issues, but if anything unexpected happens, this option could be the cause.
< / p >
< p >
2021-08-28 18:45:25 +00:00
< a tabindex = "0" class = "more-toggle" data-parent-distance = "3" > Less… < / a >
2020-12-07 01:37:19 +00:00
< / p >
< / div >
< / div >
< / div >
2020-12-30 16:42:10 +00:00
<!-- Popup Appearance -->
2020-12-20 21:03:07 +00:00
< div class = "heading-container" >
< div class = "heading-container-icon" > < span class = "icon" data-icon = "palette" > < / span > < / div >
2021-01-09 21:39:30 +00:00
< div class = "heading-container-left" > < h2 id = "popup-appearance" > < a href = "#!popup-appearance" > Popup Appearance< / a > < / h2 > < / div >
2020-12-20 21:03:07 +00:00
< / div >
2020-12-07 01:37:19 +00:00
< div class = "settings-group" >
< div class = "settings-item" > < div class = "settings-item-inner settings-item-inner-wrappable" >
< div class = "settings-item-left" >
< div class = "settings-item-label" > Theme< / div >
< div class = "settings-item-description" > Adjust the style of the popup.< / div >
< / div >
< div class = "settings-item-right" >
< div class = "settings-item-group" >
< div class = "settings-item-group-item" >
< div class = "settings-item-group-item-label" > Body< / div >
< select data-setting = "general.popupTheme" class = "short-width short-height" >
2022-04-03 20:20:55 +00:00
< option value = "light" > Light< / option >
2020-12-07 01:37:19 +00:00
< option value = "dark" > Dark< / option >
2022-04-03 20:20:55 +00:00
< option value = "browser" > Browser< / option >
2020-12-07 01:37:19 +00:00
< / select >
< / div >
< div class = "settings-item-group-item" >
< div class = "settings-item-group-item-label" > Shadow< / div >
< select data-setting = "general.popupOuterTheme" class = "short-width short-height" >
2022-04-03 20:20:55 +00:00
< option value = "site" > Auto< / option >
< option value = "light" > Light< / option >
2020-12-07 01:37:19 +00:00
< option value = "dark" > Dark< / option >
2022-04-03 20:20:55 +00:00
< option value = "browser" > Browser< / option >
2020-12-07 01:37:19 +00:00
< / select >
< / div >
< / div >
< / div >
< / div > < / div >
2020-12-20 01:07:55 +00:00
< div class = "settings-item" >
< div class = "settings-item-inner settings-item-inner-wrappable" >
< div class = "settings-item-left" >
< div class = "settings-item-label" > Action bar appearance< / div >
< div class = "settings-item-description" > Control when and where the action bar is visible.< / div >
< / div >
< div class = "settings-item-right" >
< div class = "settings-item-group" >
< div class = "settings-item-group-item" >
< div class = "settings-item-group-item-label" > Visibility< / div >
< select data-setting = "general.popupActionBarVisibility" class = "short-width short-height" >
< option value = "auto" > Auto< / option >
< option value = "always" > Always< / option >
< / select >
< / div >
< div class = "settings-item-group-item" >
< div class = "settings-item-group-item-label" > Location< / div >
< select data-setting = "general.popupActionBarLocation" class = "short-width short-height" >
< option value = "left" > Left< / option >
< option value = "right" > Right< / option >
< option value = "top" > Top< / option >
< option value = "bottom" > Bottom< / option >
< / select >
< / div >
< / div >
< / div >
< / div >
< / div >
2020-12-31 18:38:51 +00:00
< div class = "settings-item" > < div class = "settings-item-inner" >
2020-12-07 01:37:19 +00:00
< div class = "settings-item-left" >
2020-12-31 18:38:51 +00:00
< div class = "settings-item-label" > Compact glossaries< / div >
< div class = "settings-item-description" > Display term glossaries using a more compact layout.< / div >
2020-12-07 01:37:19 +00:00
< / div >
< div class = "settings-item-right" >
2020-12-31 18:38:51 +00:00
< label class = "toggle" > < input type = "checkbox" data-setting = "general.glossaryLayoutMode"
data-transform='[
{
"step": "pre",
"type": "conditionalConvert",
"cases": [
{"op": "===", "value": false, "result": "default"},
{"op": "===", "value": true, "result": "compact"},
{"default": true, "result": "default"}
]
},
{
"step": "post",
"type": "conditionalConvert",
"cases": [
{"op": "===", "value": "default", "result": false},
{"op": "===", "value": "compact", "result": true},
{"default": true, "result": false}
]
}
]'
>< span class = "toggle-body" > < span class = "toggle-track" > < / span > < span class = "toggle-knob" > < / span > < / span > < / label >
2020-12-07 01:37:19 +00:00
< / div >
< / div > < / div >
< div class = "settings-item" > < div class = "settings-item-inner" >
< div class = "settings-item-left" >
< div class = "settings-item-label" > Compact tags< / div >
< div class = "settings-item-description" > Show fewer repeated tags for term glossaries.< / div >
< / div >
< div class = "settings-item-right" >
< label class = "toggle" > < input type = "checkbox" data-setting = "general.compactTags" > < span class = "toggle-body" > < span class = "toggle-track" > < / span > < span class = "toggle-knob" > < / span > < / span > < / label >
< / div >
< / div > < / div >
< div class = "settings-item advanced-only" > < div class = "settings-item-inner" >
< div class = "settings-item-left" >
< div class = "settings-item-label" > Show tags for expressions and their readings< / div >
< div class = "settings-item-description" > These tags can be scanned if the options for popup content scanning are enabled.< / div >
< / div >
< div class = "settings-item-right" >
< label class = "toggle" > < input type = "checkbox" data-setting = "scanning.enableSearchTags" > < span class = "toggle-body" > < span class = "toggle-track" > < / span > < span class = "toggle-knob" > < / span > < / span > < / label >
< / div >
< / div > < / div >
< div class = "settings-item advanced-only" > < div class = "settings-item-inner" >
< div class = "settings-item-left" >
< div class = "settings-item-label" > Show debug information< / div >
2021-10-17 13:55:13 +00:00
< div class = "settings-item-description" > A menu option to log debugging information will be shown in the search results.< / div >
2020-12-07 01:37:19 +00:00
< / div >
< div class = "settings-item-right" >
< label class = "toggle" > < input type = "checkbox" data-setting = "general.debugInfo" > < span class = "toggle-body" > < span class = "toggle-track" > < / span > < span class = "toggle-knob" > < / span > < / span > < / label >
< / div >
< / div > < / div >
2021-02-25 22:48:39 +00:00
< div class = "settings-item advanced-only" > < div class = "settings-item-inner" >
2021-02-27 19:04:52 +00:00
< div class = "settings-item-left" >
< div class = "settings-item-label" > Term display style< / div >
< div class = "settings-item-description" > Change how terms and their readings are displayed.< / div >
< / div >
< div class = "settings-item-right" >
< select data-setting = "general.termDisplayMode" >
< option value = "ruby" > Term furigana< / option >
< option value = "ruby-and-reading" > Term furigana and reading< / option >
2021-02-27 20:29:34 +00:00
< option value = "term-and-reading" > Plain term and reading< / option >
2021-02-27 19:04:52 +00:00
< / select >
< / div >
< / div > < / div >
< div class = "settings-item advanced-only" > < div class = "settings-item-inner" >
2021-02-25 22:48:39 +00:00
< div class = "settings-item-left" >
< div class = "settings-item-label" > Frequency display style< / div >
< div class = "settings-item-description" > Change how frequency information is presented.< / div >
< / div >
< div class = "settings-item-right" >
< select data-setting = "general.frequencyDisplayMode" >
< option value = "tags" > Tags< / option >
< option value = "tags-grouped" > Tags, grouped content< / option >
< option value = "split-tags" > Split tags< / option >
< option value = "split-tags-grouped" > Split tags, grouped content< / option >
< option value = "inline-list" > Inline list< / option >
< option value = "list" > List< / option >
< / select >
< / div >
< / div > < / div >
2020-12-19 20:42:44 +00:00
< div class = "settings-item advanced-only" >
< div class = "settings-item-inner settings-item-inner-wrappable" >
< div class = "settings-item-left" >
< div class = "settings-item-label" > Selection indicator style< / div >
< div class = "settings-item-description" > Change how the selected definition entry is visually indicated.< / div >
< / div >
< div class = "settings-item-right" >
< select data-setting = "general.popupCurrentIndicatorMode" >
< option value = "none" > None< / option >
< option value = "asterisk" > Asterisk< / option >
< option value = "triangle" > Triangle< / option >
< option value = "bar-left" > Vertical bar (left)< / option >
< option value = "bar-right" > Vertical bar (right)< / option >
< option value = "dot-left" > Small dot (left)< / option >
< option value = "dot-right" > Small dot (right)< / option >
< / select >
< / div >
< / div >
< / div >
2020-12-07 01:37:19 +00:00
< div class = "settings-item advanced-only" >
2020-12-30 18:32:41 +00:00
< div class = "settings-item-inner settings-item-inner-wrappable" >
2020-12-07 01:37:19 +00:00
< div class = "settings-item-left" >
< div class = "settings-item-label" >
Pitch accent display styles
2021-08-28 18:45:25 +00:00
< a tabindex = "0" class = "more-toggle more-only" data-parent-distance = "4" > (?)< / a >
2020-12-07 01:37:19 +00:00
< / div >
< / div >
< div class = "settings-item-right flex-row-wrap" >
< div class = "settings-item-group settings-item-group-wrap" >
< label class = "settings-item-group-item flex-label no-wrap" >
< label class = "checkbox" > < input type = "checkbox" data-setting = "general.showPitchAccentDownstepNotation" > < span class = "checkbox-body" > < span class = "checkbox-fill" > < / span > < span class = "checkbox-border" > < / span > < span class = "checkbox-check" > < / span > < / span > < / label >
< span > Downstep notation< / span >
< / label >
< label class = "settings-item-group-item flex-label no-wrap" >
< label class = "checkbox" > < input type = "checkbox" data-setting = "general.showPitchAccentPositionNotation" > < span class = "checkbox-body" > < span class = "checkbox-fill" > < / span > < span class = "checkbox-border" > < / span > < span class = "checkbox-check" > < / span > < / span > < / label >
< span > Downstep position< / span >
< / label >
< label class = "settings-item-group-item flex-label no-wrap" >
< label class = "checkbox" > < input type = "checkbox" data-setting = "general.showPitchAccentGraph" > < span class = "checkbox-body" > < span class = "checkbox-fill" > < / span > < span class = "checkbox-border" > < / span > < span class = "checkbox-check" > < / span > < / span > < / label >
< span > Graph< / span >
< / label >
< / div >
< / div >
< / div >
< div class = "settings-item-children more" hidden >
< p >
Pitch accents for terms and expressions can be shown if a dictionary supporting pitch accents is installed.
There are currently three different ways that pitch accents can be presented:
< / p >
2021-07-17 18:44:36 +00:00
< ul >
< li >
< strong > Downstep notation< / strong > -
< span class = "format-preview" lang = "ja" >
< span class = "pronunciation-text-container" > < span class = "pronunciation-text" > < span class = "pronunciation-mora" data-position = "0" data-pitch = "high" data-pitch-next = "low" > < span class = "pronunciation-character" > よ< / span > < span class = "pronunciation-mora-line" > < / span > < / span > < span class = "pronunciation-mora" data-position = "1" data-pitch = "low" data-pitch-next = "low" > < span class = "pronunciation-character" > む< / span > < span class = "pronunciation-mora-line" > < / span > < / span > < / span > < / span >
< / span >
< / li >
< li >
< strong > Downstep position< / strong > -
< span class = "format-preview" >
< span class = "pronunciation-downstep-notation-container" > < span class = "pronunciation-downstep-notation" data-downstep-position = "1" > < span class = "pronunciation-downstep-notation-prefix" > [< / span > < span class = "pronunciation-downstep-notation-number" > 1< / span > < span class = "pronunciation-downstep-notation-suffix" > ]< / span > < / span > < / span >
< / span >
< / li >
< li >
< strong > Graph< / strong > -
< span class = "format-preview" >
< span class = "pronunciation-graph-container" >
< svg xmlns = "http://www.w3.org/2000/svg" class = "pronunciation-graph" focusable = "false" viewBox = "0 0 150 100" >
< path class = "pronunciation-graph-line" d = "M25 25 L75 75" > < / path >
< path class = "pronunciation-graph-line-tail" d = "M75 75 L125 75" > < / path >
< circle class = "pronunciation-graph-dot-downstep1" cx = "25" cy = "25" r = "15" > < / circle >
< circle class = "pronunciation-graph-dot-downstep2" cx = "25" cy = "25" r = "5" > < / circle >
< circle class = "pronunciation-graph-dot" cx = "75" cy = "75" r = "15" > < / circle >
< path class = "pronunciation-graph-triangle" d = "M0 13 L15 -13 L-15 -13 Z" transform = "translate(125,75)" > < / path >
< / svg >
< / span >
< / span >
< / li >
< / ul >
2020-12-07 01:37:19 +00:00
< p >
2021-08-28 18:45:25 +00:00
< a tabindex = "0" class = "more-toggle" data-parent-distance = "3" > Less… < / a >
2020-12-07 01:37:19 +00:00
< / p >
< / div >
< / div >
2021-03-31 22:17:28 +00:00
< div class = "settings-item settings-item-button advanced-only" data-modal-action = "show,collapsible-dictionaries" > < div class = "settings-item-inner" >
< div class = "settings-item-left" >
< div class = "settings-item-label" > Configure collapsible dictionaries… < / div >
< / div >
< div class = "settings-item-right open-panel-button-container" >
< button class = "icon-button" > < span class = "icon-button-inner" > < span class = "icon" data-icon = "material-right-arrow" > < / span > < / span > < / button >
< / div >
< / div > < / div >
2020-12-07 01:37:19 +00:00
< div class = "settings-item settings-item-button" data-modal-action = "show,custom-css" > < div class = "settings-item-inner" >
< div class = "settings-item-left" >
2020-12-22 00:21:03 +00:00
< div class = "settings-item-label" > Configure custom CSS… < / div >
2020-12-07 01:37:19 +00:00
< / div >
< div class = "settings-item-right open-panel-button-container" >
2020-12-20 20:43:10 +00:00
< button class = "icon-button" > < span class = "icon-button-inner" > < span class = "icon" data-icon = "material-right-arrow" > < / span > < / span > < / button >
2020-12-07 01:37:19 +00:00
< / div >
< / div > < / div >
< / div >
2020-12-30 16:42:10 +00:00
<!-- Popup Position & Size -->
2020-12-20 21:03:07 +00:00
< div class = "heading-container" >
< div class = "heading-container-icon" > < span class = "icon" data-icon = "popup-size" > < / span > < / div >
2021-01-09 21:39:30 +00:00
< div class = "heading-container-left" > < h2 id = "popup-size" > < a href = "#!popup-size" > Popup Position & Size< / a > < / h2 > < / div >
2020-12-20 21:03:07 +00:00
< / div >
2020-12-07 01:37:19 +00:00
< div class = "settings-group" >
< div class = "settings-item" >
< div class = "settings-item-inner settings-item-inner-wrappable" >
< div class = "settings-item-left" >
< div class = "settings-item-label" > Display mode< / div >
< div class = "settings-item-description" >
Change the layout of the popup.
2021-08-28 18:45:25 +00:00
< a tabindex = "0" class = "more-toggle more-only" data-parent-distance = "4" > More… < / a >
2020-12-07 01:37:19 +00:00
< / div >
< / div >
< div class = "settings-item-right" >
< select data-setting = "general.popupDisplayMode" >
< option value = "default" > Default< / option >
< option value = "full-width" > Full width< / option >
< / select >
< / div >
< / div >
< div class = "settings-item-children more" hidden >
< p >
The < em > Default< / em > mode will position the popup relative to the scanned text.
The < em > Full Width< / em > mode will anchor the popup to the top or bottom of the screen and take up
the full width of the screen, which can be useful on devices with touch screens.
< / p >
< p >
2021-08-28 18:45:25 +00:00
< a tabindex = "0" class = "more-toggle" data-parent-distance = "3" > Less… < / a >
2020-12-07 01:37:19 +00:00
< / p >
< / div >
< / div >
< div class = "settings-item" >
< div class = "settings-item-inner settings-item-inner-wrappable" >
< div class = "settings-item-left" >
< div class = "settings-item-label" > Scale< / div >
< div class = "settings-item-description" > Control the scaling factor of the popup.< / div >
< / div >
< div class = "settings-item-right" >
2020-12-31 18:10:23 +00:00
< select data-setting = "general.popupScalingFactor"
data-transform='[
{"type": "toNumber", "step": "pre", "constraints": {"min": 0.25}},
{"type": "toString", "step": "post"}
]'
>
2020-12-07 01:37:19 +00:00
< option value = "0.25" > 25%< / option >
< option value = "0.33" > 33%< / option >
< option value = "0.5" > 50%< / option >
< option value = "0.67" > 67%< / option >
< option value = "0.75" > 75%< / option >
< option value = "0.8" > 80%< / option >
< option value = "0.9" > 90%< / option >
< option value = "1" > 100%< / option >
< option value = "1.1" > 110%< / option >
< option value = "1.25" > 125%< / option >
< option value = "1.5" > 150%< / option >
< option value = "1.75" > 175%< / option >
< option value = "2" > 200%< / option >
< option value = "2.5" > 250%< / option >
< option value = "3" > 300%< / option >
< option value = "4" > 400%< / option >
< option value = "5" > 500%< / option >
< / select >
< / div >
< / div >
< div class = "settings-item-children settings-item-children-group advanced-only" >
< div class = "settings-item" >
< div class = "settings-item-inner" >
< div class = "settings-item-left" >
< div class = "settings-item-label" >
Auto-scale
2021-08-28 18:45:25 +00:00
< a tabindex = "0" class = "more-toggle more-only" data-parent-distance = "4" > (?)< / a >
2020-12-07 01:37:19 +00:00
< / div >
< / div >
< div class = "settings-item-right flex-row-wrap" >
< div class = "settings-item-group settings-item-group-wrap" >
< label class = "settings-item-group-item flex-label no-wrap" >
< label class = "checkbox" > < input type = "checkbox" data-setting = "general.popupScaleRelativeToPageZoom" > < span class = "checkbox-body" > < span class = "checkbox-fill" > < / span > < span class = "checkbox-border" > < / span > < span class = "checkbox-check" > < / span > < / span > < / label >
< span > Zoom level< / span >
< / label >
< label class = "settings-item-group-item flex-label no-wrap" >
< label class = "checkbox" > < input type = "checkbox" data-setting = "general.popupScaleRelativeToVisualViewport" > < span class = "checkbox-body" > < span class = "checkbox-fill" > < / span > < span class = "checkbox-border" > < / span > < span class = "checkbox-check" > < / span > < / span > < / label >
< span > Viewport< / span >
< / label >
< / div >
< / div >
< / div >
< div class = "settings-item-children more" hidden >
< p >
Auto-scaling will scale the popup automatically based on the browser's zoom levels
in order to keep the popup at a constant physical size, regardless of the zoom level.
< em > Zoom level< / em > uses the zoom level that is typically used on desktop browsers,
and < em > Viewport< / em > uses the zoom level that is typically used on mobile browsers.
< / p >
< p >
2021-08-28 18:45:25 +00:00
< a tabindex = "0" class = "more-toggle" data-parent-distance = "3" > Less… < / a >
2020-12-07 01:37:19 +00:00
< / p >
< / div >
< / div >
< / div >
< / div >
< div class = "settings-item" > < div class = "settings-item-inner settings-item-inner-wrappable" >
< div class = "settings-item-left" >
< div class = "settings-item-label" > Size< / div >
< div class = "settings-item-description" > Control the size of the popup, in pixels.< / div >
< / div >
< div class = "settings-item-right" >
< div class = "settings-item-group" >
< div class = "settings-item-group-item" >
< div class = "settings-item-group-item-label" > Width< / div >
< input type = "number" class = "short-width short-height" min = "1" data-setting = "general.popupWidth" >
< / div >
< div class = "settings-item-group-item" >
< div class = "settings-item-group-item-label" > Height< / div >
< input type = "number" class = "short-width short-height" min = "1" data-setting = "general.popupHeight" >
< / div >
< / div >
< / div >
< / div > < / div >
< div class = "settings-item advanced-only" > < div class = "settings-item-inner settings-item-inner-wrappable" >
< div class = "settings-item-left" >
< div class = "settings-item-label" > Horizontal text positioning< / div >
< div class = "settings-item-description" > Change where the popup is positioned relative to horizontal text.< / div >
< / div >
< div class = "settings-item-right" >
< select data-setting = "general.popupHorizontalTextPosition" >
< option value = "below" > Below text< / option >
< option value = "above" > Above text< / option >
< / select >
< / div >
< / div > < / div >
< div class = "settings-item advanced-only" > < div class = "settings-item-inner settings-item-inner-wrappable" >
< div class = "settings-item-left" >
< div class = "settings-item-label" > Vertical text positioning< / div >
< div class = "settings-item-description" > Change where the popup is positioned relative to vertical text.< / div >
< / div >
< div class = "settings-item-right" >
< select data-setting = "general.popupVerticalTextPosition" >
2021-01-30 00:10:57 +00:00
< option value = "default" > Same as horizontal text< / option >
< option value = "before" > Before reading direction< / option >
< option value = "after" > After reading direction< / option >
2020-12-07 01:37:19 +00:00
< option value = "left" > Left of text< / option >
< option value = "right" > Right of text< / option >
< / select >
< / div >
< / div > < / div >
< div class = "settings-item advanced-only" > < div class = "settings-item-inner settings-item-inner-wrappable" >
< div class = "settings-item-left" >
< div class = "settings-item-label" > Horizontal text offset< / div >
< div class = "settings-item-description" > Change the distance the popup is placed relative to horizontal text.< / div >
< / div >
< div class = "settings-item-right" >
< div class = "settings-item-group" >
< div class = "settings-item-group-item" >
< div class = "settings-item-group-item-label" > x< / div >
< input type = "number" class = "short-width short-height" data-setting = "general.popupHorizontalOffset" >
< / div >
< div class = "settings-item-group-item" >
< div class = "settings-item-group-item-label" > y< / div >
< input type = "number" class = "short-width short-height" data-setting = "general.popupVerticalOffset" >
< / div >
< / div >
< / div >
< / div > < / div >
< div class = "settings-item advanced-only" > < div class = "settings-item-inner settings-item-inner-wrappable" >
< div class = "settings-item-left" >
< div class = "settings-item-label" > Vertical text offset< / div >
< div class = "settings-item-description" > Change the distance the popup is placed relative to vertical text.< / div >
< / div >
< div class = "settings-item-right" >
< div class = "settings-item-group" >
< div class = "settings-item-group-item" >
< div class = "settings-item-group-item-label" > x< / div >
< input type = "number" class = "short-width short-height" data-setting = "general.popupHorizontalOffset2" >
< / div >
< div class = "settings-item-group-item" >
< div class = "settings-item-group-item-label" > y< / div >
< input type = "number" class = "short-width short-height" data-setting = "general.popupVerticalOffset2" >
< / div >
< / div >
< / div >
< / div > < / div >
< / div >
2020-12-30 16:42:10 +00:00
<!-- Window -->
2021-01-16 15:22:24 +00:00
< div class = "heading-container advanced-only" >
2020-12-22 23:18:30 +00:00
< div class = "heading-container-icon" > < span class = "icon" data-icon = "window" > < / span > < / div >
2021-01-09 21:39:30 +00:00
< div class = "heading-container-left" > < h2 id = "window" > < a href = "#!window" > Window< / a > < / h2 > < / div >
2021-08-28 18:45:25 +00:00
< div class = "heading-container-right" > < a tabindex = "0" class = "heading-link-light" id = "test-window-open-link" > Open… < / a > < / div >
2020-12-22 23:18:30 +00:00
< / div >
2021-01-16 15:22:24 +00:00
< div class = "settings-group advanced-only" >
2020-12-22 23:18:30 +00:00
< div class = "settings-item" >
< div class = "settings-item-inner" >
< div class = "settings-item-left" >
< div class = "settings-item-label" >
Use a native browser window instead of an embedded popup
2021-08-28 18:45:25 +00:00
< a tabindex = "0" class = "more-toggle more-only" data-parent-distance = "4" > (?)< / a >
2020-12-22 23:18:30 +00:00
< / div >
< / div >
< div class = "settings-item-right" >
< label class = "toggle" > < input type = "checkbox" data-setting = "general.usePopupWindow" > < span class = "toggle-body" > < span class = "toggle-track" > < / span > < span class = "toggle-knob" > < / span > < / span > < / label >
< / div >
< / div >
< div class = "settings-item-children more" hidden >
< p >
Instead of showing definitions in a popup embedded into the webpage,
a native browser window containing the popup content will be opened instead.
This window will be shared across all tabs.
< / p >
< p >
2021-08-28 18:45:25 +00:00
< a tabindex = "0" class = "more-toggle" data-parent-distance = "3" > Less… < / a >
2020-12-22 23:18:30 +00:00
< / p >
< / div >
< / div >
2021-01-16 15:22:24 +00:00
< div class = "settings-item" > < div class = "settings-item-inner settings-item-inner-wrappable" >
< div class = "settings-item-left" >
< div class = "settings-item-label" > Size< / div >
< div class = "settings-item-description" > Control the size of the window, in pixels.< / div >
< / div >
< div class = "settings-item-right" >
< div class = "settings-item-group" >
< div class = "settings-item-group-item" >
< div class = "settings-item-group-item-label" > Width< / div >
< input type = "number" class = "short-width short-height" min = "0" step = "1" data-setting = "popupWindow.width" >
< / div >
< div class = "settings-item-group-item" >
< div class = "settings-item-group-item-label" > Height< / div >
< input type = "number" class = "short-width short-height" min = "0" step = "1" data-setting = "popupWindow.height" >
< / div >
< / div >
< / div >
< / div > < / div >
< div class = "settings-item" > < div class = "settings-item-inner settings-item-inner-wrappable" >
< div class = "settings-item-left" >
< div class = "settings-item-label" > Left position< / div >
< div class = "settings-item-description" > Control the left position of the window, in pixels.< / div >
< / div >
< div class = "settings-item-right" >
< div class = "settings-item-group" >
< div class = "settings-item-group-item" id = "popup-window-left-container" hidden >
< div class = "settings-item-group-item-label" > x< / div >
< input type = "number" class = "short-width short-height" step = "1" data-setting = "popupWindow.left" >
< / div >
< div class = "settings-item-group-item" >
< div class = "settings-item-group-item-label" > Mode< / div >
< select class = "short-width short-height" data-setting = "popupWindow.useLeft"
data-transform='[
{
"step": "pre",
"type": "toBoolean"
},
{
"type": "setVisibility",
"selector": "#popup-window-left-container",
"condition": {"op": "===", "value": true}
},
{
"step": "post",
"type": "toString"
}
]'
>
< option value = "false" > Auto< / option >
< option value = "true" > Manual< / option >
< / select >
< / div >
< / div >
< / div >
< / div > < / div >
< div class = "settings-item" > < div class = "settings-item-inner settings-item-inner-wrappable" >
< div class = "settings-item-left" >
< div class = "settings-item-label" > Top position< / div >
< div class = "settings-item-description" > Control the top position of the window, in pixels.< / div >
< / div >
< div class = "settings-item-right" >
< div class = "settings-item-group" >
< div class = "settings-item-group-item" id = "popup-window-top-container" hidden >
< div class = "settings-item-group-item-label" > y< / div >
< input type = "number" class = "short-width short-height" step = "1" data-setting = "popupWindow.top" >
< / div >
< div class = "settings-item-group-item" >
< div class = "settings-item-group-item-label" > Mode< / div >
< select class = "short-width short-height" data-setting = "popupWindow.useTop"
data-transform='[
{
"step": "pre",
"type": "toBoolean"
},
{
"type": "setVisibility",
"selector": "#popup-window-top-container",
"condition": {"op": "===", "value": true}
},
{
"step": "post",
"type": "toString"
}
]'
>
< option value = "false" > Auto< / option >
< option value = "true" > Manual< / option >
< / select >
< / div >
< / div >
< / div >
< / div > < / div >
< div class = "settings-item" > < div class = "settings-item-inner settings-item-inner-wrappable" >
< div class = "settings-item-left" >
< div class = "settings-item-label" > Window style< / div >
< div class = "settings-item-description" > Change the appearance of the window.< / div >
< / div >
< div class = "settings-item-right" >
< div class = "settings-item-group" >
< div class = "settings-item-group-item" >
< div class = "settings-item-group-item-label" > Type< / div >
< select class = "short-width short-height" data-setting = "popupWindow.windowType" >
< option value = "normal" > Normal< / option >
< option value = "popup" > Popup< / option >
< / select >
< / div >
< div class = "settings-item-group-item" >
< div class = "settings-item-group-item-label" > State< / div >
< select class = "short-width short-height" data-setting = "popupWindow.windowState" >
< option value = "normal" > Normal< / option >
< option value = "maximized" > Maximized< / option >
< option value = "fullscreen" > Fullscreen< / option >
< / select >
< / div >
< / div >
< / div >
< / div > < / div >
2020-12-22 23:18:30 +00:00
< / div >
2020-12-30 16:42:10 +00:00
<!-- Audio -->
2020-12-20 21:03:07 +00:00
< div class = "heading-container" >
< div class = "heading-container-icon" > < span class = "icon" data-icon = "speaker" > < / span > < / div >
2021-01-09 21:39:30 +00:00
< div class = "heading-container-left" > < h2 id = "audio" > < a href = "#!audio" > Audio< / a > < / h2 > < / div >
2020-12-20 21:03:07 +00:00
< / div >
2020-12-07 01:37:19 +00:00
< div class = "settings-group" >
< div class = "settings-item" > < div class = "settings-item-inner" >
< div class = "settings-item-left" >
< div class = "settings-item-label" > Enable audio playback for terms< / div >
< div class = "settings-item-description" > Show a clickable speaker icon next to search results.< / div >
< / div >
< div class = "settings-item-right" >
< label class = "toggle" > < input type = "checkbox" data-setting = "audio.enabled" > < 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" > Auto-play search result audio< / div >
< div class = "settings-item-description" > The audio for the first result will be played automatically.< / div >
< / div >
< div class = "settings-item-right" >
< label class = "toggle" > < input type = "checkbox" data-setting = "audio.autoPlay" > < 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 settings-item-inner-wrappable" >
< div class = "settings-item-left" >
< div class = "settings-item-label" > Audio volume< / div >
< div class = "settings-item-description" > Adjust the volume audio is played at, in percent.< / div >
< / div >
< div class = "settings-item-right" >
< input type = "number" data-setting = "audio.volume" min = "0" max = "100" >
< / div >
< / div > < / div >
< div class = "settings-item settings-item-button" data-modal-action = "show,audio-sources" > < div class = "settings-item-inner" >
< div class = "settings-item-left" >
2020-12-22 00:21:03 +00:00
< div class = "settings-item-label" > Configure audio playback sources… < / div >
2020-12-07 01:37:19 +00:00
< / div >
< div class = "settings-item-right open-panel-button-container" >
2020-12-20 20:43:10 +00:00
< button class = "icon-button" > < span class = "icon-button-inner" > < span class = "icon" data-icon = "material-right-arrow" > < / span > < / span > < / button >
2020-12-07 01:37:19 +00:00
< / div >
< / div > < / div >
< / div >
2020-12-30 16:42:10 +00:00
<!-- Text Parsing -->
2020-12-07 01:37:19 +00:00
< div >
< div class = "heading-container" >
2020-12-20 21:03:07 +00:00
< div class = "heading-container-icon" > < span class = "icon" data-icon = "text-parsing" > < / span > < / div >
2021-01-09 21:39:30 +00:00
< div class = "heading-container-left" > < h2 id = "text-parsing" > < a href = "#!text-parsing" > Text Parsing< / a > < / h2 > < / div >
2021-08-28 18:45:25 +00:00
< div class = "heading-container-right" > < a tabindex = "0" class = "more-toggle more-only heading-link-light" data-parent-distance = "3" > Info… < / a > < / div >
2020-12-07 01:37:19 +00:00
< / div >
< div class = "heading-description more" hidden >
< p >
2021-06-30 02:34:10 +00:00
Yomichan is able to scan the sentence surrounding a term and parse individual words
2021-11-22 03:09:58 +00:00
of the query on the < a href = "/search.html" target = "_blank" rel = "noopener" > search page< / a > .
This information can also be added to Anki cards to provide additional context.
2020-12-07 01:37:19 +00:00
< / p >
< p >
2021-08-28 18:45:25 +00:00
< a tabindex = "0" class = "more-toggle" data-parent-distance = "3" > Less… < / a >
2020-12-07 01:37:19 +00:00
< / p >
< / div >
< / div >
< div class = "settings-group" >
2021-11-22 03:09:58 +00:00
< div class = "settings-item" >
< div class = "settings-item-inner" >
< div class = "settings-item-left" >
< div class = "settings-item-label" > Parse sentences using Yomichan's internal parser< / div >
< div class = "settings-item-description" >
Sentence words are parsed using Yomichan's dictionaries.
< a tabindex = "0" class = "more-toggle more-only" data-parent-distance = "4" > More… < / a >
< / div >
< / div >
< div class = "settings-item-right" >
< label class = "toggle" > < input type = "checkbox" data-setting = "parsing.enableScanningParser" > < span class = "toggle-body" > < span class = "toggle-track" > < / span > < span class = "toggle-knob" > < / span > < / span > < / label >
< / div >
2020-12-07 01:37:19 +00:00
< / div >
2021-11-22 03:09:58 +00:00
< div class = "settings-item-children more" hidden >
< p >
Yomichan's internal parser is a simple algorithm which can parse sentences using the installed dictionaries.
It works by repeatedly detecting the longest term at the start of the sentence and advancing until no text remains.
This provides decent results for the general case, but since grammatical structure is not taken into account,
it can sometimes yield incorrect segmentation.
< / p >
< p class = "margin-above" >
< a tabindex = "0" class = "more-toggle" data-parent-distance = "3" > Less… < / a >
< / p >
2020-12-07 01:37:19 +00:00
< / div >
2021-11-22 03:09:58 +00:00
< / div >
2020-12-07 01:37:19 +00:00
< div class = "settings-item advanced-only" >
< div class = "settings-item-inner" >
< div class = "settings-item-left" >
2021-02-09 00:37:36 +00:00
< div class = "settings-item-invalid-indicator" > < / div >
2021-11-22 03:09:58 +00:00
< div class = "settings-item-label" >
Parse sentences using < a href = "https://en.wikipedia.org/wiki/MeCab" target = "_blank" rel = "noopener noreferrer" > MeCab< / a >
< / div >
2020-12-07 01:37:19 +00:00
< div class = "settings-item-description" >
2021-11-22 03:09:58 +00:00
Sentence words are parsed using a third-party program.
2021-08-28 18:45:25 +00:00
< a tabindex = "0" class = "more-toggle more-only" data-parent-distance = "4" > More… < / a >
2020-12-07 01:37:19 +00:00
< / div >
< / div >
< div class = "settings-item-right" >
2021-02-08 22:52:41 +00:00
< label class = "toggle" > < input type = "checkbox" class = "permissions-toggle" data-permissions-setting = "parsing.enableMecabParser" data-required-permissions = "nativeMessaging" > < span class = "toggle-body" > < span class = "toggle-track" > < / span > < span class = "toggle-knob" > < / span > < / span > < / label >
2020-12-07 01:37:19 +00:00
< / div >
< / div >
< div class = "settings-item-children more" hidden >
< p >
MeCab is a third-party program which uses its own dictionaries and parsing algorithm to decompose sentences into individual words.
2021-11-22 03:09:58 +00:00
MeCab may provide more accurate parsing results than Yomichan's internal parser.
< / p >
< p >
2020-12-07 01:37:19 +00:00
In order for Yomichan to use it, both MeCab and a native messaging component must be installed.
A setup guide can be found < a href = "https://github.com/siikamiika/yomichan-mecab-installer/blob/master/README.md" target = "_blank" rel = "noopener noreferrer" > here< / a > .
< / p >
2021-02-09 00:40:49 +00:00
< div class = "margin-above flex-row-nowrap" >
< button id = "test-mecab-button" > Test< / button >
< div id = "test-mecab-results" class = "flex-margin-left" hidden > < / div >
< / div >
< p class = "margin-above" >
2021-08-28 18:45:25 +00:00
< a tabindex = "0" class = "more-toggle" data-parent-distance = "3" > Less… < / a >
2020-12-07 01:37:19 +00:00
< / p >
< / div >
< / div >
< div class = "settings-item" > < div class = "settings-item-inner" >
< div class = "settings-item-left" >
< div class = "settings-item-label" > Show space between parsed words< / div >
< / div >
< div class = "settings-item-right" >
< label class = "toggle" > < input type = "checkbox" data-setting = "parsing.termSpacing" > < 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 settings-item-inner-wrappable" >
< div class = "settings-item-left" >
< div class = "settings-item-label" > Reading mode< / div >
< div class = "settings-item-description" > Change what type of furigana is displayed for parsed text.< / div >
< / div >
< div class = "settings-item-right" >
2021-02-08 22:52:35 +00:00
< select data-setting = "parsing.readingMode" lang = "ja" >
2021-01-24 03:51:15 +00:00
< option value = "none" > None< / option >
2020-12-07 01:37:19 +00:00
< option value = "hiragana" > ひらがな< / option >
< option value = "katakana" > カタカナ< / option >
< option value = "romaji" > Romaji< / option >
2021-07-09 20:05:57 +00:00
< option value = "dictionary-reading" > Dictionary reading< / option >
2020-12-07 01:37:19 +00:00
< / select >
< / div >
< / div > < / div >
2021-06-30 02:34:10 +00:00
< div class = "settings-item advanced-only" > < div class = "settings-item-inner settings-item-inner-wrappable" >
2021-01-10 19:43:06 +00:00
< div class = "settings-item-left" >
< div class = "settings-item-label" > Sentence scanning extent< / div >
< div class = "settings-item-description" > Adjust how many characters are bidirectionally scanned to form a sentence.< / div >
2021-01-10 02:25:04 +00:00
< / div >
2021-01-10 19:43:06 +00:00
< div class = "settings-item-right" >
< input type = "number" data-setting = "sentenceParsing.scanExtent" min = "0" step = "1" >
2021-01-10 02:25:04 +00:00
< / div >
2021-01-10 19:43:06 +00:00
< / div > < / div >
2021-06-30 02:34:10 +00:00
< div class = "settings-item advanced-only" > < div class = "settings-item-inner settings-item-inner-wrappable" >
2021-01-10 19:43:06 +00:00
< div class = "settings-item-left" >
2021-05-16 19:24:38 +00:00
< div class = "settings-item-label" > Sentence termination characters< / div >
2021-01-10 19:43:06 +00:00
< / div >
< div class = "settings-item-right" >
2021-05-16 19:24:38 +00:00
< div class = "horizontal-flex horizontal-flex-nowrap" >
< button class = "low-emphasis" data-modal-action = "show,sentence-termination-characters" id = "configure-sentence-termination-characters-button" hidden > Configure… < / button >
< select data-setting = "sentenceParsing.terminationCharacterMode"
data-transform='{
"type": "setVisibility",
"selector": "#configure-sentence-termination-characters-button",
"condition": {
"op": "||",
"value": [
{"op": "===", "value": "custom"},
{"op": "===", "value": "custom-no-newlines"}
]
}
}'
>
< option value = "custom" > Custom< / option >
< option value = "custom-no-newlines" > Custom, no newlines< / option >
< option value = "newlines" > Newlines only< / option >
< option value = "none" > None< / option >
< / select >
< / div >
2021-01-10 19:43:06 +00:00
< / div >
< / div > < / div >
2021-01-10 02:25:04 +00:00
< / div >
2020-12-30 16:42:10 +00:00
<!-- Translation -->
2021-01-27 01:00:34 +00:00
< div class = "advanced-only" >
2020-12-07 01:37:19 +00:00
< div class = "heading-container" >
2020-12-20 21:03:07 +00:00
< div class = "heading-container-icon" > < span class = "icon" data-icon = "translation" > < / span > < / div >
2021-01-09 21:39:30 +00:00
< div class = "heading-container-left" > < h2 id = "translation" > < a href = "#!translation" > Translation< / a > < / h2 > < / div >
2021-08-28 18:45:25 +00:00
< div class = "heading-container-right" > < a tabindex = "0" class = "more-toggle more-only heading-link-light" data-parent-distance = "3" > Info… < / a > < / div >
2020-12-07 01:37:19 +00:00
< / div >
< div class = "heading-description more" hidden >
< p >
The following options are used during the translation process to create alternate versions of the input text to search for.
This can be helpful when the input text doesn't exactly match the term or expression found in the database.
< / p >
< p >
The conversion options below are listed in the order that the conversions are applied to the input text.
Most of the conversions have three possible values:
< / p >
< ul >
< li >
< strong > Disabled< / strong > -
This conversion will never be applied to the input text.
< / li >
< li >
< strong > Enabled< / strong > -
This conversion will always be applied to the input text.
< / li >
< li >
< strong > Use both variants< / strong > -
The translator will check the database for two variations: the raw input text and the converted input text.
When multiple options use variants, the translator will search for combinations of the converted text.
< / li >
< / ul >
< p >
2021-08-28 18:45:25 +00:00
< a tabindex = "0" class = "more-toggle" data-parent-distance = "3" > Less… < / a >
2020-12-07 01:37:19 +00:00
< / p >
< / div >
< / div >
2021-01-27 01:00:34 +00:00
< div class = "settings-group advanced-only" >
< div class = "settings-item settings-item-button" data-modal-action = "show,translation-text-replacement-patterns" > < div class = "settings-item-inner" >
2021-01-03 17:12:55 +00:00
< div class = "settings-item-left" >
< div class = "settings-item-label" > Configure custom text replacement patterns… < / div >
< / div >
< div class = "settings-item-right open-panel-button-container" >
< button class = "icon-button" > < span class = "icon-button-inner" > < span class = "icon" data-icon = "material-right-arrow" > < / span > < / span > < / button >
< / div >
< / div > < / div >
2020-12-07 01:37:19 +00:00
< div class = "settings-item" > < div class = "settings-item-inner settings-item-inner-wrappable" >
< div class = "settings-item-left" >
< div class = "settings-item-label" > Convert half width characters to full width< / div >
2021-02-08 22:52:35 +00:00
< div class = "settings-item-description" lang = "ja" > ヨミチャン  →   ヨミチャン< / div >
2020-12-07 01:37:19 +00:00
< / div >
< div class = "settings-item-right" >
< select data-setting = "translation.convertHalfWidthCharacters" >
< option value = "false" > Disabled< / option >
< option value = "true" > Enabled< / option >
< option value = "variant" > Use both variants< / option >
< / select >
< / div >
< / div > < / div >
< div class = "settings-item" > < div class = "settings-item-inner settings-item-inner-wrappable" >
< div class = "settings-item-left" >
< div class = "settings-item-label" > Convert numeric characters to full width< / div >
2021-02-08 22:52:35 +00:00
< div class = "settings-item-description" lang = "ja" > 1234  →   1 2 3 4 < / div >
2020-12-07 01:37:19 +00:00
< / div >
< div class = "settings-item-right" >
< select data-setting = "translation.convertNumericCharacters" >
< option value = "false" > Disabled< / option >
< option value = "true" > Enabled< / option >
< option value = "variant" > Use both variants< / option >
< / select >
< / div >
< / div > < / div >
< div class = "settings-item" > < div class = "settings-item-inner settings-item-inner-wrappable" >
< div class = "settings-item-left" >
< div class = "settings-item-label" > Convert alphabetic characters to hiragana< / div >
2021-02-08 22:52:35 +00:00
< div class = "settings-item-description" lang = "ja" > yomichan  →   よみちゃん< / div >
2020-12-07 01:37:19 +00:00
< / div >
< div class = "settings-item-right" >
< select data-setting = "translation.convertAlphabeticCharacters" >
< option value = "false" > Disabled< / option >
< option value = "true" > Enabled< / option >
< option value = "variant" > Use both variants< / option >
< / select >
< / div >
< / div > < / div >
< div class = "settings-item" > < div class = "settings-item-inner settings-item-inner-wrappable" >
< div class = "settings-item-left" >
< div class = "settings-item-label" > Convert hiragana to katakana< / div >
2021-02-08 22:52:35 +00:00
< div class = "settings-item-description" lang = "ja" > よみちゃん  →   ヨミチャン< / div >
2020-12-07 01:37:19 +00:00
< / div >
< div class = "settings-item-right" >
< select data-setting = "translation.convertHiraganaToKatakana" >
< option value = "false" > Disabled< / option >
< option value = "true" > Enabled< / option >
< option value = "variant" > Use both variants< / option >
< / select >
< / div >
< / div > < / div >
< div class = "settings-item" > < div class = "settings-item-inner settings-item-inner-wrappable" >
< div class = "settings-item-left" >
< div class = "settings-item-label" > Convert katakana to hiragana< / div >
2021-02-08 22:52:35 +00:00
< div class = "settings-item-description" lang = "ja" > ヨミチャン  →   よみちゃん< / div >
2020-12-07 01:37:19 +00:00
< / div >
< div class = "settings-item-right" >
< select data-setting = "translation.convertKatakanaToHiragana" >
< option value = "false" > Disabled< / option >
< option value = "true" > Enabled< / option >
< option value = "variant" > Use both variants< / option >
< / select >
< / div >
< / div > < / div >
< div class = "settings-item" > < div class = "settings-item-inner settings-item-inner-wrappable" >
< div class = "settings-item-left" >
< div class = "settings-item-label" > Collapse emphatic character sequences< / div >
2021-02-08 22:52:35 +00:00
< div class = "settings-item-description" lang = "ja" > すっっごーーい  →   すっごーい / すごい< / div >
2020-12-07 01:37:19 +00:00
< / div >
< div class = "settings-item-right" >
< select data-setting = "translation.collapseEmphaticSequences" >
< option value = "false" > Disabled< / option >
< option value = "true" > Collapse into single character< / option >
< option value = "full" > Remove all characters< / option >
< / select >
< / div >
< / div > < / div >
< / div >
2020-12-30 16:42:10 +00:00
<!-- Anki -->
2020-12-07 01:37:19 +00:00
< div >
< div class = "heading-container" >
2020-12-20 21:03:07 +00:00
< div class = "heading-container-icon" > < span class = "icon" data-icon = "note-card" > < / span > < / div >
2021-01-09 21:39:30 +00:00
< div class = "heading-container-left" > < h2 id = "anki" > < a href = "#!anki" > Anki< / a > < / h2 > < / div >
2021-08-28 18:45:25 +00:00
< div class = "heading-container-right" > < a tabindex = "0" class = "more-toggle more-only heading-link-light" data-parent-distance = "3" > Info… < / a > < / div >
2020-12-07 01:37:19 +00:00
< / div >
< div class = "heading-description more" hidden >
< p >
Yomichan supports automatic flashcard creation for < a href = "https://apps.ankiweb.net/" target = "_blank" rel = "noopener noreferrer" > Anki< / a > ,
a free application designed to assist in remembering information.
This feature requires installation of the < a href = "https://foosoft.net/projects/anki-connect/" target = "_blank" rel = "noopener noreferrer" > AnkiConnect< / a > plugin.
< / p >
< p >
2021-08-28 18:45:25 +00:00
< a tabindex = "0" class = "more-toggle" data-parent-distance = "3" > Less… < / a >
2020-12-07 01:37:19 +00:00
< / p >
< / div >
< / div >
< div class = "settings-group" >
2020-12-30 17:39:33 +00:00
< div class = "settings-item" >
< div class = "settings-item-inner" >
< div class = "settings-item-left" >
< div class = "settings-item-label" > Enable Anki integration< / div >
< div class = "settings-item-description" >
< span > Connection status:< / span >
2021-08-28 18:45:25 +00:00
< span id = "anki-error-message" > … < / span > < a tabindex = "0" id = "anki-error-message-details-toggle" hidden > Details… < / a >
2020-12-30 17:39:33 +00:00
< / div >
< / div >
< div class = "settings-item-right" >
< label class = "toggle" > < input type = "checkbox" data-setting = "anki.enable" > < span class = "toggle-body" > < span class = "toggle-track" > < / span > < span class = "toggle-knob" > < / span > < / span > < / label >
< / div >
2020-12-07 01:37:19 +00:00
< / div >
2020-12-30 17:39:33 +00:00
< div class = "settings-item-children" id = "anki-error-message-details-container" hidden >
2022-02-20 14:35:54 +00:00
< p >
< a tabindex = "0" id = "anki-error-log" > Log error to console< / a >
< / p >
2020-12-30 17:39:33 +00:00
< p class = "danger-text" id = "anki-error-invalid-response-info" hidden >
Attempting to connect to Anki can sometimes return an error message which includes "Invalid response",
which may indicate that the value of the < em > AnkiConnect server address< / em > option is incorrect.
Resetting it to the default value may fix issues that are occurring.
< / p >
< div class = "danger-text" id = "anki-error-message-details" > < / div >
2020-12-07 01:37:19 +00:00
< / div >
2021-05-14 23:26:19 +00:00
< div class = "settings-item-children" data-show-for-os = "mac" >
< p class = "warning-text" >
< strong > Notice for macOS users:< / strong >
If Yomichan has issues connecting to AnkiConnect, it may be necessary to adjust adjust some system settings.
See < a href = "https://foosoft.net/projects/anki-connect/#notes-for-mac-os-x-users" target = "_blank" rel = "noopener noreferrer" > this link< / a > for details.
< / p >
< / div >
2020-12-30 17:39:33 +00:00
< / div >
2020-12-07 01:37:19 +00:00
< div class = "settings-item" >
< div class = "settings-item-inner settings-item-inner-wrappable" >
< div class = "settings-item-left" >
< div class = "settings-item-label" > AnkiConnect server address< / div >
< div class = "settings-item-description" >
Change the URL of the AnkiConnect server.
2021-08-28 18:45:25 +00:00
< a tabindex = "0" class = "more-toggle more-only" data-parent-distance = "4" > More… < / a >
2020-12-07 01:37:19 +00:00
< / div >
< / div >
< div class = "settings-item-right" >
< input type = "text" placeholder = "http://127.0.0.1:8765" spellcheck = "false" autocomplete = "off" data-setting = "anki.server" >
< / div >
< / div >
< div class = "settings-item-children more" hidden >
< p >
The default address for a server on the same device is < a href = "http://127.0.0.1:8765" target = "_blank" rel = "noopener noreferrer" > http://127.0.0.1:8765< / a > .
If Anki is running and AnkiConnect is installed, clicking this URL should open a page showing the current version of AnkiConnect.
< / p >
< p >
2021-08-28 18:45:25 +00:00
< a tabindex = "0" class = "more-toggle" data-parent-distance = "3" > Less… < / a >
2020-12-07 01:37:19 +00:00
< / p >
< / div >
< / div >
< div class = "settings-item" > < div class = "settings-item-inner settings-item-inner-wrappable" >
< div class = "settings-item-left" >
< div class = "settings-item-label" > Card tags< / div >
< div class = "settings-item-description" > List of space or comma separated tags to add to the card.< / div >
< / div >
< div class = "settings-item-right" >
2020-12-31 18:10:23 +00:00
< input type = "text" spellcheck = "false" autocomplete = "off" data-setting = "anki.tags"
data-transform='[
{"type": "splitTags", "step": "pre"},
{"type": "joinTags", "step": "post"}
]'
>
2020-12-07 01:37:19 +00:00
< / div >
< / div > < / div >
2022-05-30 16:03:24 +00:00
< div class = "settings-item advanced-only" > < div class = "settings-item-inner settings-item-inner-wrappable" >
< div class = "settings-item-left" >
< div class = "settings-item-label" > API key< / div >
< div class = "settings-item-description" > Pass a secret value to AnkiConnect API calls.< / div >
< / div >
< div class = "settings-item-right" >
< input type = "password" placeholder = "Disabled" spellcheck = "false" autocomplete = "off" data-setting = "anki.apiKey" id = "anki-api-key-input" >
< / div >
< / div > < / div >
2020-12-07 01:37:19 +00:00
< div class = "settings-item advanced-only" >
2021-01-15 03:42:11 +00:00
< div class = "settings-item-inner" >
2020-12-07 01:37:19 +00:00
< div class = "settings-item-left" >
< div class = "settings-item-label" > Check for card duplicates< / div >
< div class = "settings-item-description" > When a card is detected as a duplicate, the add buttons will be disabled.< / div >
< / div >
< div class = "settings-item-right" >
2020-12-31 18:10:23 +00:00
< label class = "toggle" > < input type = "checkbox" data-setting = "anki.checkForDuplicates"
data-transform='{
"type": "setVisibility",
"selector": "#anki-card-duplicate-options",
"condition": {"op": "===", "value": true}
}'
>< span class = "toggle-body" > < span class = "toggle-track" > < / span > < span class = "toggle-knob" > < / span > < / span > < / label >
2020-12-07 01:37:19 +00:00
< / div >
< / div >
< div class = "settings-item-children settings-item-children-group" id = "anki-card-duplicate-options" hidden >
2021-07-14 00:29:53 +00:00
< div class = "settings-item" >
< div class = "settings-item-inner" >
< div class = "settings-item-left" >
< div class = "settings-item-label" >
Check for duplicates across all models
2021-08-28 18:45:25 +00:00
< a tabindex = "0" class = "more-toggle more-only" data-parent-distance = "4" > (?)< / a >
2021-07-14 00:29:53 +00:00
< / div >
< / div >
< div class = "settings-item-right" >
< label class = "toggle" > < input type = "checkbox" data-setting = "anki.duplicateScopeCheckAllModels" > < span class = "toggle-body" > < span class = "toggle-track" > < / span > < span class = "toggle-knob" > < / span > < / span > < / label >
< / div >
< / div >
< div class = "settings-item-children more" hidden >
< p >
By default, duplicate checks are only performed for notes created with the same model.
Enabling this option will check for duplicates across < em > all< / em > model types.
< / p >
< p >
2021-08-28 18:45:25 +00:00
< a tabindex = "0" class = "more-toggle" data-parent-distance = "3" > Less… < / a >
2021-07-14 00:29:53 +00:00
< / p >
< / div >
< / div >
2020-12-07 01:37:19 +00:00
< div class = "settings-item" >
< div class = "settings-item-inner settings-item-inner-wrappable" >
< div class = "settings-item-left" >
< div class = "settings-item-label" >
Duplicate card scope
2021-08-28 18:45:25 +00:00
< a tabindex = "0" class = "more-toggle more-only" data-parent-distance = "4" > (?)< / a >
2020-12-07 01:37:19 +00:00
< / div >
< / div >
< div class = "settings-item-right" >
< select data-setting = "anki.duplicateScope" >
< option value = "collection" > Collection< / option >
< option value = "deck" > Deck< / option >
< option value = "deck-root" > Deck root< / option >
< / select >
< / div >
< / div >
< div class = "settings-item-children more" hidden >
< p >
A card is considered a duplicate if the value of the first field matches that of any other card.
By default, this check will include cards across all decks in a collection, but this constraint can be relaxed
by using either the < em > Deck< / em > or < em > Deck root< / em > option.
< / p >
< p >
The < em > Deck< / em > option will only check for duplicates in the target deck.
The < em > Deck root< / em > option will additionally check for duplicates in all child decks of the root deck.
This allows adding cards that are unique for decks including a subdeck structure.
For decks which don't have any parent-child hierarchy, both options function the same.
< / p >
< p >
2021-08-28 18:45:25 +00:00
< a tabindex = "0" class = "more-toggle" data-parent-distance = "3" > Less… < / a >
2020-12-07 01:37:19 +00:00
< / p >
< / div >
< / div >
< / div >
< / div >
< div class = "settings-item advanced-only" > < div class = "settings-item-inner settings-item-inner-wrappable" >
< div class = "settings-item-left" >
< div class = "settings-item-label" > Screenshot format< / div >
< div class = "settings-item-description" > Adjust the format and quality of screenshots created for cards.< / div >
< / div >
< div class = "settings-item-right" >
< div class = "settings-item-group" >
< div class = "settings-item-group-item" id = "anki-screenshot-quality" hidden >
< div class = "settings-item-group-item-label" > Quality (%)< / div >
< input type = "number" class = "short-width short-height" data-setting = "anki.screenshot.quality" min = "0" max = "100" step = "1" >
< / div >
< div class = "settings-item-group-item" >
< div class = "settings-item-group-item-label" > Format< / div >
< select class = "short-width short-height" data-setting = "anki.screenshot.format"
2020-12-31 18:10:23 +00:00
data-transform='{
"type": "setVisibility",
"selector": "#anki-screenshot-quality",
"condition": {"op": "===", "value": "jpeg"}
}'
2020-12-07 01:37:19 +00:00
>
< option value = "png" > PNG< / option >
< option value = "jpeg" > JPEG< / option >
< / select >
< / div >
< / div >
< / div >
< / div > < / div >
2022-08-20 15:17:24 +00:00
< div class = "settings-item advanced-only" >
< div class = "settings-item-inner settings-item-inner-wrappable" >
< div class = "settings-item-left" >
< div class = "settings-item-label" > Idle download timeout < span class = "light" > (in milliseconds)< / span > < / div >
< div class = "settings-item-description" >
The maximum time before an idle download will be cancelled; 0 = no limit.
< a tabindex = "0" class = "more-toggle more-only" data-parent-distance = "4" > More… < / a >
< / div >
< / div >
< div class = "settings-item-right" >
< input type = "number" data-setting = "anki.downloadTimeout" min = "0" >
< / div >
< / div >
< div class = "settings-item-children more" hidden >
< p >
Audio files can be downloaded from remote servers when creating Anki cards,
and sometimes these downloads can stall due to server or internet connectivity issues.
When this setting has a non-zero value, if a download has stalled for longer than the time specified,
the download will be cancelled.
< / p >
< p class = "margin-above" >
< a tabindex = "0" class = "more-toggle" data-parent-distance = "3" > Less… < / a >
< / p >
< / div >
< / div >
2021-01-15 03:42:11 +00:00
< div class = "settings-item advanced-only" > < div class = "settings-item-inner" >
< div class = "settings-item-left" >
< div class = "settings-item-label" > Suspend new cards< / div >
< div class = "settings-item-description" > New cards will be suspended when a note is added.< / div >
< / div >
< div class = "settings-item-right" >
< label class = "toggle" > < input type = "checkbox" data-setting = "anki.suspendNewCards" > < span class = "toggle-body" > < span class = "toggle-track" > < / span > < span class = "toggle-knob" > < / span > < / span > < / label >
< / div >
< / div > < / div >
2022-05-30 01:24:41 +00:00
< div class = "settings-item advanced-only" >
< div class = "settings-item-inner" >
< div class = "settings-item-left" >
< div class = "settings-item-label" > Note viewer window< / div >
< div class = "settings-item-description" >
Clicking the < em > View added note< / em > button shows this window.
< a tabindex = "0" class = "more-toggle more-only" data-parent-distance = "4" > More… < / a >
< / div >
< / div >
< div class = "settings-item-right" >
< select data-setting = "anki.noteGuiMode" >
< option value = "browse" > Card browser< / option >
< option value = "edit" > Note editor< / option >
< / select >
< / div >
< / div >
< div class = "settings-item-children more" hidden >
< p >
AnkiConnect releases after around 2022-05-29 support a new note editor window
which can be shown when clicking the < em > View added note< / em > button.
This can be tested using the buttons below.
If an error occurs, Anki and/or AnkiConnect may need to be updated.
< / p >
< div class = "test-anki-note-viewer-container" >
< button class = "test-anki-note-viewer-button" data-mode = "browse" > Test < em > Card browser< / em > < / button >
< button class = "test-anki-note-viewer-button" data-mode = "edit" > Test < em > Note editor< / em > < / button >
< div class = "test-anki-note-viewer-results" id = "test-anki-note-viewer-results" hidden > < / div >
< / div >
< p class = "margin-above" >
< a tabindex = "0" class = "more-toggle" data-parent-distance = "3" > Less… < / a >
< / p >
< / div >
< / div >
2021-04-30 21:57:53 +00:00
< div class = "settings-item advanced-only" >
< div class = "settings-item-inner" >
< div class = "settings-item-left" >
< div class = "settings-item-label" >
Show card tags
2021-08-28 18:45:25 +00:00
< a tabindex = "0" class = "more-toggle more-only" data-parent-distance = "4" > (?)< / a >
2021-04-30 21:57:53 +00:00
< / div >
< / div >
< div class = "settings-item-right" >
< select data-setting = "anki.displayTags" >
< option value = "never" > Never< / option >
< option value = "always" > Always< / option >
2022-05-21 21:24:58 +00:00
< option value = "non-standard" > Non-standard< / option >
2021-04-30 21:57:53 +00:00
< / select >
< / div >
< / div >
< div class = "settings-item-children more" hidden >
< p >
When coming across a word that is already in an Anki deck, a button will appear that shows
2022-05-21 21:24:58 +00:00
the tags the card has. If set to < em > Non-standard< / em > , all tags that are included in the
2021-04-30 21:57:53 +00:00
< em > Card tags< / em > option will be filtered out from the list. If no tags remain after filtering,
then the button will not be shown.
< / p >
< p >
2021-08-28 18:45:25 +00:00
< a tabindex = "0" class = "more-toggle" data-parent-distance = "3" > Less… < / a >
2021-04-30 21:57:53 +00:00
< / p >
< / div >
< / div >
2020-12-07 01:37:19 +00:00
< div class = "settings-item settings-item-button" data-modal-action = "show,anki-cards" > < div class = "settings-item-inner" >
< div class = "settings-item-left" >
2020-12-22 00:21:03 +00:00
< div class = "settings-item-label" > Configure Anki card format… < / div >
2020-12-07 01:37:19 +00:00
< / div >
< div class = "settings-item-right open-panel-button-container" >
2020-12-20 20:43:10 +00:00
< button class = "icon-button" > < span class = "icon-button-inner" > < span class = "icon" data-icon = "material-right-arrow" > < / span > < / span > < / button >
2020-12-07 01:37:19 +00:00
< / div >
< / div > < / div >
< div class = "settings-item settings-item-button advanced-only" data-modal-action = "show,anki-card-templates" > < div class = "settings-item-inner" >
< div class = "settings-item-left" >
2020-12-22 00:21:03 +00:00
< div class = "settings-item-label" > Configure Anki card templates… < / div >
2020-12-07 01:37:19 +00:00
< / div >
< div class = "settings-item-right open-panel-button-container" >
2020-12-20 20:43:10 +00:00
< button class = "icon-button" > < span class = "icon-button-inner" > < span class = "icon" data-icon = "material-right-arrow" > < / span > < / span > < / button >
2020-12-07 01:37:19 +00:00
< / div >
< / div > < / div >
< / div >
2021-01-27 00:58:58 +00:00
<!-- Clipboard -->
< div >
< div class = "heading-container" >
< div class = "heading-container-icon" > < span class = "icon" data-icon = "clipboard" > < / span > < / div >
< div class = "heading-container-left" > < h2 id = "clipboard" > < a href = "#!clipboard" > Clipboard< / a > < / h2 > < / div >
2021-08-28 18:45:25 +00:00
< div class = "heading-container-right" > < a tabindex = "0" class = "more-toggle more-only heading-link-light" data-parent-distance = "3" > Info… < / a > < / div >
2021-01-27 00:58:58 +00:00
< / div >
< div class = "heading-description more" hidden >
< p >
Yomichan can watch the system copy clipboard for Japanese text and automatically search the
text on the search page.
This can be useful for using Yomichan to scan text from external applications.
< / p >
< p >
This feature requires Yomichan to have clipboard reading permissions, and when this option is enabled,
the clipboard will be frequently checked for new text.
< / p >
< p >
2021-08-28 18:45:25 +00:00
< a tabindex = "0" class = "more-toggle" data-parent-distance = "3" > Less… < / a >
2021-01-27 00:58:58 +00:00
< / p >
< / div >
< / div >
< div class = "settings-group" >
< div class = "settings-item" > < div class = "settings-item-inner" >
< div class = "settings-item-left" >
2021-01-31 16:55:11 +00:00
< div class = "settings-item-invalid-indicator" > < / div >
2021-01-27 00:58:58 +00:00
< div class = "settings-item-label" > Enable background clipboard text monitoring< / div >
< div class = "settings-item-description" > Open the search page in a new window when the clipboard contains Japanese text.< / div >
< / div >
< div class = "settings-item-right" >
2021-02-05 03:17:42 +00:00
< label class = "toggle" > < input type = "checkbox" class = "permissions-toggle" data-permissions-setting = "clipboard.enableBackgroundMonitor" data-required-permissions = "clipboardRead" > < span class = "toggle-body" > < span class = "toggle-track" > < / span > < span class = "toggle-knob" > < / span > < / span > < / label >
2021-01-27 00:58:58 +00:00
< / div >
< / div > < / div >
< div class = "settings-item" > < div class = "settings-item-inner" >
< div class = "settings-item-left" >
2021-01-31 16:55:11 +00:00
< div class = "settings-item-invalid-indicator" > < / div >
2021-01-27 00:58:58 +00:00
< div class = "settings-item-label" > Enable search page clipboard text monitoring< / div >
< div class = "settings-item-description" > The query on the search page will be automatically updated with text in the clipboard.< / div >
< / div >
< div class = "settings-item-right" >
2021-02-05 03:17:42 +00:00
< label class = "toggle" > < input type = "checkbox" class = "permissions-toggle" data-permissions-setting = "clipboard.enableSearchPageMonitor" data-required-permissions = "clipboardRead" > < span class = "toggle-body" > < span class = "toggle-track" > < / span > < span class = "toggle-knob" > < / span > < / span > < / label >
2021-01-27 00:58:58 +00:00
< / div >
< / div > < / div >
< div class = "settings-item" > < div class = "settings-item-inner settings-item-inner-wrappable" >
< div class = "settings-item-left" >
< div class = "settings-item-label" > Maximum clipboard text search length< / div >
< div class = "settings-item-description" > Limit the number of characters used when searching clipboard text.< / div >
< / div >
< div class = "settings-item-right" >
< input type = "number" min = "0" step = "1" data-setting = "clipboard.maximumSearchLength" >
< / div >
< / div > < / div >
< div class = "settings-item" > < div class = "settings-item-inner settings-item-inner-wrappable" >
< div class = "settings-item-left" >
< div class = "settings-item-label" > Clipboard text search mode< / div >
< div class = "settings-item-description" > Change how the search page reacts to new text in the clipboard.< / div >
< / div >
< div class = "settings-item-right" >
< select data-setting = "clipboard.autoSearchContent"
data-transform='[
{
"step": "pre",
"type": "toBoolean"
},
{
"step": "post",
"type": "toString"
}
]'
>
< option value = "true" > Search for definitions< / option >
< option value = "false" > Update query only< / option >
< / select >
< / div >
< / div > < / div >
< / div >
2020-12-30 16:42:10 +00:00
<!-- Shortcuts -->
2020-12-20 21:03:07 +00:00
< div class = "heading-container" >
< div class = "heading-container-icon" > < span class = "icon" data-icon = "keyboard" > < / span > < / div >
2021-01-09 21:39:30 +00:00
< div class = "heading-container-left" > < h2 id = "shortcuts" > < a href = "#!shortcuts" > Shortcuts< / a > < / h2 > < / div >
2020-12-20 21:03:07 +00:00
< / div >
2020-12-07 01:37:19 +00:00
< div class = "settings-group" >
< div class = "settings-item" > < div class = "settings-item-inner" >
< div class = "settings-item-left" >
< div class = "settings-item-label" >
< p >
2021-01-28 00:34:14 +00:00
Yomichan has two categories of keyboard shortcuts:
2020-12-07 01:37:19 +00:00
< / p >
2021-01-28 00:34:14 +00:00
< ul >
< li >
< strong > Standard< / strong > keyboard shortcuts are controlled by the extension, and can be added, removed,
and configured to work on webpages that Yomichan functions on.
< / li >
< li >
< strong > Native< / strong > keyboard shortcuts are controlled by the web browser, and function globally
within the web browser< span data-show-for-browser = "chrome edge" > or system-wide< / span > .
< / li >
2020-12-07 01:37:19 +00:00
< / ul >
< / div >
< / div >
< / div > < / div >
2021-01-15 01:56:18 +00:00
< div class = "settings-item settings-item-button" data-modal-action = "show,keyboard-shortcuts" > < div class = "settings-item-inner" >
< div class = "settings-item-left" >
2021-01-28 00:34:14 +00:00
< div class = "settings-item-label" > Configure standard keyboard shortcuts… < / div >
< / div >
< div class = "settings-item-right open-panel-button-container" >
< button class = "icon-button" > < span class = "icon-button-inner" > < span class = "icon" data-icon = "material-right-arrow" > < / span > < / span > < / button >
< / div >
< / div > < / div >
< div class = "settings-item settings-item-button" data-modal-action = "show,extension-keyboard-shortcuts" > < div class = "settings-item-inner" >
< div class = "settings-item-left" >
< div class = "settings-item-label" > Configure native keyboard shortcuts… < / div >
2021-01-15 01:56:18 +00:00
< / div >
< div class = "settings-item-right open-panel-button-container" >
< button class = "icon-button" > < span class = "icon-button-inner" > < span class = "icon" data-icon = "material-right-arrow" > < / span > < / span > < / button >
< / div >
< / div > < / div >
2020-12-07 01:37:19 +00:00
< / div >
2020-12-30 16:42:10 +00:00
<!-- Backup -->
2020-12-20 21:03:07 +00:00
< div class = "heading-container" >
< div class = "heading-container-icon" > < span class = "icon" data-icon = "backup" > < / span > < / div >
2021-01-09 21:39:30 +00:00
< div class = "heading-container-left" > < h2 id = "backup" > < a href = "#!backup" > Backup< / a > < / h2 > < / div >
2020-12-20 21:03:07 +00:00
< / div >
2020-12-07 01:37:19 +00:00
< div class = "settings-group" >
< div class = "settings-item" > < div class = "settings-item-inner" >
< div class = "settings-item-left" >
< div class = "settings-item-label" >
Yomichan can import and export settings files which can be used to restore settings, share settings across devices, and to help to debug problems.
These files will only contain settings and will not contain dictionaries.
Dictionaries must be imported separately.
< / div >
< / div >
< / div > < / div >
< div class = "settings-item" > < div class = "settings-item-inner" >
< div class = "settings-item-right settings-item-button-group-container" >
< div class = "settings-item-button-group" >
< div class = "settings-item-button-group-item" >
< button class = "low-emphasis" id = "settings-import-button" > Import Settings< / button >
< div hidden > < input type = "file" id = "settings-import-file" accept = ".json,application/json" > < / div >
< / div >
< div class = "settings-item-button-group-item" >
< button class = "low-emphasis" id = "settings-export-button" > Export Settings< / button >
< / div >
< div class = "settings-item-button-group-item" >
< button class = "low-emphasis danger" id = "settings-reset-button" > Reset Settings< / button >
< / div >
< / div >
< / div >
< / div > < / div >
< / div >
2021-08-07 16:40:51 +00:00
<!-- Accessibility -->
2021-09-30 23:41:26 +00:00
< div class = "heading-container" >
2021-08-07 16:40:51 +00:00
< div class = "heading-container-icon" > < span class = "icon" data-icon = "accessibility" > < / span > < / div >
< div class = "heading-container-left" > < h2 id = "accessibility" > < a href = "#!accessibility" > Accessibility< / a > < / h2 > < / div >
< / div >
2021-09-30 23:41:26 +00:00
< div class = "settings-group" >
2021-08-07 16:40:51 +00:00
< div class = "settings-item" >
< div class = "settings-item-inner" >
< div class = "settings-item-left" >
< div class = "settings-item-label" >
Force HTML-based rendering for Google Docs
2022-04-04 01:49:33 +00:00
< a tabindex = "0" class = "more-toggle more-only danger-text" data-parent-distance = "4" > (?)< / a >
2021-08-07 16:40:51 +00:00
< / div >
< / div >
< div class = "settings-item-right" >
< label class = "toggle" > < input type = "checkbox" data-setting = "accessibility.forceGoogleDocsHtmlRendering" > < span class = "toggle-body" > < span class = "toggle-track" > < / span > < span class = "toggle-knob" > < / span > < / span > < / label >
< / div >
< / div >
< div class = "settings-item-children more" hidden >
< p >
Google Docs is moving from HTML-based rendering to
< a href = "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas" target = "_blank" rel = "noopener noreferrer" > canvas-based< / a >
rendering to display content< sup > < a href = "https://workspaceupdates.googleblog.com/2021/05/Google-Docs-Canvas-Based-Rendering-Update.html" target = "_blank" rel = "noopener noreferrer" > [2]< / a > < / sup > ,
which prevents Yomichan from being able to scan text.
Enabling this option will force HTML-based rendering to be used.
< / p >
2022-04-04 01:49:33 +00:00
< p class = "danger-text" >
This is a workaround and it is likely that Google will unfortunately remove support for this workaround in the future.
< / p >
2021-08-07 16:40:51 +00:00
< p >
2021-08-28 18:45:25 +00:00
< a tabindex = "0" class = "more-toggle" data-parent-distance = "3" > Less… < / a >
2021-08-07 16:40:51 +00:00
< / p >
< / div >
< / div >
< / div >
2020-12-30 16:42:10 +00:00
<!-- Security -->
2020-12-20 21:03:07 +00:00
< div class = "heading-container advanced-only" >
< div class = "heading-container-icon" > < span class = "icon" data-icon = "lock" > < / span > < / div >
2021-01-09 21:39:30 +00:00
< div class = "heading-container-left" > < h2 id = "security" > < a href = "#!security" > Security< / a > < / h2 > < / div >
2020-12-20 21:03:07 +00:00
< / div >
2020-12-07 01:37:19 +00:00
< div class = "settings-group advanced-only" >
< div class = "settings-item" >
2020-12-30 18:32:41 +00:00
< div class = "settings-item-inner" >
2020-12-07 01:37:19 +00:00
< div class = "settings-item-left" >
< div class = "settings-item-label" >
Use a secure container around popups
2021-08-28 18:45:25 +00:00
< a tabindex = "0" class = "more-toggle more-only" data-parent-distance = "4" > (?)< / a >
2020-12-07 01:37:19 +00:00
< / div >
< / div >
< div class = "settings-item-right" >
< label class = "toggle" > < input type = "checkbox" data-setting = "general.usePopupShadowDom" > < span class = "toggle-body" > < span class = "toggle-track" > < / span > < span class = "toggle-knob" > < / span > < / span > < / label >
< / div >
< / div >
< div class = "settings-item-children more" hidden >
< p >
On < a href = "https://caniuse.com/shadowdomv1" target = "_blank" rel = "noopener noreferrer" > supported browsers< / a > ,
a popup's < code > iframe< / code > element will be embeded inside of a container with a closed < a href = "https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_shadow_DOM" target = "_blank" rel = "noopener noreferrer" > shadow DOM< / a > .
This container prevents scripts running on the underlying web page from being able to discover the < code > iframe< / code > ,
which helps avoid situations where the web page might try to modify or use the Yomichan popup for an unintended purpose.
< / p >
< p >
2021-08-28 18:45:25 +00:00
< a tabindex = "0" class = "more-toggle" data-parent-distance = "3" > Less… < / a >
2020-12-07 01:37:19 +00:00
< / p >
< / div >
< / div >
< div class = "settings-item" >
2020-12-30 18:32:41 +00:00
< div class = "settings-item-inner" >
2020-12-07 01:37:19 +00:00
< div class = "settings-item-left" >
< div class = "settings-item-label" >
Use secure popup frame URL
2021-08-28 18:45:25 +00:00
< a tabindex = "0" class = "more-toggle more-only" data-parent-distance = "4" > (?)< / a >
2020-12-07 01:37:19 +00:00
< / div >
< / div >
< div class = "settings-item-right" >
< label class = "toggle" > < input type = "checkbox" data-setting = "general.useSecurePopupFrameUrl" > < span class = "toggle-body" > < span class = "toggle-track" > < / span > < span class = "toggle-knob" > < / span > < / span > < / label >
< / div >
< / div >
< div class = "settings-item-children more" hidden >
< p >
When this option is enabled, the URL of the < code > iframe< / code > element will be assigned by
directly changing the location of the < code > iframe< / code > 's internal document, rather than using
the < code > iframe< / code > 's < a href = "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#attr-src" target = "_blank" rel = "noopener noreferrer" > < code > src< / code > < / a >
attribute. This results in the extension URL not being exposed to the underling web page, and thus making it harder
to detect the presence of Yomichan.
< / p >
< p >
2021-08-28 18:45:25 +00:00
< a tabindex = "0" class = "more-toggle" data-parent-distance = "3" > Less… < / a >
2020-12-07 01:37:19 +00:00
< / p >
< / div >
< / div >
< / div >
< div class = "footer-padding" > < / div >
< / div >
< div class = "content-right" >
< div class = "preview-sidebar" > < div class = "preview-sidebar-inner" >
< div class = "preview-frame-container" >
2021-10-01 01:12:26 +00:00
< iframe class = "preview-frame" id = "popup-preview-frame" > < / iframe >
2020-12-07 01:37:19 +00:00
< / div >
< / div > < / div >
< / div >
< / div > < / div >
<!-- Auxiliary content -->
< div class = "content-dimmer" > < / div >
< div class = "fab-container" >
< div class = "fab-container-left" > < / div >
< div class = "fab-container-center" > < / div >
< div class = "fab-container-right" >
< div class = "fab-container-right-inner1" > < div class = "fab-container-right-inner2" >
< div class = "fab-container-item fab-container-item-popup-preview" >
2020-12-20 20:43:10 +00:00
< button class = "fab-button icon-button" data-action = "toggle-preview-sidebar" > < span class = "icon-button-inner" > < span class = "fab-button-background" > < / span > < span class = "icon" data-icon = "popup" > < / span > < / span > < / button >
2020-12-07 01:37:19 +00:00
< / div >
< div class = "fab-container-item" >
2020-12-20 20:43:10 +00:00
< button class = "fab-button icon-button" data-action = "toggle-sidebar" > < span class = "icon-button-inner" > < span class = "fab-button-background" > < / span > < span class = "icon" data-icon = "hamburger-menu" > < / span > < / span > < / button >
2020-12-07 01:37:19 +00:00
< / div >
< / div > < / div >
< / div >
< / div >
2020-12-29 04:00:03 +00:00
< div class = "status-footer-container" hidden > < div class = "status-footer-container2" >
2020-12-07 01:37:19 +00:00
< div class = "status-footer" >
2021-08-28 18:45:25 +00:00
< div class = "status-footer-header" > < div class = "status-footer-header-label" > Tasks in progress:< / div > < a tabindex = "0" class = "status-footer-header-close" > Close< / a > < / div >
2020-12-07 01:37:19 +00:00
< div class = "status-footer-item dictionary-delete-progress" hidden >
< div class = "progress-labels" > < div class = "progress-info" > < / div > < div class = "progress-status" > < / div > < / div >
< div class = "progress-bar-track" > < div class = "progress-bar danger" > < / div > < / div >
< / div >
< div class = "status-footer-item dictionary-import-progress" hidden >
< div class = "progress-labels" > < div class = "progress-info" > < / div > < div class = "progress-status" > < / div > < / div >
< div class = "progress-bar-track" > < div class = "progress-bar" > < / div > < / div >
< / div >
< / div >
< / div > < / div >
< div id = "popup-menus" > < / div >
<!-- Profile modals -->
2021-01-31 00:47:16 +00:00
< div id = "profiles-modal" class = "modal" tabindex = "-1" role = "dialog" hidden > < div class = "modal-content" >
2020-12-21 00:59:39 +00:00
< div class = "modal-header" >
< div class = "modal-title" > Profiles< / div >
< div class = "modal-header-button-container" >
< div class = "modal-header-button-group" >
< button class = "icon-button modal-header-button" data-modal-action = "expand" > < span class = "icon-button-inner" > < span class = "icon" data-icon = "expand" > < / span > < / span > < / button >
< button class = "icon-button modal-header-button" data-modal-action = "collapse" > < span class = "icon-button-inner" > < span class = "icon" data-icon = "collapse" > < / span > < / span > < / button >
< / div >
< / div >
< / div >
2020-12-07 01:37:19 +00:00
< div class = "modal-body" >
< div class = "profile-entry-header" >
< div class = "profile-entry-cell" > < / div >
< div class = "profile-entry-cell" > < span class = "profile-entry-header-text" > Default< / span > < / div >
< div class = "profile-entry-cell" > < span class = "profile-entry-header-text" > Name< / span > < / div >
< div class = "profile-entry-cell" > < span class = "profile-entry-header-text" > Conditions< / span > < / div >
< div class = "profile-entry-cell" > < / div >
< / div >
< div class = "profile-entry-list generic-list" id = "profile-entry-list" > < / div >
< div class = "profile-add-button-container" >
< button class = "low-emphasis" id = "profile-add-button" > Add< / button >
< / div >
< / div >
< div class = "modal-footer" >
< button data-modal-action = "hide" > Close< / button >
< / div >
< / div > < / div >
2021-01-31 00:47:16 +00:00
< div id = "profile-conditions-modal" class = "modal" tabindex = "-1" role = "dialog" hidden > < div class = "modal-content" >
2020-12-21 00:59:39 +00:00
< div class = "modal-header" >
< div class = "modal-title" > Profile Conditions< / div >
< div class = "modal-header-button-container" >
< div class = "modal-header-button-group" >
< button class = "icon-button modal-header-button" data-modal-action = "expand" > < span class = "icon-button-inner" > < span class = "icon" data-icon = "expand" > < / span > < / span > < / button >
< button class = "icon-button modal-header-button" data-modal-action = "collapse" > < span class = "icon-button-inner" > < span class = "icon" data-icon = "collapse" > < / span > < / span > < / button >
< / div >
< / div >
< / div >
2020-12-07 01:37:19 +00:00
< div class = "modal-body" >
< div class = "settings-item" >
< div class = "settings-item-inner" >
< div class = "settings-item-left" >
< div class = "settings-item-label" >
Conditions for profile < em id = "profile-conditions-profile-name" > < / em > :
< / div >
< / div >
< div class = "settings-item-right" >
2021-08-28 18:45:25 +00:00
< a tabindex = "0" class = "more-toggle more-only" data-parent-distance = "3" > Info… < / a >
2020-12-07 01:37:19 +00:00
< / div >
< / div >
< div class = "settings-item-children more" hidden >
< p >
Profile usage conditions are used to automatically select certain profiles based on context.
For example, different profiles can be used depending on the nested level of the popup, or based on the website's URL.
< / p >
< p >
Conditions are organized into groups corresponding to the order in which they are checked.
If all of the conditions in any group of a profile are met, then that profile will be used for that context.
< / p >
< p >
If no conditions are specified, the profile will only be used if it is selected as the default profile.
< / p >
< p >
2021-08-28 18:45:25 +00:00
< a tabindex = "0" class = "more-toggle" data-parent-distance = "3" > Hide… < / a >
2020-12-07 01:37:19 +00:00
< / p >
< / div >
< / div >
< div class = "profile-condition-groups" id = "profile-condition-groups" > < / div >
< div class = "profile-condition-group-list-info" >
< div class = "profile-condition-groups-empty-info" > < em > No conditions set up.< / em > < / div >
< div class = "profile-condition-group-list-info-space" > < / div >
< button class = "low-emphasis" id = "profile-add-condition-group" > Add Group< / button >
< / div >
< / div >
< div class = "modal-footer" >
< button data-modal-action = "hide" > Close< / button >
< / div >
< / div > < / div >
2021-01-31 00:47:16 +00:00
< div id = "profile-copy-modal" class = "modal" tabindex = "-1" role = "dialog" hidden > < div class = "modal-content modal-content-small" >
2020-12-21 00:59:39 +00:00
< div class = "modal-header" >
< div class = "modal-title" > Copy Profile< / div >
< div class = "modal-header-button-container" >
< div class = "modal-header-button-group" >
< button class = "icon-button modal-header-button" data-modal-action = "expand" > < span class = "icon-button-inner" > < span class = "icon" data-icon = "expand" > < / span > < / span > < / button >
< button class = "icon-button modal-header-button" data-modal-action = "collapse" > < span class = "icon-button-inner" > < span class = "icon" data-icon = "collapse" > < / span > < / span > < / button >
< / div >
< / div >
< / div >
2020-12-07 01:37:19 +00:00
< div class = "modal-body" >
< p > Select which profile to copy options from:< / p >
< select class = "form-control" id = "profile-copy-source-select" > < / select >
< / div >
< div class = "modal-footer" >
< button class = "low-emphasis" data-modal-action = "hide" > Cancel< / button >
< button id = "profile-copy-confirm-button" > Copy Profile< / button >
< / div >
< / div > < / div >
2021-01-31 00:47:16 +00:00
< div id = "profile-remove-modal" class = "modal" tabindex = "-1" role = "dialog" hidden > < div class = "modal-content modal-content-small" >
2020-12-07 01:37:19 +00:00
< div class = "modal-header" > < div class = "modal-title" > Confirm Profile Deletion< / div > < / div >
< div class = "modal-body" >
< p >
Are you sure you want to delete the profile < em id = "profile-remove-name" > < / em > ?
< / p >
< / div >
< div class = "modal-footer" >
< button class = "low-emphasis" data-modal-action = "hide" > Cancel< / button >
< button class = "danger" id = "profile-remove-confirm-button" > Remove Profile< / button >
< / div >
< / div > < / div >
2021-01-03 01:30:11 +00:00
<!-- Profile templates -->
< template id = "profile-entry-template" > < div class = "profile-entry generic-list-entry" >
< div class = "profile-entry-cell generic-list-index-prefix" > < / div >
< div class = "profile-entry-cell" > < label class = "radio" > < input type = "radio" class = "profile-entry-is-default-radio" name = "profile-entry-default-radio" > < span class = "radio-body" > < span class = "radio-border" > < / span > < span class = "radio-dot" > < / span > < / span > < / label > < / div >
< div class = "profile-entry-cell" > < input class = "profile-entry-name-input" type = "text" autocomplete = "off" placeholder = "Profile name" > < / div >
2021-08-28 18:45:25 +00:00
< div class = "profile-entry-cell" > < a tabindex = "0" class = "profile-entry-condition-count-link" > < span class = "profile-entry-condition-count" > 0< / span > < / a > < / div >
2021-01-22 00:57:43 +00:00
< div class = "profile-entry-cell input-height-icon-button-container" > < button class = "icon-button profile-entry-menu-button" data-menu = "profile-menu" data-menu-position = "below left" > < span class = "icon-button-inner" > < span class = "icon" data-icon = "kebab-menu" > < / span > < / span > < / button > < / div >
2021-01-03 01:30:11 +00:00
< / div > < / template >
< template id = "profile-condition-group-template" > < div class = "profile-condition-group" >
< div class = "profile-condition-list" > < / div >
< div class = "profile-condition-list-info" >
< div class = "profile-condition-group-separator-label" > or< / div >
< div class = "profile-condition-list-info-space" > < / div >
< button class = "profile-condition-add-button low-emphasis" > Add< / button >
< / div >
< / div > < / template >
< template id = "profile-condition-template" > < div class = "profile-condition" >
< div class = "profile-condition-prefix" > < / div >
< div class = "profile-condition-inner" >
< select class = "profile-condition-type" > < optgroup label = "Type" > < / optgroup > < / select >
< select class = "profile-condition-operator" > < optgroup label = "Operator" > < / optgroup > < / select >
< div class = "profile-condition-input-container" >
< input type = "text" class = "profile-condition-input" autocomplete = "off" spellcheck = "false" >
< div class = "input-height-icon-button-container mouse-button-container" hidden >
< button class = "icon-button profile-condition-mouse-button mouse-button" > < span class = "icon-button-inner" > < span class = "icon" data-icon = "mouse" > < / span > < / span > < / button >
< / div >
< / div >
< / div >
< div class = "profile-condition-menu-button-container input-height-icon-button-container" >
2021-01-22 00:57:43 +00:00
< button class = "icon-button profile-condition-menu-button" data-menu = "profile-condition-menu" data-menu-position = "below left" > < span class = "icon-button-inner" > < span class = "icon" data-icon = "kebab-menu" > < / span > < / span > < / button >
2021-01-03 01:30:11 +00:00
< / div >
< / div > < / template >
2021-01-24 02:07:45 +00:00
< template id = "profile-menu-template" > < div class = "popup-menu-container" tabindex = "-1" role = "dialog" > < div class = "popup-menu" > < div class = "popup-menu-body" >
2021-01-03 01:30:11 +00:00
< button class = "popup-menu-item" data-menu-action = "moveUp" > Move up< / button >
< button class = "popup-menu-item" data-menu-action = "moveDown" > Move down< / button >
2021-08-21 00:56:33 +00:00
< button class = "popup-menu-item" data-menu-action = "copyFrom" > Copy from… < / button >
< button class = "popup-menu-item" data-menu-action = "editConditions" > Edit conditions… < / button >
2021-01-03 01:30:11 +00:00
< button class = "popup-menu-item" data-menu-action = "duplicate" > Duplicate< / button >
< button class = "popup-menu-item" data-menu-action = "delete" > Delete< / button >
2021-01-24 02:07:45 +00:00
< / div > < / div > < / div > < / template >
2021-01-03 01:30:11 +00:00
2021-01-24 02:07:45 +00:00
< template id = "profile-condition-menu-template" > < div class = "popup-menu-container" tabindex = "-1" role = "dialog" > < div class = "popup-menu" > < div class = "popup-menu-body" >
2021-01-15 02:18:22 +00:00
< button class = "popup-menu-item" data-menu-action = "resetValue" > Reset value< / button >
2021-01-03 01:30:11 +00:00
< button class = "popup-menu-item" data-menu-action = "delete" > Delete< / button >
2021-01-15 03:01:01 +00:00
< button class = "popup-menu-item" data-menu-action = "deleteGroup" > Delete group< / button >
2021-01-24 02:07:45 +00:00
< / div > < / div > < / div > < / template >
2021-01-03 01:30:11 +00:00
2020-12-07 01:37:19 +00:00
<!-- Dictionary modals -->
2021-01-31 00:47:16 +00:00
< div id = "dictionaries-modal" class = "modal" tabindex = "-1" role = "dialog" hidden > < div class = "modal-content" >
2020-12-21 00:59:39 +00:00
< div class = "modal-header" >
< div class = "modal-title" > Dictionaries< / div >
< div class = "modal-header-button-container" >
< div class = "modal-header-button-group" >
< button class = "icon-button modal-header-button" data-modal-action = "expand" > < span class = "icon-button-inner" > < span class = "icon" data-icon = "expand" > < / span > < / span > < / button >
< button class = "icon-button modal-header-button" data-modal-action = "collapse" > < span class = "icon-button-inner" > < span class = "icon" data-icon = "collapse" > < / span > < / span > < / button >
< / div >
< / div >
< / div >
2020-12-07 01:37:19 +00:00
< div class = "modal-body" >
< div class = "settings-item" >
< div class = "settings-item-inner" >
< div class = "settings-item-left" >
< div class = "settings-item-label" >
Enable support for prefix wildcard searches
2021-08-28 18:45:25 +00:00
< a tabindex = "0" class = "more-toggle more-only" data-parent-distance = "4" > (?)< / a >
2020-12-07 01:37:19 +00:00
< / div >
< / div >
< div class = "settings-item-right" >
< label class = "toggle" > < input type = "checkbox" data-setting = "global.database.prefixWildcardsSupported" data-scope = "global" > < span class = "toggle-body" > < span class = "toggle-track" > < / span > < span class = "toggle-knob" > < / span > < / span > < / label >
< / div >
< / div >
< div class = "settings-item-children more" hidden >
< p >
In order for dictionaries to support searches using prefix wildcards on the search page,
some additional data must be stored in the database.
Enabling this option will include this extra data for any new dictionaries that are imported.
< / p >
< p class = "warning-text" >
This option will not change any dictionaries that are already imported;
they must be re-imported for the option to take effect.
< / p >
< p >
2021-08-28 18:45:25 +00:00
< a tabindex = "0" class = "more-toggle" data-parent-distance = "3" > Hide… < / a >
2020-12-07 01:37:19 +00:00
< / p >
< / div >
< / div >
< div class = "warning-text margin-above no-dictionaries-installed-warning" hidden >
No dictionaries have been installed yet.
Visit the < a href = "https://foosoft.net/projects/yomichan/#dictionaries" target = "_blank" rel = "noopener noreferrer" > Yomichan homepage< / a >
for a list free dictionaries or click the < em > Import< / em > button below to select a dictionary file to import.
< / div >
< div id = "dictionary-error" class = "danger-text margin-above" hidden > < / div >
2021-05-03 01:04:39 +00:00
< div id = "dictionary-list" class = "dictionary-list generic-list" data-count = "0" >
< div class = "dictionary-item-top" > < / div >
2021-04-30 22:01:16 +00:00
< label class = "dictionary-item-top toggle dictionary-item-enabled-toggle-container" > < input type = "checkbox" id = "all-dictionaries-enabled" > < span class = "toggle-body" > < span class = "toggle-track" > < / span > < span class = "toggle-knob" > < / span > < / span > < / label >
< div class = "dictionary-item-top dictionary-item-title-container" > All< / div >
< div class = "dictionary-item-top" > Priority< / div >
< div class = "dictionary-item-top dictionary-item-button-height" > < / div >
< / div >
2020-12-07 01:37:19 +00:00
< div hidden > < input type = "file" id = "dictionary-import-file-input" accept = ".zip,application/zip" multiple > < / div >
< / div >
< div class = "modal-body-addon dictionary-delete-progress" hidden >
< div class = "progress-labels" > < div class = "progress-info" > < / div > < div class = "progress-status" > < / div > < / div >
< div class = "progress-bar-track" > < div class = "progress-bar danger" > < / div > < / div >
< / div >
< div class = "modal-body-addon dictionary-import-progress" hidden >
< div class = "progress-labels" > < div class = "progress-info" > < / div > < div class = "progress-status" > < / div > < / div >
< div class = "progress-bar-track" > < div class = "progress-bar" > < / div > < / div >
< / div >
< div class = "modal-footer" >
< button class = "low-emphasis danger dictionary-database-mutating-input" id = "dictionary-delete-all-button" > Delete All< / button >
< button class = "low-emphasis dictionary-database-mutating-input" id = "dictionary-check-integrity" > Check Integrity< / button >
< button class = "low-emphasis dictionary-database-mutating-input" id = "dictionary-import-file-button" > Import< / button >
< button data-modal-action = "hide" > Close< / button >
< / div >
< / div > < / div >
2021-01-31 00:47:16 +00:00
< div id = "dictionary-confirm-delete-modal" class = "modal" tabindex = "-1" role = "dialog" hidden > < div class = "modal-content modal-content-small" >
2020-12-07 01:37:19 +00:00
< div class = "modal-header" > < div class = "modal-title" > Confirm Dictionary Deletion< / div > < / div >
< div class = "modal-body" >
< p > Are you sure you want to delete the dictionary:< / p >
< p > < strong id = "dictionary-confirm-delete-name" > < / strong > ?< / p >
< p class = "danger-text" > This action cannot be undone.< / p >
< / div >
< div class = "modal-footer" >
< button class = "low-emphasis" data-modal-action = "hide" > Cancel< / button >
< button class = "danger" data-modal-action = "hide" id = "dictionary-confirm-delete-button" > Delete< / button >
< / div >
< / div > < / div >
2021-01-31 00:47:16 +00:00
< div id = "dictionary-confirm-delete-all-modal" class = "modal" tabindex = "-1" role = "dialog" hidden > < div class = "modal-content modal-content-small" >
2020-12-07 01:37:19 +00:00
< div class = "modal-header" > < div class = "modal-title" > Confirm Dictionary Deletion< / div > < / div >
< div class = "modal-body" >
< p > Are you sure you want to delete < strong > all dictionaries< / strong > ?< / p >
< p class = "danger-text" > This action cannot be undone.< / p >
< / div >
< div class = "modal-footer" >
< button class = "low-emphasis" data-modal-action = "hide" > Cancel< / button >
< button class = "danger" data-modal-action = "hide" id = "dictionary-confirm-delete-all-button" > Delete< / button >
< / div >
< / div > < / div >
2021-01-31 00:47:16 +00:00
< div id = "secondary-search-dictionaries-modal" class = "modal" tabindex = "-1" role = "dialog" hidden > < div class = "modal-content" >
2020-12-21 00:59:39 +00:00
< div class = "modal-header" >
< div class = "modal-title" > Secondary Search Dictionaries< / div >
< div class = "modal-header-button-container" >
< div class = "modal-header-button-group" >
< button class = "icon-button modal-header-button" data-modal-action = "expand" > < span class = "icon-button-inner" > < span class = "icon" data-icon = "expand" > < / span > < / span > < / button >
< button class = "icon-button modal-header-button" data-modal-action = "collapse" > < span class = "icon-button-inner" > < span class = "icon" data-icon = "collapse" > < / span > < / span > < / button >
< / div >
< / div >
< / div >
2020-12-07 01:37:19 +00:00
< div class = "modal-body" >
< p >
These dictionaries will be used to search for definitions of the related terms when the grouping mode is
< em > Group related terms< / em > .
< / p >
2021-05-08 19:18:41 +00:00
< div id = "secondary-search-dictionary-list" class = "secondary-search-dictionary-list" > < / div >
2020-12-07 01:37:19 +00:00
< / div >
< div class = "modal-footer" >
< button data-modal-action = "hide" > Close< / button >
< / div >
< / div > < / div >
2021-03-31 22:17:28 +00:00
< div id = "collapsible-dictionaries-modal" class = "modal" tabindex = "-1" role = "dialog" hidden > < div class = "modal-content" >
< div class = "modal-header" >
< div class = "modal-title" > Collapsible Dictionaries< / div >
< div class = "modal-header-button-container" >
< div class = "modal-header-button-group" >
< button class = "icon-button modal-header-button" data-modal-action = "expand" > < span class = "icon-button-inner" > < span class = "icon" data-icon = "expand" > < / span > < / span > < / button >
< button class = "icon-button modal-header-button" data-modal-action = "collapse" > < span class = "icon-button-inner" > < span class = "icon" data-icon = "collapse" > < / span > < / span > < / button >
< / div >
< / div >
< / div >
2022-05-30 17:34:37 +00:00
< div class = "modal-body-addon" >
< p >
Dictionary definitions can be collapsed if they exceed a certain line count,
which may be useful for dictionaries with long definitions.
The appearance can be customized using custom CSS.
< a tabindex = "0" data-modal-action = "show,collapsible-dictionaries-info" > More… < / a >
< / p >
< / div >
2021-03-31 22:17:28 +00:00
< div class = "modal-body" >
< div id = "collapsible-dictionary-list" class = "collapsible-dictionary-list" > < / div >
< / div >
< div class = "modal-footer" >
< button data-modal-action = "hide" > Close< / button >
< / div >
< / div > < / div >
2022-05-30 17:34:37 +00:00
< div id = "collapsible-dictionaries-info-modal" class = "modal" tabindex = "-1" role = "dialog" hidden > < div class = "modal-content" >
< div class = "modal-header" >
< div class = "modal-title" > Collapsible Dictionary Info< / div >
< div class = "modal-header-button-container" >
< div class = "modal-header-button-group" >
< button class = "icon-button modal-header-button" data-modal-action = "expand" > < span class = "icon-button-inner" > < span class = "icon" data-icon = "expand" > < / span > < / span > < / button >
< button class = "icon-button modal-header-button" data-modal-action = "collapse" > < span class = "icon-button-inner" > < span class = "icon" data-icon = "collapse" > < / span > < / span > < / button >
< / div >
< / div >
< / div >
< div class = "modal-body" >
< p >
Dictionary definitions can be collapsed if they exceed a certain line count,
which may be useful for dictionaries with long definitions.
There are five different modes:
< / p >
< ul >
< li >
< strong > Not collapsible< / strong > -
Definitions will not be collapsed.
< / li >
< li >
< strong > Collapsed< / strong > -
Definitions will show a collapse button if their size exceeds the max height,
and they will be collapsed by default.
< / li >
< li >
< strong > Expanded< / strong > -
Definitions will show a collapse button if their size exceeds the max height,
and they will be expanded by default.
< / li >
< li >
< strong > Force collapsed< / strong > -
Definitions will always show a collapse button,
and they will be collapsed by default.
< / li >
< li >
< strong > Force expanded< / strong > -
Definitions will always show a collapse button,
and they will be expanded by default.
< / li >
< / ul >
< p >
By default, the number of lines shown for a definition is 3.
This can be configured by adjusting the < a tabindex = "0" data-modal-action = "show,custom-css" > custom CSS< / a > ;
the value can be a unitless integer or decimal number.
< / p >
< div class = "code margin-above" > /* Globally set the line count */
:root {
--collapsible-definition-line-count: 2;
}
/* Set the line count for a specific dictionary */
.definition-item[data-dictionary='JMdict'] {
--collapsible-definition-line-count: 2;
}
/* Spoiler-like functionality, use with < em > Force collapsed< / em > mode */
.definition-item[data-dictionary='JMdict'] .definition-item-inner.collapsible.collapsed {
color: #000000;
background-color: #000000;
}
< / div >
< / div >
< div class = "modal-footer" >
< button data-modal-action = "hide" > Close< / button >
< / div >
< / div > < / div >
2021-04-30 22:01:16 +00:00
< div id = "dictionary-details-modal" class = "modal" tabindex = "-1" role = "dialog" hidden > < div class = "modal-content" >
< div class = "modal-header" >
< div class = "modal-title" > < strong class = "dictionary-title" > < / strong > < span class = "light dictionary-version" > < / span > < / div >
2021-01-03 01:30:11 +00:00
< / div >
2021-04-30 22:01:16 +00:00
< div class = "modal-body" >
2021-01-03 01:30:11 +00:00
< div class = "settings-item dictionary-outdated-notification" hidden > < div class = "settings-item-children danger-text" >
This dictionary is outdated and may not support new extension features.
Re-import the dictionary to enable support for the latest features.
< / div > < / div >
2021-04-30 22:01:16 +00:00
< div class = "settings-item" >
< div class = "settings-item-inner" >
< div class = "settings-item-left" >
< div class = "settings-item-label" >
Prefix wildcard searches supported
2021-08-28 18:45:25 +00:00
< a tabindex = "0" class = "more-toggle more-only" data-parent-distance = "4" > (?)< / a >
2021-01-03 01:30:11 +00:00
< / div >
< / div >
2021-04-30 22:01:16 +00:00
< div class = "settings-item-right" >
2021-06-24 23:59:52 +00:00
< label class = "toggle" > < input type = "checkbox" class = "dictionary-prefix-wildcard-searches-supported" disabled > < span class = "toggle-body" > < span class = "toggle-track" > < / span > < span class = "toggle-knob" > < / span > < / span > < / label >
2021-01-03 01:30:11 +00:00
< / div >
< / div >
2021-04-30 22:01:16 +00:00
< div class = "settings-item-children more" hidden >
< p class = "warning-text" >
Changing this value requires the dictionary to be re-imported.
< / p >
2021-08-28 18:45:25 +00:00
< p > < a tabindex = "0" class = "more-toggle" data-parent-distance = "3" > Hide… < / a > < / p >
2021-04-30 22:01:16 +00:00
< / div >
2021-01-03 01:30:11 +00:00
< / div >
2021-04-30 22:01:16 +00:00
< div class = "settings-item" > < div class = "settings-item-children" >
< div class = "dictionary-details-table" > < / div >
< div class = "dictionary-counts" > < / div >
< / div > < / div >
2021-01-03 01:30:11 +00:00
< / div >
2021-04-30 22:01:16 +00:00
< div class = "modal-footer" >
< button data-modal-action = "hide" > Close< / button >
< / div >
< / div > < / div >
2021-01-03 01:30:11 +00:00
2021-04-30 22:01:16 +00:00
< div id = "dictionary-extra-data-modal" class = "modal" tabindex = "-1" role = "dialog" hidden > < div class = "modal-content" >
< div class = "modal-header" >
< div class = "modal-title" >
< strong class = "dictionary-title" > Unassociated Data< / strong > < span class = "light dictionary-total-count" > < / span >
2021-01-03 01:30:11 +00:00
< / div >
< / div >
2021-04-30 22:01:16 +00:00
< div class = "modal-body" >
2021-01-03 01:30:11 +00:00
< p class = "warning-text" >
The database contains extra data which is not associated with any installed dictionary.
Purging the database can fix this issue.
< / p >
< div class = "dictionary-counts" > < / div >
< / div >
2021-04-30 22:01:16 +00:00
< div class = "modal-footer" >
< button data-modal-action = "hide" > Close< / button >
< / div >
< / div > < / div >
2021-05-03 01:04:39 +00:00
< div id = "dictionary-move-location-modal" class = "modal" tabindex = "-1" role = "dialog" hidden > < div class = "modal-content modal-content-small" >
< div class = "modal-header" > < div class = "modal-title" > Move Dictionary Options< / div > < / div >
< div class = "modal-body" >
< p > Input the location the dictionary < strong class = "dictionary-title" > < / strong > should be moved to:< / p >
< div class = "margin-above" >
< input type = "number" id = "dictionary-move-location" min = "1" step = "1" >
< / div >
< / div >
< div class = "modal-footer" >
< button class = "low-emphasis" data-modal-action = "hide" > Cancel< / button >
< button data-modal-action = "hide" id = "dictionary-move-button" > Move< / button >
< / div >
< / div > < / div >
2021-04-30 22:01:16 +00:00
<!-- Dictionary templates -->
< template id = "dictionary-template" >
2021-05-03 01:04:39 +00:00
< div class = "dictionary-list-index generic-list-index-prefix" > < / div >
2021-04-30 22:01:16 +00:00
< label class = "toggle dictionary-item-enabled-toggle-container" > < input type = "checkbox" class = "dictionary-enabled" > < span class = "toggle-body" > < span class = "toggle-track" > < / span > < span class = "toggle-knob" > < / span > < / span > < / label >
< div class = "dictionary-item-title-container" >
< span >
< strong class = "dictionary-title" > < / strong > < span class = "light dictionary-version" > < / span >
< / span >
< button class = "dictionary-outdated-button" hidden >
< div class = "badge warning-badge" > < span class = "icon" data-icon = "exclamation-point-short" > < / span > < / div >
< / button >
< button class = "dictionary-integrity-button" hidden >
< div class = "badge info-badge badge-small-icon" > < span class = "icon" data-icon = "checkmark" > < / span > < / div >
< / button >
< / div >
< input type = "number" step = "1" class = "short-height dictionary-priority" >
< button class = "icon-button dictionary-menu-button" data-menu = "dictionary-menu" data-menu-position = "below left" > < span class = "icon-button-inner" > < span class = "icon" data-icon = "kebab-menu" > < / span > < / span > < / button >
< / template >
< template id = "dictionary-details-entry-template" > < div class = "dictionary-details-entry" >
< span class = "dictionary-details-entry-label" > < / span >
< span class = "dictionary-details-entry-info" > < / span >
2021-01-03 01:30:11 +00:00
< / div > < / template >
2021-04-30 22:01:16 +00:00
< template id = "dictionary-extra-template" >
2021-05-03 01:04:39 +00:00
< div class = "dictionary-item-bottom" > < / div >
2021-04-30 22:01:16 +00:00
< div class = "dictionary-item-bottom" > < / div >
< div class = "dictionary-item-bottom dictionary-item-title-container" >
< span >
< strong class = "dictionary-title" > Unassociated Data< / strong > < span class = "light dictionary-total-count" > < / span >
< / span >
< button class = "dictionary-integrity-button" >
< div class = "badge warning-badge" > < span class = "icon" data-icon = "exclamation-point-short" > < / span > < / div >
< / button >
< / div >
< div class = "dictionary-item-bottom" > < / div >
< div class = "dictionary-item-bottom dictionary-item-button-height" > < / div >
< / template >
2021-01-24 02:07:45 +00:00
< template id = "dictionary-menu-template" > < div class = "popup-menu-container" tabindex = "-1" role = "dialog" > < div class = "popup-menu" > < div class = "popup-menu-body" >
2021-04-30 22:01:16 +00:00
< button class = "popup-menu-item" data-menu-action = "showDetails" > Details… < / button >
2021-04-30 22:15:32 +00:00
< button class = "popup-menu-item" data-menu-action = "moveUp" > Move up< / button >
< button class = "popup-menu-item" data-menu-action = "moveDown" > Move down< / button >
2021-05-03 01:04:39 +00:00
< button class = "popup-menu-item" data-menu-action = "moveTo" > Move to… < / button >
2021-01-03 01:30:11 +00:00
< button class = "popup-menu-item" data-menu-action = "delete" > Delete< / button >
2021-01-24 02:07:45 +00:00
< / div > < / div > < / div > < / template >
2021-01-03 01:30:11 +00:00
2021-05-08 19:18:41 +00:00
< template id = "secondary-search-dictionary-template" > < div class = "secondary-search-dictionary-item horizontal-flex" >
< label class = "toggle" > < input type = "checkbox" class = "dictionary-allow-secondary-searches" > < span class = "toggle-body" > < span class = "toggle-track" > < / span > < span class = "toggle-knob" > < / span > < / span > < / label >
< span class = "horizontal-flex-fill" > < strong class = "dictionary-title" > < / strong > < span class = "light dictionary-version" > < / span > < / span >
< / div > < / template >
2021-01-03 01:30:11 +00:00
2021-03-31 22:17:28 +00:00
< template id = "collapsible-dictionary-item-template" > < div class = "collapsible-dictionary-item" >
< div class = "collapsible-dictionary-cell" >
< span class = "dictionary-info-label" > < strong class = "dictionary-title" > < / strong > < span class = "light dictionary-version" > < / span > < / span >
< / div >
< div class = "collapsible-dictionary-cell" >
< select class = "definitions-collapsible medium-width" >
< option value = "not-collapsible" > Not collapsible< / option >
< option value = "collapsed" > Collapsed< / option >
< option value = "expanded" > Expanded< / option >
2022-05-30 17:34:37 +00:00
< option value = "force-collapsed" > Force collapsed< / option >
< option value = "force-expanded" > Force expanded< / option >
2021-03-31 22:17:28 +00:00
< / select >
< / div >
< / div > < / template >
2021-01-03 01:30:11 +00:00
2020-12-07 01:37:19 +00:00
<!-- Custom CSS modal -->
2021-01-31 00:47:16 +00:00
< div id = "custom-css-modal" class = "modal modal-left" tabindex = "-1" role = "dialog" hidden > < div class = "modal-content-container1" >
2020-12-07 01:37:19 +00:00
< div class = "modal-content-container2 modal-content-dimmer" > < div class = "modal-content" >
2020-12-21 00:59:39 +00:00
< div class = "modal-header" >
< div class = "modal-title" > Custom CSS< / div >
< div class = "modal-header-button-container" >
< div class = "modal-header-button-group" >
< button class = "icon-button modal-header-button" data-modal-action = "expand" > < span class = "icon-button-inner" > < span class = "icon" data-icon = "expand" > < / span > < / span > < / button >
< button class = "icon-button modal-header-button" data-modal-action = "collapse" > < span class = "icon-button-inner" > < span class = "icon" data-icon = "collapse" > < / span > < / span > < / button >
< / div >
< / div >
< / div >
2020-12-07 01:37:19 +00:00
< div class = "modal-body custom-popup-css-container" >
< div class = "custom-popup-css-header" > Popup CSS< / div >
2022-05-30 17:34:37 +00:00
< textarea class = "no-wrap" autocomplete = "off" spellcheck = "false" id = "custom-popup-css" data-setting = "general.customPopupCss" data-tab-action = "indent,4" > < / textarea >
2020-12-07 01:37:19 +00:00
< div class = "custom-popup-css-header margin-above" > Popup outer CSS< / div >
2022-05-30 17:34:37 +00:00
< textarea class = "no-wrap" autocomplete = "off" spellcheck = "false" id = "custom-popup-outer-css" data-setting = "general.customPopupOuterCss" data-tab-action = "indent,4" > < / textarea >
2020-12-07 01:37:19 +00:00
< / div >
< div class = "modal-footer" >
< button data-modal-action = "hide" > Close< / button >
< / div >
< / div > < / div >
< div class = "modal-content-container1-fade" > < / div >
< / div > < / div >
<!-- Audio sources modal -->
2021-01-31 00:47:16 +00:00
< div id = "audio-sources-modal" class = "modal" tabindex = "-1" role = "dialog" hidden > < div class = "modal-content" >
2020-12-21 00:59:39 +00:00
< div class = "modal-header" >
< div class = "modal-title" > Audio Sources< / div >
< div class = "modal-header-button-container" >
< div class = "modal-header-button-group" >
< button class = "icon-button modal-header-button" data-modal-action = "expand" > < span class = "icon-button-inner" > < span class = "icon" data-icon = "expand" > < / span > < / span > < / button >
< button class = "icon-button modal-header-button" data-modal-action = "collapse" > < span class = "icon-button-inner" > < span class = "icon" data-icon = "collapse" > < / span > < / span > < / button >
< / div >
< / div >
< / div >
2020-12-07 01:37:19 +00:00
< div class = "modal-body" >
< div class = "settings-item" >
< div class = "settings-item-inner" >
< div class = "settings-item-left" >
< div class = "settings-item-label" >
2022-06-03 22:19:40 +00:00
When searching for audio, the sources are checked in order until the first
valid source is found. This allows for selecting a fallback source if the
first choice is not available.
2020-12-07 01:37:19 +00:00
< / div >
< / div >
< / div >
< div class = "settings-item-children" >
< div id = "audio-source-list" class = "generic-list" > < / div >
< div id = "audio-source-list-empty" >
No audio sources enabled
< / div >
< / div >
< / div >
< / div >
< div class = "modal-footer" >
2022-06-03 22:19:40 +00:00
< button id = "audio-source-add" class = "low-emphasis" > Add< / button >
2020-12-07 01:37:19 +00:00
< button data-modal-action = "hide" > Close< / button >
< / div >
< / div > < / div >
2021-05-27 00:40:53 +00:00
< div id = "audio-source-help-custom-modal" class = "modal" tabindex = "-1" role = "dialog" hidden > < div class = "modal-content modal-content-small" >
< div class = "modal-header" >
< div class = "modal-title" > Audio Source - Custom URL< / div >
< / div >
< div class = "modal-body" >
< p >
A custom URL can be used to play audio from any URL.
The replacement tags < code data-select-on-click = "" > {term}< / code > and < code data-select-on-click = "" > {reading}< / code >
can be used to specify which term and reading is being looked up.< br >
< / p >
< p >
Example:< br >
2021-08-28 18:45:25 +00:00
< a tabindex = "0" data-select-on-click = "" > http://localhost/audio.mp3?term={term}& reading={reading}< / a >
2021-05-27 00:40:53 +00:00
< / p >
< / div >
< div class = "modal-footer" >
< button data-modal-action = "hide" > Close< / button >
< / div >
< / div > < / div >
< div id = "audio-source-help-custom-json-modal" class = "modal" tabindex = "-1" role = "dialog" hidden > < div class = "modal-content modal-content-small" >
< div class = "modal-header" >
< div class = "modal-title" > Audio Source - Custom URL (JSON)< / div >
< / div >
< div class = "modal-body" >
< p >
A custom URL to a JSON file which lists one or more audio URLs for a given term.
The format of the JSON file is described in < a href = "/data/schemas/custom-audio-list-schema.json" target = "_blank" rel = "noopener noreferrer" > this schema file< / a > .
< / p >
< p >
Example:< br >
2021-08-28 18:45:25 +00:00
< a tabindex = "0" data-select-on-click = "" > http://localhost/audio.json?term={term}& reading={reading}< / a >
2021-05-27 00:40:53 +00:00
< / p >
< / div >
< div class = "modal-footer" >
< button data-modal-action = "hide" > Close< / button >
< / div >
< / div > < / div >
2021-05-30 16:41:19 +00:00
< div id = "audio-source-help-text-to-speech-modal" class = "modal" tabindex = "-1" role = "dialog" hidden > < div class = "modal-content modal-content-small" >
< div class = "modal-header" >
< div class = "modal-title" > Audio Source - Text-to-speech< / div >
< / div >
< div class = "modal-body" >
< p >
A synthesized voice will speak the given text, using either the term text or the reading.
< / p >
< div class = "horizontal-flex margin-above" >
< input type = "text" value = "よみちゃん" id = "text-to-speech-voice-test-text" autocomplete = "off" lang = "ja" >
< button id = "text-to-speech-voice-test" > Test< / button >
< / div >
< / div >
< div class = "modal-footer" >
< button data-modal-action = "hide" > Close< / button >
< / div >
< / div > < / div >
2020-12-07 01:37:19 +00:00
2021-01-03 01:30:11 +00:00
<!-- Audio templates -->
2021-05-30 16:41:19 +00:00
< template id = "audio-source-template" > < div class = "audio-source" >
< div class = "audio-source-index generic-list-index-prefix" > < / div >
< div class = "audio-source-inner" >
< select class = "audio-source-type-select" >
< option value = "jpod101" > JapanesePod101< / option >
< option value = "jpod101-alternate" > JapanesePod101 (Alternate)< / option >
< option value = "jisho" > Jisho.org< / option >
< option value = "text-to-speech" > Text-to-speech< / option >
< option value = "text-to-speech-reading" > Text-to-speech (Kana reading)< / option >
< option value = "custom" > Custom URL< / option >
< option value = "custom-json" > Custom URL (JSON)< / option >
< / select >
< div class = "audio-source-parameter-container" data-field = "url" hidden >
< span class = "audio-source-parameter-label" > URL:< / span >
< input type = "text" class = "audio-source-parameter" >
< / div >
< div class = "audio-source-parameter-container" data-field = "voice" hidden >
< span class = "audio-source-parameter-label" > Voice:< / span >
< select class = "audio-source-parameter" > < / select >
< / div >
< / div >
2021-01-22 00:57:43 +00:00
< button class = "icon-button audio-source-menu-button" data-menu = "audio-source-menu" data-menu-position = "below left" > < span class = "icon-button-inner" > < span class = "icon" data-icon = "kebab-menu" > < / span > < / span > < / button >
2021-01-03 01:30:11 +00:00
< / div > < / template >
2021-01-24 02:07:45 +00:00
< template id = "audio-source-menu-template" > < div class = "popup-menu-container" tabindex = "-1" role = "dialog" > < div class = "popup-menu" > < div class = "popup-menu-body" >
2021-05-27 00:40:53 +00:00
< button class = "popup-menu-item" data-menu-action = "help" > Help< / button >
2021-01-03 01:30:11 +00:00
< button class = "popup-menu-item" data-menu-action = "remove" > Remove< / button >
2021-01-24 02:07:45 +00:00
< / div > < / div > < / div > < / template >
2021-01-03 01:30:11 +00:00
2020-12-07 01:37:19 +00:00
<!-- Scanning inputs modal -->
2021-01-31 00:47:16 +00:00
< div id = "scanning-inputs-modal" class = "modal" tabindex = "-1" role = "dialog" hidden > < div class = "modal-content" >
2020-12-21 00:59:39 +00:00
< div class = "modal-header" >
< div class = "modal-title" > Scanning Inputs< / div >
< div class = "modal-header-button-container" >
< div class = "modal-header-button-group" >
< button class = "icon-button modal-header-button" data-modal-action = "expand" > < span class = "icon-button-inner" > < span class = "icon" data-icon = "expand" > < / span > < / span > < / button >
< button class = "icon-button modal-header-button" data-modal-action = "collapse" > < span class = "icon-button-inner" > < span class = "icon" data-icon = "collapse" > < / span > < / span > < / button >
< / div >
< / div >
< / div >
2020-12-07 01:37:19 +00:00
< div class = "modal-body" >
< div >
< p >
Scanning inputs are used to define when text scanning should occur.
2021-08-28 18:45:25 +00:00
< a tabindex = "0" class = "more-toggle more-only" data-parent-distance = "2" > More… < / a >
2020-12-07 01:37:19 +00:00
< / p >
< div class = "margin-above more" hidden >
< p >
Text scanning is performed when a pointer is moved and certain inputs are either pressed or not pressed.
The < em > Required inputs< / em > field is used to define which inputs < em > must< / em > be pressed, and
the < em > Excluded inputs< / em > field is used to define which inputs < em > must not< / em > be pressed.
If the < em > Required inputs< / em > field is empty, text will be scanned whenever the pointer is moved.
< / p >
< p >
The < em > Input types< / em > group is used to define which types of pointer input that the
keyboard and button inputs are applied to.
Supported pointer types include the mouse cursor, touchscreen touches, and pen devices.
When using the < em > Pen< / em > option, the defined inputs will correspond to buttons on the pen device.
< / p >
< p >
Some additional scanning and search options can be configured by clicking the menu button and selecting
< em > Show advanced options< / em > .
< / p >
< ul >
< li > To assign keyboard keys, select the input field and press modifier keys on the keyboard.< / li >
< li > To assign mouse or pen buttons, click on the button with the mouse icon using the desired button.< / li >
< li >
To clear inputs, select the input field and press the < em > Escape< / em > button,
or use the < em > Clear inputs< / em > menu option.
< / li >
< / ul >
2021-08-28 18:45:25 +00:00
< p > < a tabindex = "0" class = "more-toggle" data-parent-distance = "3" > Less… < / a > < / p >
2020-12-07 01:37:19 +00:00
< / div >
< / div >
< div class = "scan-input-list generic-list margin-above" id = "scan-input-list" > < / div >
2021-04-09 02:04:11 +00:00
< div class = "warning-text margin-above generic-list-empty-indicator" >
2020-12-07 01:37:19 +00:00
No scanning inputs have been defined yet.
Click the < em > Add< / em > button to add a new input.
< / div >
< / div >
< div class = "modal-footer" >
2022-06-03 22:19:40 +00:00
< button class = "low-emphasis" id = "scan-input-add" > Add< / button >
2020-12-07 01:37:19 +00:00
< button data-modal-action = "hide" > Close< / button >
< / div >
< / div > < / div >
2021-01-03 01:30:11 +00:00
<!-- Scanning inputs templates -->
< template id = "scan-input-template" > < div class = "scan-input" data-show-advanced = "false" >
< div class = "scan-input-grid" >
< div class = "scan-input-index-cell generic-list-index-prefix" > < / div >
2021-08-20 22:13:56 +00:00
< div class = "scan-input-menu-button-cell" >
2021-01-03 01:30:11 +00:00
< div class = "input-height-icon-button-container" >
2021-01-22 00:57:43 +00:00
< button class = "icon-button scanning-input-menu-button" data-menu = "scanning-inputs-menu" data-menu-position = "below left" > < span class = "icon-button-inner" > < span class = "icon" data-icon = "kebab-menu" > < / span > < / span > < / button >
2021-01-03 01:30:11 +00:00
< / div >
< / div >
< div class = "scan-input-prefix-cell" data-property = "include" > < span > Required inputs:< / span > < / div >
2021-08-20 22:13:56 +00:00
< div class = "scan-input-content-cell input-group" data-property = "include" >
< input type = "text" class = "scan-input-field" autocomplete = "off" spellcheck = "false" placeholder = "No inputs" data-property = "include" >
< button class = "input-suffix input-suffix-icon-button light-icon mouse-button" data-property = "include" > < span class = "icon" data-icon = "mouse" > < / span > < / button >
2021-01-03 01:30:11 +00:00
< / div >
< div class = "scan-input-prefix-cell" data-property = "exclude" > < span > Excluded inputs:< / span > < / div >
2021-08-20 22:13:56 +00:00
< div class = "scan-input-content-cell input-group" data-property = "exclude" >
< input type = "text" class = "scan-input-field" autocomplete = "off" spellcheck = "false" placeholder = "No inputs" data-property = "exclude" >
< button class = "input-suffix input-suffix-icon-button light-icon mouse-button" data-property = "exclude" > < span class = "icon" data-icon = "mouse" > < / span > < / button >
2021-01-03 01:30:11 +00:00
< / div >
< div class = "scan-input-prefix-cell scan-input-options-cell" data-property = "types" > < span > Input types:< / span > < / div >
< div class = "scan-input-content-cell scan-input-options-cell" data-property = "types" >
< label class = "scan-input-checkbox-item" >
< label class = "checkbox" > < input type = "checkbox" class = "scan-input-settings-checkbox" data-property = "types.mouse" > < span class = "checkbox-body" > < span class = "checkbox-fill" > < / span > < span class = "checkbox-border" > < / span > < span class = "checkbox-check" > < / span > < / span > < / label >
< span > Mouse< / span >
< / label >
< label class = "scan-input-checkbox-item" >
< label class = "checkbox" > < input type = "checkbox" class = "scan-input-settings-checkbox" data-property = "types.touch" > < span class = "checkbox-body" > < span class = "checkbox-fill" > < / span > < span class = "checkbox-border" > < / span > < span class = "checkbox-check" > < / span > < / span > < / label >
< span > Touch< / span >
< / label >
< label class = "scan-input-checkbox-item" >
< label class = "checkbox" > < input type = "checkbox" class = "scan-input-settings-checkbox" data-property = "types.pen" > < span class = "checkbox-body" > < span class = "checkbox-fill" > < / span > < span class = "checkbox-border" > < / span > < span class = "checkbox-check" > < / span > < / span > < / label >
< span > Pen< / span >
< / label >
< / div >
< div class = "scan-input-prefix-cell scan-input-options-cell scan-input-advanced-only" data-property = "search-options" > < span > Search types:< / span > < / div >
< div class = "scan-input-content-cell scan-input-options-cell scan-input-advanced-only" data-property = "search-options" >
< label class = "scan-input-checkbox-item" >
< label class = "checkbox" > < input type = "checkbox" class = "scan-input-settings-checkbox" data-property = "options.searchTerms" > < span class = "checkbox-body" > < span class = "checkbox-fill" > < / span > < span class = "checkbox-border" > < / span > < span class = "checkbox-check" > < / span > < / span > < / label >
< span > Search for terms< / span >
< / label >
< label class = "scan-input-checkbox-item" >
< label class = "checkbox" > < input type = "checkbox" class = "scan-input-settings-checkbox" data-property = "options.searchKanji" > < span class = "checkbox-body" > < span class = "checkbox-fill" > < / span > < span class = "checkbox-border" > < / span > < span class = "checkbox-check" > < / span > < / span > < / label >
< span > Search for kanji< / span >
< / label >
< / div >
2022-06-03 21:11:32 +00:00
< div class = "scan-input-prefix-cell scan-input-options-cell scan-input-advanced-only" data-property = "touch-options" > < span > Touch options:< / span > < / div >
< div class = "scan-input-content-cell scan-input-options-cell scan-input-advanced-only" data-property = "touch-options" >
< label class = "scan-input-checkbox-item" >
< label class = "checkbox" > < input type = "checkbox" class = "scan-input-settings-checkbox" data-property = "options.scanOnTouchPress" > < span class = "checkbox-body" > < span class = "checkbox-fill" > < / span > < span class = "checkbox-border" > < / span > < span class = "checkbox-check" > < / span > < / span > < / label >
< span > Scan on touch press< / span >
< / label >
< label class = "scan-input-checkbox-item" >
< label class = "checkbox" > < input type = "checkbox" class = "scan-input-settings-checkbox" data-property = "options.scanOnTouchRelease" > < span class = "checkbox-body" > < span class = "checkbox-fill" > < / span > < span class = "checkbox-border" > < / span > < span class = "checkbox-check" > < / span > < / span > < / label >
< span > Scan on touch release< / span >
< / label >
2021-01-03 01:30:11 +00:00
< label class = "scan-input-checkbox-item" >
< label class = "checkbox" > < input type = "checkbox" class = "scan-input-settings-checkbox" data-property = "options.scanOnTouchMove" > < span class = "checkbox-body" > < span class = "checkbox-fill" > < / span > < span class = "checkbox-border" > < / span > < span class = "checkbox-check" > < / span > < / span > < / label >
< span > Scan on touch move< / span >
< / label >
< label class = "scan-input-checkbox-item" >
2022-06-03 21:11:32 +00:00
< label class = "checkbox" > < input type = "checkbox" class = "scan-input-settings-checkbox" data-property = "options.preventTouchScrolling" > < span class = "checkbox-body" > < span class = "checkbox-fill" > < / span > < span class = "checkbox-border" > < / span > < span class = "checkbox-check" > < / span > < / span > < / label >
< span > Prevent touch scrolling< / span >
2021-01-03 01:30:11 +00:00
< / label >
2022-06-03 21:11:32 +00:00
< / div >
< div class = "scan-input-prefix-cell scan-input-options-cell scan-input-advanced-only" data-property = "pen-options" > < span > Pen options:< / span > < / div >
< div class = "scan-input-content-cell scan-input-options-cell scan-input-advanced-only" data-property = "pen-options" >
2021-01-03 01:30:11 +00:00
< label class = "scan-input-checkbox-item" >
< label class = "checkbox" > < input type = "checkbox" class = "scan-input-settings-checkbox" data-property = "options.scanOnPenPress" > < span class = "checkbox-body" > < span class = "checkbox-fill" > < / span > < span class = "checkbox-border" > < / span > < span class = "checkbox-check" > < / span > < / span > < / label >
< span > Scan on pen press< / span >
< / label >
< label class = "scan-input-checkbox-item" >
< label class = "checkbox" > < input type = "checkbox" class = "scan-input-settings-checkbox" data-property = "options.scanOnPenRelease" > < span class = "checkbox-body" > < span class = "checkbox-fill" > < / span > < span class = "checkbox-border" > < / span > < span class = "checkbox-check" > < / span > < / span > < / label >
< span > Scan on pen release< / span >
< / label >
< label class = "scan-input-checkbox-item" >
2022-06-03 21:11:32 +00:00
< label class = "checkbox" > < input type = "checkbox" class = "scan-input-settings-checkbox" data-property = "options.scanOnPenMove" > < span class = "checkbox-body" > < span class = "checkbox-fill" > < / span > < span class = "checkbox-border" > < / span > < span class = "checkbox-check" > < / span > < / span > < / label >
< span > Scan on pen move (while touched)< / span >
< / label >
< label class = "scan-input-checkbox-item" >
< label class = "checkbox" > < input type = "checkbox" class = "scan-input-settings-checkbox" data-property = "options.scanOnPenHover" > < span class = "checkbox-body" > < span class = "checkbox-fill" > < / span > < span class = "checkbox-border" > < / span > < span class = "checkbox-check" > < / span > < / span > < / label >
< span > Scan on pen hover (before touched)< / span >
< / label >
< label class = "scan-input-checkbox-item" >
< label class = "checkbox" > < input type = "checkbox" class = "scan-input-settings-checkbox" data-property = "options.scanOnPenReleaseHover" > < span class = "checkbox-body" > < span class = "checkbox-fill" > < / span > < span class = "checkbox-border" > < / span > < span class = "checkbox-check" > < / span > < / span > < / label >
< span > Scan on pen hover (after touched)< / span >
< / label >
< label class = "scan-input-checkbox-item" >
< label class = "checkbox" > < input type = "checkbox" class = "scan-input-settings-checkbox" data-property = "options.preventPenScrolling" > < span class = "checkbox-body" > < span class = "checkbox-fill" > < / span > < span class = "checkbox-border" > < / span > < span class = "checkbox-check" > < / span > < / span > < / label >
< span > Prevent pen scrolling< / span >
2021-01-03 01:30:11 +00:00
< / label >
< / div >
< / div >
< / div > < / template >
2021-01-24 02:07:45 +00:00
< template id = "scanning-inputs-menu-template" > < div class = "popup-menu-container" tabindex = "-1" role = "dialog" > < div class = "popup-menu" > < div class = "popup-menu-body" >
2021-01-03 01:30:11 +00:00
< button class = "popup-menu-item" data-menu-action = "showAdvanced" > Show advanced options< / button >
< button class = "popup-menu-item" data-menu-action = "hideAdvanced" > Hide advanced options< / button >
< button class = "popup-menu-item" data-menu-action = "clearInputs" > Clear inputs< / button >
< button class = "popup-menu-item" data-menu-action = "remove" > Remove< / button >
2021-01-24 02:07:45 +00:00
< / div > < / div > < / div > < / template >
2021-01-03 01:30:11 +00:00
2020-12-07 01:37:19 +00:00
<!-- Input action prevention modal -->
2021-01-31 00:47:16 +00:00
< div id = "input-action-prevention-modal" class = "modal" tabindex = "-1" role = "dialog" hidden > < div class = "modal-content modal-content-small" >
2020-12-07 01:37:19 +00:00
< div class = "modal-header" > < div class = "modal-title" > Input Action Prevention< / div > < / div >
< div class = "modal-body" >
2022-04-02 19:24:59 +00:00
< div >
Prevent middle mouse button actions on:
< a tabindex = "0" class = "more-toggle more-only" data-parent-distance = "2" > (?)< / a >
< / div >
< div class = "more" hidden >
< p >
This option is used to disable the default action of the middle mouse button in different contexts.
This can be useful for preventing the scroll action that the middle mouse button is typically mapped to,
which is otherwise difficult to disable inside extension pages via other means.
< / p >
< p >
< a tabindex = "0" class = "more-toggle" data-parent-distance = "3" > Less… < / a >
< / p >
< / div >
< div class = "input-prevention-option-list" >
< label class = "input-prevention-option-list-item" >
2020-12-07 01:37:19 +00:00
< label class = "checkbox" > < input type = "checkbox" data-setting = "scanning.preventMiddleMouse.onWebPages" > < span class = "checkbox-body" > < span class = "checkbox-fill" > < / span > < span class = "checkbox-border" > < / span > < span class = "checkbox-check" > < / span > < / span > < / label >
< span > Webpages< / span >
< / label >
2022-04-02 19:24:59 +00:00
< label class = "input-prevention-option-list-item" >
2020-12-07 01:37:19 +00:00
< label class = "checkbox" > < input type = "checkbox" data-setting = "scanning.preventMiddleMouse.onPopupPages" > < span class = "checkbox-body" > < span class = "checkbox-fill" > < / span > < span class = "checkbox-border" > < / span > < span class = "checkbox-check" > < / span > < / span > < / label >
< span > Popups< / span >
< / label >
2022-04-02 19:24:59 +00:00
< label class = "input-prevention-option-list-item" >
2020-12-07 01:37:19 +00:00
< label class = "checkbox" > < input type = "checkbox" data-setting = "scanning.preventMiddleMouse.onSearchPages" > < span class = "checkbox-body" > < span class = "checkbox-fill" > < / span > < span class = "checkbox-border" > < / span > < span class = "checkbox-check" > < / span > < / span > < / label >
< span > Search page< / span >
< / label >
2022-04-02 19:24:59 +00:00
< label class = "input-prevention-option-list-item" >
2020-12-07 01:37:19 +00:00
< label class = "checkbox" > < input type = "checkbox" data-setting = "scanning.preventMiddleMouse.onSearchQuery" > < span class = "checkbox-body" > < span class = "checkbox-fill" > < / span > < span class = "checkbox-border" > < / span > < span class = "checkbox-check" > < / span > < / span > < / label >
< span > Search query< / span >
< / label >
< / div >
< / div >
< div class = "modal-footer" >
< button data-modal-action = "hide" > Close< / button >
< / div >
< / div > < / div >
<!-- Anki cards modal -->
2021-01-31 00:47:16 +00:00
< div id = "anki-cards-modal" class = "modal" tabindex = "-1" role = "dialog" hidden > < div class = "modal-content" >
2020-12-21 00:59:39 +00:00
< div class = "modal-header" >
< div class = "modal-title" > Anki Cards< / div >
< div class = "modal-header-button-container" >
< div class = "modal-header-button-group" >
< button class = "icon-button modal-header-button" data-modal-action = "expand" > < span class = "icon-button-inner" > < span class = "icon" data-icon = "expand" > < / span > < / span > < / button >
< button class = "icon-button modal-header-button" data-modal-action = "collapse" > < span class = "icon-button-inner" > < span class = "icon" data-icon = "collapse" > < / span > < / span > < / button >
< / div >
< / div >
< / div >
2021-02-26 23:15:04 +00:00
< div >
< div class = "tabs-container" >
< div class = "tabs" >
< label class = "tab" >
< input type = "radio" name = "anki-card-primary-type" data-value = "terms" data-anki-card-menu = "anki-card-terms-field-menu" checked >
< div class = "tab-inner" > < span class = "tab-label" > Terms< / span > < / div >
< / label >
< label class = "tab" >
< input type = "radio" name = "anki-card-primary-type" data-value = "kanji" data-anki-card-menu = "anki-card-kanji-field-menu" >
< div class = "tab-inner" > < span class = "tab-label" > Kanji< / span > < / div >
< / label >
2020-12-07 01:37:19 +00:00
< / div >
2021-02-26 23:15:04 +00:00
< div class = "tabs-right" hidden >
< button class = "icon-button" data-menu-position = "below left" id = "anki-card-primary-type-menu-button" > < span class = "icon-button-inner" > < span class = "icon" data-icon = "kebab-menu" > < / span > < / span > < / button >
2020-12-07 01:37:19 +00:00
< / div >
2021-02-26 23:15:04 +00:00
< / div >
2021-01-28 00:34:14 +00:00
< div class = "modal-separator-line" > < / div >
2021-02-26 23:15:04 +00:00
< / div >
< div class = "modal-body anki-card" id = "anki-card-primary" data-anki-card-type = "terms" data-anki-card-menu = "anki-card-terms-field-menu" >
2020-12-07 01:37:19 +00:00
< div class = "settings-item" > < div class = "settings-item-inner" >
< div class = "settings-item-left" >
< div class = "settings-item-label" > Deck< / div >
< / div >
< div class = "settings-item-right" >
< select class = "anki-card-deck" > < / select >
< / div >
< / div > < / div >
< div class = "settings-item" > < div class = "settings-item-inner" >
< div class = "settings-item-left" >
< div class = "settings-item-label" > Model< / div >
< / div >
< div class = "settings-item-right" >
< select class = "anki-card-model" > < / select >
< / div >
< / div > < / div >
< div class = "anki-card-fields" >
< div class = "anki-card-field-name-header" data-persistent = "true" > Field< / div >
< div class = "anki-card-field-input-header" data-persistent = "true" > Value< / div >
< / div >
< / div >
< div class = "modal-footer" >
< button class = "low-emphasis" data-modal-action = "show,anki-cards-info" > Help< / button >
< button data-modal-action = "hide" > Close< / button >
< / div >
< / div > < / div >
2021-01-31 00:47:16 +00:00
< div id = "anki-cards-info-modal" class = "modal" tabindex = "-1" role = "dialog" hidden > < div class = "modal-content modal-content-full" >
2020-12-21 00:59:39 +00:00
< div class = "modal-header" >
< div class = "modal-title" > Anki Card Information< / div >
< div class = "modal-header-button-container" >
< div class = "modal-header-button-group" >
< button class = "icon-button modal-header-button" data-modal-action = "expand" > < span class = "icon-button-inner" > < span class = "icon" data-icon = "expand" > < / span > < / span > < / button >
< button class = "icon-button modal-header-button" data-modal-action = "collapse" > < span class = "icon-button-inner" > < span class = "icon" data-icon = "collapse" > < / span > < / span > < / button >
< / div >
< / div >
< / div >
2020-12-07 01:37:19 +00:00
< div class = "modal-body" >
< p >
Anki card fields can be populated with information about a term or kanji character by using field markers.
When a card is being generated, field markers are replaced with information about the term or kanji by using the installed dictionaries.
Several preset markers are available, which are described below.
2021-08-28 18:45:25 +00:00
Markers can be customized by adjusting the < a tabindex = "0" data-modal-action = "show,anki-card-templates" > Anki card templates< / a > .
2020-12-07 01:37:19 +00:00
< / p >
< p >
Anki requires the first field in a model to be unique for a card;
therefore, it is recommended to use < code class = "anki-field-marker" > {expression}< / code > as the marker for the first field of term cards,
or < code class = "anki-field-marker" > {character}< / code > for kanji cards.
< / p >
< table class = "anki-field-marker-info-table margin-above" >
2021-01-31 01:44:54 +00:00
< tbody >
< tr class = "anki-field-marker-info-table-heading" >
2020-12-07 01:37:19 +00:00
< td > Marker (for terms)< / td >
< td > Description< / td >
< / tr >
2021-01-31 01:44:54 +00:00
2020-12-07 01:37:19 +00:00
< tr >
< td > < code class = "anki-field-marker" > {audio}< / code > < / td >
< td > Audio sample of a native speaker's pronunciation in MP3 format, if available.< / td >
< / tr >
< tr >
< td > < code class = "anki-field-marker" > {conjugation}< / code > < / td >
< td > Conjugation path from the raw inflected term to the source term.< / td >
< / tr >
< tr >
< td > < code class = "anki-field-marker" > {expression}< / code > < / td >
< td > Term expressed using kanji. If kanji expression is not available, kana is used.< / td >
< / tr >
< tr >
< td > < code class = "anki-field-marker" > {furigana}< / code > < / td >
< td >
Term expressed as kanji with furigana displayed above it.
Example: < ruby > 日本語< rt > にほんご< / rt > < / ruby > .
< / td >
< / tr >
< tr >
< td > < code class = "anki-field-marker" > {furigana-plain}< / code > < / td >
< td >
Term expressed as kanji with furigana displayed next to it in brackets.
Example: 日本語[にほんご].
< / td >
< / tr >
< tr >
< td > < code class = "anki-field-marker" > {glossary}< / code > < / td >
< td > List of definitions for the term.< / td >
< / tr >
< tr >
< td > < code class = "anki-field-marker" > {glossary-brief}< / code > < / td >
< td > List of definitions for the term in a more compact format.< / td >
< / tr >
2021-01-29 02:33:30 +00:00
< tr >
< td > < code class = "anki-field-marker" > {glossary-no-dictionary}< / code > < / td >
< td > List of definitions for the term, except the dictionary tag is omitted.< / td >
< / tr >
2021-03-26 23:50:54 +00:00
< tr >
< td > < code class = "anki-field-marker" > {part-of-speech}< / code > < / td >
< td > Part of speech information for the term.< / td >
< / tr >
2020-12-07 01:37:19 +00:00
< tr >
< td > < code class = "anki-field-marker" > {pitch-accents}< / code > < / td >
< td > List of pitch accent downstep notations for the term.< / td >
< / tr >
< tr >
< td > < code class = "anki-field-marker" > {pitch-accent-graphs}< / code > < / td >
< td > List of pitch accent graphs for the term.< / td >
< / tr >
< tr >
< td > < code class = "anki-field-marker" > {pitch-accent-positions}< / code > < / td >
< td > List of accent downstep positions for the term as a number.< / td >
< / tr >
< tr >
< td > < code class = "anki-field-marker" > {reading}< / code > < / td >
< td > Kana reading for the term, or empty for terms where the expression is the reading.< / td >
< / tr >
< tr >
< td > < code class = "anki-field-marker" > {tags}< / code > < / td >
< td > Grammar and usage tags providing information about the term.< / td >
< / tr >
2021-01-31 01:44:54 +00:00
< tr class = "anki-field-marker-info-table-heading" >
2020-12-07 01:37:19 +00:00
< td > Marker (for kanji)< / td >
< td > Description< / td >
< / tr >
2021-01-31 01:44:54 +00:00
2020-12-07 01:37:19 +00:00
< tr >
< td > < code class = "anki-field-marker" > {character}< / code > < / td >
< td > Unicode glyph representing the current kanji.< / td >
< / tr >
< tr >
< td > < code class = "anki-field-marker" > {glossary}< / code > < / td >
< td > List of definitions for the kanji.< / td >
< / tr >
< tr >
< td > < code class = "anki-field-marker" > {kunyomi}< / code > < / td >
< td > Kunyomi (Japanese reading) for the kanji, expressed as katakana.< / td >
< / tr >
< tr >
< td > < code class = "anki-field-marker" > {onyomi}< / code > < / td >
< td > Onyomi (Chinese reading) for the kanji, expressed as hiragana.< / td >
< / tr >
2021-01-16 20:29:42 +00:00
< tr >
< td > < code class = "anki-field-marker" > {stroke-count}< / code > < / td >
< td > Number of strokes that the kanji character has.< / td >
< / tr >
2021-01-31 01:44:54 +00:00
< tr class = "anki-field-marker-info-table-heading" >
2020-12-07 01:37:19 +00:00
< td > Marker (for both)< / td >
< td > Description< / td >
< / tr >
2021-01-31 01:44:54 +00:00
2020-12-07 01:37:19 +00:00
< tr >
< td > < code class = "anki-field-marker" > {clipboard-image}< / code > < / td >
< td > An image which is stored in the system clipboard, if available.< / td >
< / tr >
< tr >
< td > < code class = "anki-field-marker" > {clipboard-text}< / code > < / td >
< td > Text which is stored in the system clipboard, if available.< / td >
< / tr >
< tr >
< td > < code class = "anki-field-marker" > {cloze-body}< / code > < / td >
< td > Original inflected term as it appeared before being reduced to dictionary form by Yomichan.< / td >
< / tr >
< tr >
< td > < code class = "anki-field-marker" > {cloze-prefix}< / code > < / td >
< td > Fragment of the containing < code class = "anki-field-marker" > {sentence}< / code > starting at the beginning of < code class = "anki-field-marker" > {sentence}< / code > until the beginning of < code class = "anki-field-marker" > {cloze-body}< / code > .< / td >
< / tr >
< tr >
< td > < code class = "anki-field-marker" > {cloze-suffix}< / code > < / td >
< td > Fragment of the containing < code class = "anki-field-marker" > {sentence}< / code > starting at the end of < code class = "anki-field-marker" > {cloze-body}< / code > until the end of < code class = "anki-field-marker" > {sentence}< / code > .< / td >
< / tr >
< tr >
< td > < code class = "anki-field-marker" > {dictionary}< / code > < / td >
< td > Name of the dictionary from which the card is being created.< / td >
< / tr >
< tr >
< td > < code class = "anki-field-marker" > {document-title}< / code > < / td >
< td > Title of the web page that the term or kanji appeared in.< / td >
< / tr >
< tr >
< td > < code class = "anki-field-marker" > {screenshot}< / code > < / td >
< td > Screenshot of the web page taken at the time the term or kanji was added.< / td >
< / tr >
2021-05-18 00:18:37 +00:00
< tr >
< td > < code class = "anki-field-marker" > {search-query}< / code > < / td >
< td > The full search query shown on the search page.< / td >
< / tr >
2021-07-08 00:00:30 +00:00
< tr >
< td > < code class = "anki-field-marker" > {selection-text}< / code > < / td >
< td > The selected text on the search page or popup.< / td >
< / tr >
2020-12-07 01:37:19 +00:00
< tr >
< td > < code class = "anki-field-marker" > {sentence}< / code > < / td >
< td > Sentence, quote, or phrase that the term or kanji appears in from the source content.< / td >
< / tr >
2021-07-09 21:48:27 +00:00
< tr >
< td > < code class = "anki-field-marker" > {sentence-furigana}< / code > < / td >
< td > Sentence, quote, or phrase that the term or kanji appears in from the source content, with furigana added.< / td >
< / tr >
2020-12-07 01:37:19 +00:00
< tr >
< td > < code class = "anki-field-marker" > {url}< / code > < / td >
< td > Address of the web page in which the term or kanji appeared in.< / td >
< / tr >
< / tbody >
< / table >
< / div >
< div class = "modal-footer" >
< button data-modal-action = "hide" > Close< / button >
< / div >
< / div > < / div >
2021-01-03 01:30:11 +00:00
<!-- Anki card templates -->
< template id = "anki-card-field-template" > < div class = "anki-card-field-name-container" > < span class = "anki-card-field-name" > < / span > < / div >
2021-08-20 22:13:56 +00:00
< div class = "anki-card-field-value-container input-group" >
< input type = "text" class = "anki-card-field-value" autocomplete = "off" >
< button class = "anki-card-field-value-menu-button input-suffix input-suffix-icon-button light-icon" data-menu-position = "v-center left" > < span class = "icon" data-icon = "material-down-arrow" > < / span > < / button >
2021-01-03 01:30:11 +00:00
< / div > < / template >
2021-01-24 02:07:45 +00:00
< template id = "anki-card-terms-field-menu-template" > < div class = "popup-menu-container" tabindex = "-1" role = "dialog" > < div class = "popup-menu" > < div class = "popup-menu-body" > < / div > < / div > < / div > < / template >
2021-01-03 01:30:11 +00:00
2021-01-24 02:07:45 +00:00
< template id = "anki-card-kanji-field-menu-template" > < div class = "popup-menu-container" tabindex = "-1" role = "dialog" > < div class = "popup-menu" > < div class = "popup-menu-body" > < / div > < / div > < / div > < / template >
2021-01-03 01:30:11 +00:00
2021-01-24 02:07:45 +00:00
< template id = "anki-card-all-field-menu-template" > < div class = "popup-menu-container" tabindex = "-1" role = "dialog" > < div class = "popup-menu" > < div class = "popup-menu-body" > < / div > < / div > < / div > < / template >
2021-01-03 01:30:11 +00:00
<!-- Anki field template modals -->
2021-01-31 00:47:16 +00:00
< div id = "anki-card-templates-modal" class = "modal" tabindex = "-1" role = "dialog" hidden > < div class = "modal-content modal-content-full" >
2021-01-03 01:30:11 +00:00
< div class = "modal-header" > < div class = "modal-title" > Anki Card Templates< / div > < / div >
< div class = "modal-body anki-card-templates-layout" >
< div class = "anki-card-templates-info" >
< p >
Anki card fields are formatted using the < a href = "https://handlebarsjs.com/" target = "_blank" rel = "noopener noreferrer" > Handlebars.js< / a >
template rendering engine.
Advanced users can modify these templates for full control over what information is included in Anki cards.
< / p >
< p >
2020-12-07 01:37:19 +00:00
Consider copy-pasting the source into a code editor that supports syntax highlighting for easier editing.
< / p >
< / div >
2022-05-30 17:34:37 +00:00
< textarea autocomplete = "off" spellcheck = "false" id = "anki-card-templates-textarea" class = "no-wrap margin-above" data-tab-action = "indent,4" > < / textarea >
< div id = "anki-card-templates-compile-result" class = "code danger-text margin-above" hidden > < / div >
2020-12-07 01:37:19 +00:00
< div class = "anki-card-templates-test-container margin-above" >
< p >
Card templates can be tested using the inputs below.
< / p >
< div class = "anki-card-templates-test-table margin-above" >
< div class = "anki-card-templates-test-table-header" > Scanned text< / div >
< div class = "anki-card-templates-test-table-header" > Card field< / div >
< div > < / div >
2021-02-08 22:52:35 +00:00
< input type = "text" id = "anki-card-templates-test-text-input" class = "form-control" value = "読め" placeholder = "Preview text" autocomplete = "off" lang = "ja" >
2021-08-20 22:13:56 +00:00
< div class = "anki-card-templates-test-input-container input-group" >
< input type = "text" id = "anki-card-templates-test-field-input" value = "{expression}" placeholder = "{marker}" autocomplete = "off" spellcheck = "false" >
< button class = "input-suffix input-suffix-icon-button light-icon" id = "anki-card-templates-test-field-menu-button" data-menu = "anki-card-all-field-menu" data-menu-position = "below left" > < span class = "icon" data-icon = "material-down-arrow" > < / span > < / button >
2020-12-07 01:37:19 +00:00
< / div >
< button id = "anki-card-templates-test-render-button" > Test< / button >
< / div >
< / div >
2022-05-30 17:34:37 +00:00
< div class = "code margin-above" id = "anki-card-templates-render-result" > < em > Card render result< / em > < / div >
2020-12-07 01:37:19 +00:00
< / div >
< div class = "modal-footer" >
< button class = "danger" id = "anki-card-templates-reset-button" > Reset Templates< / button >
< button data-modal-action = "hide" > Close< / button >
< / div >
< / div > < / div >
2021-01-31 00:47:16 +00:00
< div id = "anki-card-templates-reset-modal" class = "modal" tabindex = "-1" role = "dialog" hidden > < div class = "modal-content modal-content-small" >
2020-12-07 01:37:19 +00:00
< div class = "modal-header" > < div class = "modal-title" > Reset Anki Card Templates< / div > < / div >
< div class = "modal-body" >
< p class = "danger-text" >
Are you sure you want to reset the card templates to their default value?
Any changes you made will be lost.
< / p >
< / div >
< div class = "modal-footer" >
< button class = "low-emphasis" data-modal-action = "hide" > Cancel< / button >
< button class = "danger" id = "anki-card-templates-reset-button-confirm" > Reset Templates< / button >
< / div >
< / div > < / div >
<!-- Import/export modals -->
2021-01-31 00:47:16 +00:00
< div id = "settings-import-error-modal" class = "modal" tabindex = "-1" role = "dialog" hidden > < div class = "modal-content modal-content-small" >
2020-12-07 01:37:19 +00:00
< div class = "modal-header" > < div class = "modal-title" > Import Error< / div > < / div >
< div class = "modal-body" >
< p > An error occurred while trying to import the settings file:< / p >
< p class = "danger-text" id = "settings-import-error-message" > < / p >
< p > Additional info can be found in the developer console.< / p >
< / div >
< div class = "modal-footer" >
< button class = "low-emphasis" data-modal-action = "hide" > Close< / button >
< / div >
< / div > < / div >
2021-01-31 00:47:16 +00:00
< div id = "settings-import-warning-modal" class = "modal" tabindex = "-1" role = "dialog" hidden > < div class = "modal-content modal-content-small" >
2020-12-07 01:37:19 +00:00
< div class = "modal-header" > < div class = "modal-title" > Import Security Warning< / div > < / div >
< div class = "modal-body" >
< p >
Settings file contains settings which may pose a security risk.
Only import settings from sources you trust.
< / p >
< ul class = "danger-text" id = "settings-import-warning-message" > < / ul >
< / div >
< div class = "modal-footer" >
< button class = "low-emphasis" data-modal-action = "hide" > Cancel< / button >
< button class = "danger settings-import-warning-import-button" > Import< / button >
< button class = "settings-import-warning-import-button" data-import-sanitize = "true" > Sanitize and Import< / button >
< / div >
< / div > < / div >
2021-01-31 00:47:16 +00:00
< div id = "settings-reset-modal" class = "modal" tabindex = "-1" role = "dialog" hidden > < div class = "modal-content modal-content-small" >
2020-12-07 01:37:19 +00:00
< div class = "modal-header" > < div class = "modal-title" > Reset Settings< / div > < / div >
< div class = "modal-body" >
< p class = "danger-text" >
You are about to reset all Yomichan settings back to their default values.
This will delete all custom profiles you may have created.
< strong > This action cannot be undone.< / strong >
< / p >
< p >
Consider making a backup using the < em > Export Settings< / em > button before resetting
if you want to be able to revert.
< / p >
< p >
Dictionary data will not be deleted, but any installed dictionaries
will need to be re-enabled.
< / p >
< / div >
< div class = "modal-footer" >
< button class = "low-emphasis" data-modal-action = "hide" > Cancel< / button >
< button class = "danger" id = "settings-reset-confirm-button" > Reset All Settings< / button >
< / div >
< / div > < / div >
2021-01-03 17:12:55 +00:00
<!-- Translation modals -->
2021-01-31 00:47:16 +00:00
< div id = "translation-text-replacement-patterns-modal" class = "modal" tabindex = "-1" role = "dialog" hidden > < div class = "modal-content" >
2021-01-03 17:12:55 +00:00
< div class = "modal-header" >
< div class = "modal-title" > Custom Text Replacement Patterns< / div >
< div class = "modal-header-button-container" >
< div class = "modal-header-button-group" >
< button class = "icon-button modal-header-button" data-modal-action = "expand" > < span class = "icon-button-inner" > < span class = "icon" data-icon = "expand" > < / span > < / span > < / button >
< button class = "icon-button modal-header-button" data-modal-action = "collapse" > < span class = "icon-button-inner" > < span class = "icon" data-icon = "collapse" > < / span > < / span > < / button >
< / div >
< / div >
< / div >
< div class = "modal-body" >
< div class = "settings-item" > < div class = "settings-item-inner" > < div class = "settings-item-left" > < div class = "settings-item-label" >
Text replacement patterns are used to modify or remove text that matches certain patterns.
Patterns are defined using
< a href = "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions" target = "_blank" rel = "noreferrer noopener" > regular expression syntax< / a > ,
and the replacement text can use certain
< a href = "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/replace#Specifying_a_string_as_a_parameter" target = "_blank" rel = "noreferrer noopener" > special replacement patterns< / a > .
< / div > < / div > < / div > < / div >
< div class = "settings-item" > < div class = "settings-item-inner" >
< div class = "settings-item-left" >
< div class = "settings-item-label" >
Search original text
< / div >
< div class = "settings-item-description" >
The original unmodified text will also be searched for definitions.
< / div >
< / div >
< div class = "settings-item-right" >
< label class = "toggle" > < input type = "checkbox" data-setting = "translation.textReplacements.searchOriginal" > < 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" > Text replacement patterns< / div >
< / div >
< / div >
< div class = "settings-item-children" >
< div id = "translation-text-replacement-list" class = "generic-list" > < / div >
2021-04-09 02:04:11 +00:00
< div class = "generic-list-empty-indicator" > < em > None defined< / em > < / div >
2021-01-03 17:12:55 +00:00
< / div >
< / div >
< / div >
< div class = "modal-footer" >
2022-06-03 22:19:40 +00:00
< button id = "translation-text-replacement-add" class = "low-emphasis" > Add< / button >
2021-01-03 17:12:55 +00:00
< button data-modal-action = "hide" > Close< / button >
< / div >
< / div > < / div >
<!-- Translation templates -->
< template id = "translation-text-replacement-entry-template" > < div class = "translation-text-replacement-entry" >
< div class = "translation-text-replacement-index generic-list-index-prefix" > < / div >
< div class = "translation-text-replacement-pattern-label" > Pattern:< / div >
< div class = "translation-text-replacement-replacement-label" > Replacement:< / div >
< div class = "translation-text-replacement-pattern-container" >
< input type = "text" class = "translation-text-replacement-pattern code" >
< label class = "translation-text-replacement-checkbox-container" >
< label class = "checkbox" > < input type = "checkbox" class = "translation-text-replacement-checkbox translation-text-replacement-pattern-ignore-case" > < span class = "checkbox-body" > < span class = "checkbox-fill" > < / span > < span class = "checkbox-border" > < / span > < span class = "checkbox-check" > < / span > < / span > < / label >
< span class = "translation-text-replacement-checkbox-label" > Ignore case< / span >
< / label >
< / div >
< div class = "translation-text-replacement-replacement-container" >
< input type = "text" class = "translation-text-replacement-replacement code" >
< / div >
2021-01-22 00:57:43 +00:00
< button class = "icon-button translation-text-replacement-button" data-menu = "translation-text-replacement-entry-menu" data-menu-position = "below left" > < span class = "icon-button-inner" > < span class = "icon" data-icon = "kebab-menu" > < / span > < / span > < / button >
2021-01-03 17:12:55 +00:00
< div class = "translation-text-replacement-test-label translation-text-replacement-test-node" > Test Input:< / div >
< div class = "translation-text-replacement-test-container translation-text-replacement-test-node" >
2021-02-08 22:52:35 +00:00
< input type = "text" class = "translation-text-replacement-test-input" lang = "ja" >
2021-01-03 17:12:55 +00:00
< div class = "translation-text-replacement-test-label-inner" > Output:< / div >
2021-02-08 22:52:35 +00:00
< input type = "text" class = "translation-text-replacement-test-output" lang = "ja" readonly >
2021-01-03 17:12:55 +00:00
< / div >
< / div > < / template >
2021-01-24 02:07:45 +00:00
< template id = "translation-text-replacement-entry-menu-template" > < div class = "popup-menu-container" tabindex = "-1" role = "dialog" > < div class = "popup-menu" > < div class = "popup-menu-body" >
2021-01-03 17:12:55 +00:00
< button class = "popup-menu-item" data-menu-action = "showTest" > Test< / button >
< button class = "popup-menu-item" data-menu-action = "hideTest" > Hide test< / button >
< button class = "popup-menu-item" data-menu-action = "remove" > Remove< / button >
2021-01-24 02:07:45 +00:00
< / div > < / div > < / div > < / template >
2021-01-03 17:12:55 +00:00
2021-01-10 19:43:06 +00:00
<!-- Sentence parsing modal -->
2021-01-31 00:47:16 +00:00
< div id = "sentence-termination-characters-modal" class = "modal" tabindex = "-1" role = "dialog" hidden > < div class = "modal-content" >
2021-01-10 19:43:06 +00:00
< div class = "modal-header" >
< div class = "modal-title" > Sentence Termination Characters< / div >
< div class = "modal-header-button-container" >
< div class = "modal-header-button-group" >
< button class = "icon-button modal-header-button" data-modal-action = "expand" > < span class = "icon-button-inner" > < span class = "icon" data-icon = "expand" > < / span > < / span > < / button >
< button class = "icon-button modal-header-button" data-modal-action = "collapse" > < span class = "icon-button-inner" > < span class = "icon" data-icon = "collapse" > < / span > < / span > < / button >
< / div >
< / div >
< / div >
< div class = "modal-body" >
< p >
Sentences are terminated by punctuation and quotation marks, which can both be configured below.
< / p >
< table class = "sentence-termination-character-list-table" id = "sentence-termination-character-list-table" hidden >
< thead > < tr >
< td > #< / td >
< td > Enabled< / td >
< td > Type< / td >
< td > Character 1< / td >
< td > Character 2< / td >
< td > Include character in sentence< / td >
< td > < / td >
< / tr > < / thead >
< tbody class = "sentence-termination-character-list generic-list" id = "sentence-termination-character-list" > < / tbody >
< / table >
< div id = "sentence-termination-character-list-empty" hidden >
No terminators defined.
< / div >
< / div >
< div class = "modal-footer" >
< button class = "low-emphasis danger" id = "sentence-termination-character-list-reset" > Reset< / button >
< button class = "low-emphasis" id = "sentence-termination-character-list-add" > Add< / button >
< button data-modal-action = "hide" > Close< / button >
< / div >
< / div > < / div >
<!-- Sentence parsing templates -->
< template id = "sentence-termination-character-entry-template" > < tr class = "sentence-termination-character-entry" >
< td class = "generic-list-index-prefix" > < / td >
< td >
< label class = "toggle" > < input type = "checkbox" class = "sentence-termination-character-enabled" > < span class = "toggle-body" > < span class = "toggle-track" > < / span > < span class = "toggle-knob" > < / span > < / span > < / label >
< / td >
< td >
< select class = "sentence-termination-character-type" >
< option value = "terminator" > Terminator< / option >
< option value = "quote" > Quote< / option >
< / select >
< / td >
< td >
2021-02-08 22:52:35 +00:00
< input type = "text" class = "sentence-termination-character-input1" maxlength = "1" lang = "ja" >
2021-01-10 19:43:06 +00:00
< / td >
< td >
2021-02-08 22:52:35 +00:00
< input type = "text" class = "sentence-termination-character-input2" maxlength = "1" lang = "ja" >
2021-01-10 19:43:06 +00:00
< div class = "sentence-termination-character-input2-alt" > — < / div >
< / td >
< td >
< div class = "sentence-termination-character-include-list" >
< label class = "sentence-termination-character-include" >
< label class = "checkbox" > < input type = "checkbox" class = "sentence-termination-character-include-at-start" > < span class = "checkbox-body" > < span class = "checkbox-fill" > < / span > < span class = "checkbox-border" > < / span > < span class = "checkbox-check" > < / span > < / span > < / label >
< span > At start< / span >
< / label >
< label class = "sentence-termination-character-include" >
< label class = "checkbox" > < input type = "checkbox" class = "sentence-termination-character-include-at-end" > < span class = "checkbox-body" > < span class = "checkbox-fill" > < / span > < span class = "checkbox-border" > < / span > < span class = "checkbox-check" > < / span > < / span > < / label >
< span > At end< / span >
< / label >
< / div >
< / td >
< td >
2021-01-22 00:57:43 +00:00
< button class = "icon-button sentence-termination-character-entry-button" data-menu = "sentence-termination-character-entry-menu" data-menu-position = "below left" > < span class = "icon-button-inner" > < span class = "icon" data-icon = "kebab-menu" > < / span > < / span > < / button >
2021-01-10 19:43:06 +00:00
< / td >
< / tr > < / template >
2021-01-24 02:07:45 +00:00
< template id = "sentence-termination-character-entry-menu-template" > < div class = "popup-menu-container" tabindex = "-1" role = "dialog" > < div class = "popup-menu" > < div class = "popup-menu-body" >
2021-01-10 19:43:06 +00:00
< button class = "popup-menu-item" data-menu-action = "delete" > Delete< / button >
2021-01-24 02:07:45 +00:00
< / div > < / div > < / div > < / template >
2021-01-10 19:43:06 +00:00
2021-01-15 01:56:18 +00:00
<!-- Keyboard shortcuts modal -->
2021-01-31 00:47:16 +00:00
< div id = "keyboard-shortcuts-modal" class = "modal" tabindex = "-1" role = "dialog" hidden > < div class = "modal-content modal-content-full" >
2021-01-15 01:56:18 +00:00
< div class = "modal-header" >
< div class = "modal-title" > Keyboard Shortcuts< / div >
< div class = "modal-header-button-container" >
< div class = "modal-header-button-group" >
< button class = "icon-button modal-header-button" data-modal-action = "expand" > < span class = "icon-button-inner" > < span class = "icon" data-icon = "expand" > < / span > < / span > < / button >
< button class = "icon-button modal-header-button" data-modal-action = "collapse" > < span class = "icon-button-inner" > < span class = "icon" data-icon = "collapse" > < / span > < / span > < / button >
< / div >
< / div >
< / div >
< div class = "modal-body" >
< div class = "hotkey-list generic-list" id = "hotkey-list" > < / div >
< div class = "hotkey-list-empty" id = "hotkey-list-empty" hidden >
No keyboard shortcuts defined.
< / div >
< / div >
< div class = "modal-footer" >
2021-03-28 03:03:06 +00:00
< button class = "low-emphasis danger" data-modal-action = "show,keyboard-shortcuts-reset" > Reset< / button >
2021-01-15 01:56:18 +00:00
< button class = "low-emphasis" id = "hotkey-list-add" > Add< / button >
< button data-modal-action = "hide" > Close< / button >
< / div >
< / div > < / div >
2021-01-31 00:47:16 +00:00
< div id = "extension-keyboard-shortcuts-modal" class = "modal" tabindex = "-1" role = "dialog" hidden > < div class = "modal-content" >
2021-01-28 00:34:14 +00:00
< div class = "modal-header" >
< div class = "modal-title" > Native Keyboard Shortcuts< / div >
< div class = "modal-header-button-container" >
< div class = "modal-header-button-group" >
< button class = "icon-button modal-header-button" data-modal-action = "expand" > < span class = "icon-button-inner" > < span class = "icon" data-icon = "expand" > < / span > < / span > < / button >
< button class = "icon-button modal-header-button" data-modal-action = "collapse" > < span class = "icon-button-inner" > < span class = "icon" data-icon = "collapse" > < / span > < / span > < / button >
< / div >
< / div >
< / div >
< div class = "modal-body" >
< div >
< p data-show-for-browser = "chrome edge" >
The native keyboard shortcuts are listed below,
but cannot be configured from within the extension on this browser.
To configure these shortcuts:
< / p >
< p data-show-for-browser = "firefox" >
The native keyboard shortcuts can be configured below on this browser,
or by doing the following:
< / p >
< ul data-show-for-browser = "chrome" >
2021-08-28 18:45:25 +00:00
< li > Open < a tabindex = "0" data-special-url = "chrome://extensions/shortcuts" > chrome://extensions/shortcuts< / a > in a new tab.< / li >
2021-01-28 00:34:14 +00:00
< li > Find the < em > Yomichan< / em > section and configure the shortcuts.< / li >
< / ul >
< ul data-show-for-browser = "edge" >
2021-08-28 18:45:25 +00:00
< li > Open < a tabindex = "0" data-special-url = "edge://extensions/shortcuts" > edge://extensions/shortcuts< / a > in a new tab.< / li >
2021-01-28 00:34:14 +00:00
< li > Find the < em > Yomichan< / em > section and configure the shortcuts.< / li >
< / ul >
< ul data-show-for-browser = "firefox" >
2021-08-28 18:45:25 +00:00
< li > Open the extensions page (< a tabindex = "0" data-select-on-click = "" > about:addons< / a > )< / li >
2021-01-28 00:34:14 +00:00
< li > Click the button on the right with the gear icon, then click < em > Manage Extension Shortcuts< / em > .< / li >
< li > Find the < em > Yomichan< / em > section and configure the shortcuts.< / li >
< / ul >
< / div >
< div class = "modal-separator-line" > < / div >
< div class = "modal-settings-group" id = "extension-hotkey-list" > < / div >
< / div >
< div class = "modal-footer" >
< button class = "low-emphasis danger" id = "extension-hotkey-list-reset-all" > Reset All< / button >
< button class = "low-emphasis danger" id = "extension-hotkey-list-clear-all" > Clear All< / button >
< button data-modal-action = "hide" > Close< / button >
< / div >
< / div > < / div >
2021-03-28 03:03:06 +00:00
< div id = "keyboard-shortcuts-reset-modal" class = "modal" tabindex = "-1" role = "dialog" hidden > < div class = "modal-content modal-content-small" >
< div class = "modal-header" > < div class = "modal-title" > Confirm Keyboard Shortcuts Reset< / div > < / div >
< div class = "modal-body" >
Are you sure you want to reset all keyboard shortcuts to their defaults?
< / div >
< div class = "modal-footer" >
< button class = "low-emphasis" data-modal-action = "hide" > Cancel< / button >
< button class = "danger" id = "hotkey-list-reset" data-modal-action = "hide" > Reset All< / button >
< / div >
< / div > < / div >
2021-01-15 01:56:18 +00:00
<!-- Keyboard shortcuts templates -->
< template id = "hotkey-list-item-template" > < div class = "hotkey-list-item" > < div class = "hotkey-list-item-grid" >
< div class = "hotkey-list-item-index-cell generic-list-index-prefix" > < / div >
< div class = "hotkey-list-item-button-cell" >
< div class = "input-height-icon-button-container" >
2021-01-22 00:57:43 +00:00
< button class = "icon-button hotkey-list-item-button" data-menu = "hotkey-list-item-menu" data-menu-position = "below left" > < span class = "icon-button-inner" > < span class = "icon" data-icon = "kebab-menu" > < / span > < / span > < / button >
2021-01-15 01:56:18 +00:00
< / div >
< / div >
< div class = "hotkey-list-item-input-label-cell" > Input:< / div >
< div class = "hotkey-list-item-input-cell" >
< input type = "text" class = "hotkey-list-item-input" autocomplete = "off" spellcheck = "false" placeholder = "No input" data-property = "include" >
2021-08-20 22:13:56 +00:00
< div class = "hotkey-list-item-enabled-button-container input-group" >
< button class = "hotkey-list-item-enabled-button input-button" >
2021-03-27 17:21:34 +00:00
< label class = "hotkey-list-item-enabled-button-label button-inner-label" >
< span class = "checkbox" > < input type = "checkbox" class = "hotkey-list-item-enabled" > < span class = "checkbox-body" > < span class = "checkbox-fill" > < / span > < span class = "checkbox-border" > < / span > < span class = "checkbox-check" > < / span > < / span > < / span >
< span > Enabled< / span >
< / label >
< / button >
2021-08-20 22:13:56 +00:00
< button class = "hotkey-list-item-scopes-button input-suffix input-suffix-icon-button light-icon" data-menu = "hotkey-list-item-scopes-menu" data-menu-position = "below left" > < span class = "icon" data-icon = "material-down-arrow" > < / span > < / button >
2021-03-27 17:21:34 +00:00
< / div >
2021-01-15 01:56:18 +00:00
< / div >
< div class = "hotkey-list-item-action-label-cell" > Action:< / div >
< div class = "hotkey-list-item-action-cell" >
< select class = "hotkey-list-item-action" >
2021-03-28 02:30:45 +00:00
< option value = "" > None< / option >
< option value = "close" > Close< / option >
< option value = "focusSearchBox" > Focus search box< / option >
< option value = "nextEntry" > Go to next entry< / option >
< option value = "previousEntry" > Go to previous entry< / option >
< option value = "lastEntry" > Go to last entry< / option >
< option value = "firstEntry" > Go to first entry< / option >
< option value = "nextEntryDifferentDictionary" > Go to next dictionary< / option >
< option value = "previousEntryDifferentDictionary" > Go to previous dictionary< / option >
< option value = "historyBackward" > Navigate backward in history< / option >
< option value = "historyForward" > Navigate forward in history< / option >
< option value = "addNoteKanji" > Add kanji note< / option >
< option value = "addNoteTermKanji" > Add term note< / option >
< option value = "addNoteTermKana" > Add term note (reading)< / option >
< option value = "viewNote" > View note< / option >
< option value = "playAudio" > Play audio< / option >
2021-03-28 15:27:37 +00:00
< option value = "playAudioFromSource" > Play audio from source< / option >
2021-03-28 02:30:45 +00:00
< option value = "copyHostSelection" > Copy host window selection< / option >
< option value = "scanSelectedText" > Scan selected text< / option >
2021-04-27 01:11:43 +00:00
< option value = "scanTextAtCaret" > Scan text at caret< / option >
2021-03-28 18:04:20 +00:00
< option value = "toggleOption" > Toggle option< / option >
2021-01-15 01:56:18 +00:00
< / select >
2021-03-28 02:30:45 +00:00
< div class = "hotkey-list-item-action-argument-container" > < / div >
2021-01-15 01:56:18 +00:00
< / div >
< / div > < / div > < / template >
2021-01-28 00:34:14 +00:00
< template id = "extension-hotkey-list-item-template" > < div class = "settings-item" > < div class = "settings-item-inner settings-item-inner-wrappable" >
< div class = "settings-item-left" >
< div class = "settings-item-label" > < / div >
< / div >
< div class = "settings-item-right" >
< div class = "flex-row-nowrap" >
< input type = "text" >
< button class = "icon-button extension-hotkey-list-item-button" data-menu = "extension-hotkey-list-item-menu" data-menu-position = "below left" > < span class = "icon-button-inner" > < span class = "icon" data-icon = "kebab-menu" > < / span > < / span > < / button >
< / div >
< / div >
< / div > < / div > < / template >
2021-01-24 02:07:45 +00:00
< template id = "hotkey-list-item-menu-template" > < div class = "popup-menu-container" tabindex = "-1" role = "dialog" > < div class = "popup-menu" > < div class = "popup-menu-body" >
2021-01-15 01:56:18 +00:00
< button class = "popup-menu-item" data-menu-action = "clearInputs" > Clear input< / button >
< button class = "popup-menu-item" data-menu-action = "resetInput" > Reset input< / button >
2021-03-28 02:56:48 +00:00
< button class = "popup-menu-item" data-menu-action = "resetArgument" > Reset argument< / button >
2021-01-15 01:56:18 +00:00
< button class = "popup-menu-item" data-menu-action = "delete" > Delete< / button >
2021-01-24 02:07:45 +00:00
< / div > < / div > < / div > < / template >
2021-01-15 01:56:18 +00:00
2021-03-27 17:21:34 +00:00
< template id = "hotkey-list-item-scopes-menu-template" > < div class = "popup-menu-container" tabindex = "-1" role = "dialog" > < div class = "popup-menu" > < div class = "popup-menu-body" >
< button class = "popup-menu-item hotkey-scope-popup-menu-item" data-menu-action = "toggleScope" data-scope = "web" > < label class = "hotkey-scope-popup-menu-item-label button-inner-label" >
< label class = "checkbox" > < input type = "checkbox" class = "hotkey-scope-checkbox" data-scope = "web" > < span class = "checkbox-body" > < span class = "checkbox-fill" > < / span > < span class = "checkbox-border" > < / span > < span class = "checkbox-check" > < / span > < / span > < / label >
< span > Web< / span >
< / label > < / button >
< button class = "popup-menu-item hotkey-scope-popup-menu-item" data-menu-action = "toggleScope" data-scope = "popup" > < label class = "hotkey-scope-popup-menu-item-label button-inner-label" >
< label class = "checkbox" > < input type = "checkbox" class = "hotkey-scope-checkbox" data-scope = "popup" > < span class = "checkbox-body" > < span class = "checkbox-fill" > < / span > < span class = "checkbox-border" > < / span > < span class = "checkbox-check" > < / span > < / span > < / label >
< span > Popup< / span >
< / label > < / button >
< button class = "popup-menu-item hotkey-scope-popup-menu-item" data-menu-action = "toggleScope" data-scope = "search" > < label class = "hotkey-scope-popup-menu-item-label button-inner-label" >
< label class = "checkbox" > < input type = "checkbox" class = "hotkey-scope-checkbox" data-scope = "search" > < span class = "checkbox-body" > < span class = "checkbox-fill" > < / span > < span class = "checkbox-border" > < / span > < span class = "checkbox-check" > < / span > < / span > < / label >
< span > Search< / span >
< / label > < / button >
< / div > < / div > < / div > < / template >
2021-01-28 00:34:14 +00:00
< template id = "extension-hotkey-list-item-menu-template" > < div class = "popup-menu-container" tabindex = "-1" role = "dialog" > < div class = "popup-menu" > < div class = "popup-menu-body" >
< button class = "popup-menu-item" data-menu-action = "clearInput" > Clear input< / button >
< button class = "popup-menu-item" data-menu-action = "resetInput" > Reset input< / button >
< / div > < / div > < / div > < / template >
2021-03-28 02:30:45 +00:00
< template id = "hotkey-argument-move-offset-template" > < div class = "flex-row-nowrap" >
< span class = "hotkey-argument-label" > Count:< / span >
< input type = "number" step = "1" min = "1" class = "hotkey-argument-input" >
< / div > < / template >
2021-03-28 18:04:20 +00:00
< template id = "hotkey-argument-setting-path-template" > < div class = "flex-row-nowrap" >
< span class = "hotkey-argument-label" > Path:< / span >
< input type = "text" class = "hotkey-argument-input horizontal-flex-fill" spellcheck = "false" autocomplete = "off" >
< / div > < / template >
2021-03-28 15:27:37 +00:00
< template id = "hotkey-argument-audio-source-template" > < div class = "flex-row-nowrap" >
< span class = "hotkey-argument-label" > Source:< / span >
2021-03-28 18:04:20 +00:00
< select class = "audio-source-select hotkey-argument-input horizontal-flex-fill" >
2021-03-28 15:27:37 +00:00
< option value = "jpod101" > JapanesePod101< / option >
< option value = "jpod101-alternate" > JapanesePod101 (Alternate)< / option >
< option value = "jisho" > Jisho.org< / option >
< option value = "text-to-speech" > Text-to-speech< / option >
< option value = "text-to-speech-reading" > Text-to-speech (Kana reading)< / option >
< option value = "custom" > Custom< / option >
< / select >
< / div > < / template >
2021-01-15 01:56:18 +00:00
2020-12-07 01:37:19 +00:00
<!-- Scripts -->
2021-02-14 02:28:47 +00:00
< script src = "/lib/wanakana.min.js" > < / script >
2020-12-07 01:37:19 +00:00
2021-02-14 03:52:28 +00:00
< script src = "/js/core.js" > < / script >
2021-02-15 01:25:41 +00:00
2021-02-14 03:52:28 +00:00
< script src = "/js/yomichan.js" > < / script >
2021-02-15 01:25:41 +00:00
2022-05-30 01:42:26 +00:00
< script src = "/js/comm/anki-connect.js" > < / script >
2021-02-14 03:52:28 +00:00
< script src = "/js/comm/api.js" > < / script >
2021-02-15 01:25:41 +00:00
< script src = "/js/comm/cross-frame-api.js" > < / script >
< script src = "/js/data/anki-note-builder.js" > < / script >
2021-02-25 02:54:58 +00:00
< script src = "/js/data/anki-util.js" > < / script >
2021-02-15 01:25:41 +00:00
< script src = "/js/data/database.js" > < / script >
< script src = "/js/data/json-schema.js" > < / script >
< script src = "/js/data/options-util.js" > < / script >
< script src = "/js/data/permissions-util.js" > < / script >
2022-08-20 16:53:22 +00:00
< script src = "/js/data/sandbox/array-buffer-util.js" > < / script >
2021-02-14 03:52:28 +00:00
< script src = "/js/dom/document-focus-controller.js" > < / script >
< script src = "/js/dom/document-util.js" > < / script >
< script src = "/js/dom/dom-data-binder.js" > < / script >
< script src = "/js/dom/html-template-collection.js" > < / script >
< script src = "/js/dom/panel-element.js" > < / script >
< script src = "/js/dom/popup-menu.js" > < / script >
< script src = "/js/dom/selector-observer.js" > < / script >
2022-05-29 01:57:25 +00:00
< script src = "/js/extension/environment.js" > < / script >
2021-02-15 01:25:41 +00:00
< script src = "/js/general/cache-map.js" > < / script >
< script src = "/js/general/object-property-accessor.js" > < / script >
2021-02-14 03:52:28 +00:00
< script src = "/js/general/task-accumulator.js" > < / script >
2021-02-15 01:25:41 +00:00
< script src = "/js/input/hotkey-util.js" > < / script >
2021-07-31 16:30:31 +00:00
< script src = "/js/language/dictionary-importer-media-loader.js" > < / script >
2021-08-28 18:22:16 +00:00
< script src = "/js/language/dictionary-worker.js" > < / script >
2021-07-17 21:10:25 +00:00
< script src = "/js/language/sandbox/dictionary-data-util.js" > < / script >
< script src = "/js/language/sandbox/japanese-util.js" > < / script >
2021-02-15 01:25:41 +00:00
< script src = "/js/media/audio-system.js" > < / script >
< script src = "/js/media/text-to-speech-audio.js" > < / script >
2022-05-29 01:57:25 +00:00
< script src = "/js/pages/common/extension-content-controller.js" > < / script >
2021-02-15 04:10:01 +00:00
< script src = "/js/pages/settings/anki-controller.js" > < / script >
< script src = "/js/pages/settings/anki-templates-controller.js" > < / script >
< script src = "/js/pages/settings/audio-controller.js" > < / script >
< script src = "/js/pages/settings/backup-controller.js" > < / script >
2021-03-31 22:17:28 +00:00
< script src = "/js/pages/settings/collapsible-dictionary-controller.js" > < / script >
2021-02-15 04:10:01 +00:00
< script src = "/js/pages/settings/dictionary-controller.js" > < / script >
< script src = "/js/pages/settings/dictionary-import-controller.js" > < / script >
< script src = "/js/pages/settings/extension-keyboard-shortcuts-controller.js" > < / script >
< script src = "/js/pages/settings/generic-setting-controller.js" > < / script >
< script src = "/js/pages/settings/keyboard-mouse-input-field.js" > < / script >
< script src = "/js/pages/settings/keyboard-shortcuts-controller.js" > < / script >
< script src = "/js/pages/settings/mecab-controller.js" > < / script >
< script src = "/js/pages/settings/modal.js" > < / script >
< script src = "/js/pages/settings/modal-controller.js" > < / script >
< script src = "/js/pages/settings/nested-popups-controller.js" > < / script >
< script src = "/js/pages/settings/permissions-toggle-controller.js" > < / script >
2021-03-03 01:27:51 +00:00
< script src = "/js/pages/settings/persistent-storage-controller.js" > < / script >
2021-02-15 04:10:01 +00:00
< script src = "/js/pages/settings/popup-preview-controller.js" > < / script >
< script src = "/js/pages/settings/popup-window-controller.js" > < / script >
< script src = "/js/pages/settings/profile-conditions-ui.js" > < / script >
< script src = "/js/pages/settings/profile-controller.js" > < / script >
< script src = "/js/pages/settings/scan-inputs-controller.js" > < / script >
< script src = "/js/pages/settings/scan-inputs-simple-controller.js" > < / script >
< script src = "/js/pages/settings/secondary-search-dictionary-controller.js" > < / script >
< script src = "/js/pages/settings/sentence-termination-characters-controller.js" > < / script >
< script src = "/js/pages/settings/settings-controller.js" > < / script >
< script src = "/js/pages/settings/settings-display-controller.js" > < / script >
2021-09-26 15:08:16 +00:00
< script src = "/js/pages/settings/sort-frequency-dictionary-controller.js" > < / script >
2021-02-15 04:10:01 +00:00
< script src = "/js/pages/settings/status-footer.js" > < / script >
< script src = "/js/pages/settings/storage-controller.js" > < / script >
< script src = "/js/pages/settings/translation-text-replacements-controller.js" > < / script >
2021-02-15 01:25:41 +00:00
< script src = "/js/templates/template-patcher.js" > < / script >
< script src = "/js/templates/template-renderer-proxy.js" > < / script >
2021-02-14 04:20:22 +00:00
2021-02-15 04:10:01 +00:00
< script src = "/js/pages/settings/settings-main.js" > < / script >
2020-12-07 01:37:19 +00:00
< / body >
< / html >