{ "version": 0, "date": "2023-02-13 20:08:05", "url": "chrome-extension://ogmnaimimemjmbakcfefmnahgdfhfami/", "manifest": { "author": "Alex Yatskov", "background": { "page": "background.html", "persistent": true }, "browser_action": { "default_icon": { "16": "images/icon16.png", "19": "images/icon19.png", "32": "images/icon32.png", "38": "images/icon38.png", "48": "images/icon48.png", "64": "images/icon64.png", "128": "images/icon128.png" }, "default_popup": "action-popup.html", "default_title": "Yomichan" }, "commands": { "openInfoPage": { "description": "Open the info page" }, "openPopupWindow": { "description": "Open the popup window" }, "openSearchPage": { "description": "Open the search page", "suggested_key": { "default": "Alt+Insert" } }, "openSettingsPage": { "description": "Open the settings page" }, "toggleTextScanning": { "description": "Toggle text scanning on/off", "suggested_key": { "default": "Alt+Delete" } } }, "content_scripts": [ { "all_frames": true, "js": [ "js/core.js", "js/yomichan.js", "js/app/frontend.js", "js/app/popup.js", "js/app/popup-factory.js", "js/app/popup-proxy.js", "js/app/popup-window.js", "js/app/theme-controller.js", "js/comm/api.js", "js/comm/cross-frame-api.js", "js/comm/frame-ancestry-handler.js", "js/comm/frame-client.js", "js/comm/frame-offset-forwarder.js", "js/data/sandbox/string-util.js", "js/dom/dom-text-scanner.js", "js/dom/document-util.js", "js/dom/text-source-element.js", "js/dom/text-source-range.js", "js/input/hotkey-handler.js", "js/language/text-scanner.js", "js/script/dynamic-loader.js", "js/app/content-script-main.js" ], "match_about_blank": true, "matches": [ "http://*/*", "https://*/*", "file://*/*" ], "run_at": "document_idle" } ], "content_security_policy": "default-src 'self'; img-src blob: 'self'; style-src 'self' 'unsafe-inline'; media-src *; connect-src *", "description": "Japanese dictionary with Anki integration", "differential_fingerprint": "1.538e2c16740cf33c6fddf6bac8cc491de18de85a8122a5a4b52cea444343b7e2", "icons": { "16": "images/icon16.png", "19": "images/icon19.png", "32": "images/icon32.png", "38": "images/icon38.png", "48": "images/icon48.png", "64": "images/icon64.png", "128": "images/icon128.png" }, "key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAug/0Wtc35jGyy+Jkf4Kt9DUAzvziCJbhwlwzdro0cPnN+2K6Y2rCBVgAJln7SffCKVWa0k6BM3D7m7yydAECgSo8VUn2zUgInXpfQAuI2dG+6OEi0SOu2SkXJFvvAMjM/JAXY0zQRofnxeDRqvT7EtHW9lLwtgLTBuJObuq5zCHAPFa3PZ5ZORvUEmQZ2HDxUxaUZzsFW4kZ/rxPaNXTWe+qM30wqvlk79DBUJVq9zlzsDGM6G5qWcCk3vT5MEGuZVK7IPi6w9dPfOA3myicuywhDxumteg6wFraarMMAR2Stc80Yb9pCZT5Jav9e7eG97DuBAh97IOKrfI6mU8CkwIDAQAB", "manifest_version": 2, "minimum_chrome_version": "57.0.0.0", "name": "Yomichan", "optional_permissions": [ "clipboardRead", "nativeMessaging", "webNavigation" ], "options_ui": { "open_in_tab": true, "page": "settings.html" }, "permissions": [ "", "storage", "clipboardWrite", "unlimitedStorage", "webRequest", "webRequestBlocking" ], "sandbox": { "content_security_policy": "sandbox allow-scripts; default-src 'self'; script-src 'self' 'unsafe-eval'; style-src 'unsafe-inline'", "pages": [ "template-renderer.html" ] }, "update_url": "https://clients2.google.com/service/update2/crx", "version": "22.10.23.0", "web_accessible_resources": [ "popup.html", "template-renderer.html" ] }, "environment": { "browser": "chrome", "platform": { "os": "win" } }, "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36", "permissions": { "origins": [ "", "chrome://favicon/*", "file:///*", "http://*/*", "https://*/*" ], "permissions": [ "clipboardRead", "clipboardWrite", "nativeMessaging", "storage", "unlimitedStorage", "webRequest", "webRequestBlocking" ] }, "options": { "version": 20, "profiles": [ { "name": "Timm", "conditionGroups": [], "options": { "general": { "enable": true, "resultOutputMode": "group", "debugInfo": false, "maxResults": 1000, "showAdvanced": true, "popupDisplayMode": "default", "popupWidth": 400, "popupHeight": 250, "popupHorizontalOffset": 0, "popupVerticalOffset": 10, "popupHorizontalOffset2": 10, "popupVerticalOffset2": 0, "popupHorizontalTextPosition": "below", "popupVerticalTextPosition": "before", "popupScalingFactor": 1, "popupScaleRelativeToPageZoom": false, "popupScaleRelativeToVisualViewport": false, "showGuide": false, "compactTags": true, "glossaryLayoutMode": "default", "mainDictionary": "旺文社国語辞典 第十一版", "popupTheme": "dark", "popupOuterTheme": "site", "customPopupCss": ":root {\n --tag-frequent-background-color: #6ba7b8 !important;\n --tag-frequency-background-color: #81A1C1 !important;\n --accent-color: #8FBCBB !important;\n --progress-bar-track-color: #D8DEE9 !important;\n \n --sidebar-button-background-color: transparent !important;\n --sidebar-button-background-color-hover: #81A1C1 !important;\n --sidebar-button-background-color-active: #6d88a3 !important;\n --sidebar-button-danger-background-color: transparent !important;\n --sidebar-button-danger-background-color-hover: #BF616A !important;\n --sidebar-button-danger-background-color-active: #8a373f !important;\n --sidebar-button-icon-color: #ebffff !important;\n --sidebar-button-disabled-icon-color: #808c8c !important;\n --sidebar-button-danger-icon-color: #ebffff !important;\n\n}\n\n.definition-item[data-dictionary=\"旺文社国語辞典 第十一版\"] {\n background-color: rgba(119, 160, 169, 0.1);\n}\n\n.tag[data-details=\"旺文社国語辞典 第十一版\"] {\n --tag-color: #05C3DE;\n --tag-text-color: color: rgba(255, 255, 255, 0.87);\n}\n\n.definition-item[data-dictionary=\"明鏡国語辞典\"] {\n background-color: rgba(0, 0, 255, 0.04);\n}\n\n.tag[data-details=\"明鏡国語辞典\"] {\n --tag-color: #3333dd;\n}\n\n.definition-item[data-dictionary=\"岩波国語辞典 第六版\"] {\n background-color: rgba(0, 255, 0, 0.02);\n}\n\n.tag[data-details=\"岩波国語辞典 第六版\"] {\n --tag-color: #335533;\n}\n\n\n\n.tag[data-details=\"新明解国語辞典 第七版\"] {\n --tag-color: rgb(162, 44, 41);\n}\n\n.definition-item[data-dictionary=\"大辞林 第三版\"] {\n background-color: rgba(255, 0, 255, 0.01);\n}\n\n.tag[data-details=\"大辞林 第三版\"] {\n --tag-color: #552255;\n}\n\n.definition-item[data-dictionary=\"デジタル大辞泉\"] {\n background-color: #F7F6EB);\n}\n\n.tag[data-details=\"デジタル大辞泉\"] {\n --tag-color: #aa0000;\n}\n\n.definition-item[data-dictionary=\"精選版 日本国語大辞典\"] {\n background-color: rgba(232, 218, 178, 0.1);\n}\n\n.tag[data-details=\"精選版 日本国語大辞典\"] {\n --tag-color: #eeeecc;\n --tag-text-color: black;\n}\n\n.definition-item[data-dictionary=\"ハイブリッド新辞林\"] {\n background-color: rgba(0, 0, 255, 0.0125);\n}\n\n.tag[data-details=\"ハイブリッド新辞林\"] {\n --tag-color: #ddddee;\n --tag-text-color: black;\n}\n\n.definition-item[data-dictionary=\"広辞苑 第七版\"] {\n background-color: rgba(0, 0, 0, 0.03);\n}\n\n.tag[data-details=\"広辞苑 第七版\"] {\n --tag-color: #333333;\n}\n\n\n.definition-list {\n padding: 0;\n}\n\n.definition-item {\n display: inline-block;\n margin-bottom: 10px;\n border-bottom: 1px solid rgba(255, 255, 255, 0.3);\n margin: 0 calc(0px - var(--entry-horizontal-padding));\n width: 100%;\n padding: 10px calc(var(--entry-horizontal-padding)) 10px calc(var(--entry-horizontal-padding));\n}\n\n.gloss-content {\n line-height: 1.5em;\n\n}\n\n\n.kanji-link {\n font-family: しっぽり明朝;\n}\n\n.source-text {\n font-family: しっぽり明朝;\n margin: 5px 0px 0px 7px !important;\n font-weight: 900;\n}\n\n.gloss-content {\n font-family: しっぽり明朝;\n font-size: 21px\n}\n\n.tag-label-content {\n font-family: DF教科書体W4;\n font-size: 15px\n}\n\n.entry {\n padding: 4px;\n}\n\nli.definition-item[data-dictionary='JMdict (German)'] .gloss-list {\n opacity: 0;\n}\n\nli.definition-item[data-dictionary='JMdict (German)']:hover .gloss-list {\n opacity: 1;\n}\n\n\n::-webkit-scrollbar {\n display: none;\n}\n\nbody {\n background: #23272A;\n color: rgba(255, 255, 255, 0.87);\n\n}\n\n.pronunciation-group-list {\n margin: 5px 0px 0px 0;\n}\n\n.pronunciation-group-list {\n}\n\nspan.frequency-group-item {\n display: none;\n}\n\nspan.pronunciation-group-tag-list {\n display: none;\n}\n\nspan.pronunciation-representation-list {\n font-size: 20px;\n display: flex !important;\n flex-wrap: wrap !important;\n align-content: center !important;\n}\n\nspan.pronunciation-downstep-notation-container {\n font-size: 15px;\n display: flex !important;\n flex-wrap: wrap !important;\n align-content: center !important;\n}\n\nspan.pronunciation-graph-container {\n font-size: 15px;\ndisplay: flex !important;\n flex-wrap: wrap !important;\n align-content: center !important;\n}\n\nspan.tag[title=\"popular term\"] {\n display: none;\n}\n\nspan.tag[title=\"listed as common in Ichimango Goi Bunruishuu\"] {\n display: none;\n}\n\nspan.tag[title=\"appears frequently in Mainichi Shimbun\"] {\n display: none;\n}\n\n.inflection-list {\n display: none;\n}\n\n.headword-kanji-link {\n border-bottom: none;\n cursor: pointer;\n}\n\nspan.headword-reading {\n font-family: しっぽり明朝;\n}\n\nspan.pronunciation-character {\n font-family: しっぽり明朝;\n}\n\n", "customPopupOuterCss": "", "enableWanakana": true, "showPitchAccentDownstepNotation": true, "showPitchAccentPositionNotation": true, "showPitchAccentGraph": true, "showIframePopupsInRootFrame": false, "useSecurePopupFrameUrl": true, "usePopupShadowDom": true, "usePopupWindow": false, "popupCurrentIndicatorMode": "triangle", "popupActionBarVisibility": "auto", "popupActionBarLocation": "left", "frequencyDisplayMode": "split-tags-grouped", "termDisplayMode": "term-and-reading", "sortFrequencyDictionary": null, "sortFrequencyDictionaryOrder": "descending" }, "audio": { "enabled": false, "sources": [ { "type": "custom-json", "url": "http://localhost:8770/?term={term}&reading={reading}", "voice": "" } ], "volume": 15, "autoPlay": false }, "scanning": { "inputs": [ { "include": "shift", "exclude": "mouse0", "types": { "mouse": true, "touch": false, "pen": false }, "options": { "showAdvanced": false, "searchTerms": true, "searchKanji": true, "scanOnTouchMove": true, "scanOnPenHover": true, "scanOnPenPress": true, "scanOnPenRelease": false, "preventTouchScrolling": false, "scanOnPenMove": true, "scanOnPenReleaseHover": false, "scanOnTouchPress": true, "scanOnTouchRelease": false, "preventPenScrolling": false } }, { "include": "", "exclude": "", "types": { "mouse": false, "touch": true, "pen": true }, "options": { "showAdvanced": false, "searchTerms": true, "searchKanji": true, "scanOnTouchMove": true, "scanOnPenHover": true, "scanOnPenPress": true, "scanOnPenRelease": false, "preventTouchScrolling": true, "scanOnPenMove": true, "scanOnPenReleaseHover": false, "scanOnTouchPress": true, "scanOnTouchRelease": false, "preventPenScrolling": true } } ], "preventMiddleMouse": { "onWebPages": false, "onPopupPages": false, "onSearchPages": false, "onSearchQuery": false }, "touchInputEnabled": true, "pointerEventsEnabled": false, "selectText": true, "alphanumeric": true, "autoHideResults": false, "delay": 0, "hideDelay": 0, "length": 999999, "deepDomScan": true, "popupNestingMaxDepth": 9999, "enablePopupSearch": false, "enableOnPopupExpressions": true, "enableOnSearchPage": true, "enableSearchTags": false, "layoutAwareScan": true, "matchTypePrefix": false, "hidePopupOnCursorExit": false, "hidePopupOnCursorExitDelay": 0, "normalizeCssZoom": true }, "translation": { "convertHalfWidthCharacters": "true", "convertNumericCharacters": "false", "convertAlphabeticCharacters": "false", "convertHiraganaToKatakana": "false", "convertKatakanaToHiragana": "variant", "collapseEmphaticSequences": "false", "textReplacements": { "searchOriginal": true, "groups": [] } }, "dictionaries": [ { "name": "新明解国語辞典 第七版", "priority": 10, "enabled": true, "allowSecondarySearches": false, "definitionsCollapsible": "not-collapsible" }, { "name": "旺文社国語辞典 第十一版", "priority": 9, "enabled": true, "allowSecondarySearches": false, "definitionsCollapsible": "not-collapsible" }, { "name": "大辞林 第三版", "priority": 8, "enabled": true, "allowSecondarySearches": false, "definitionsCollapsible": "not-collapsible" }, { "name": "明鏡国語辞典", "priority": 6, "enabled": true, "allowSecondarySearches": false, "definitionsCollapsible": "not-collapsible" }, { "name": "ハイブリッド新辞林", "priority": 4, "enabled": true, "allowSecondarySearches": false, "definitionsCollapsible": "not-collapsible" }, { "name": "Kanjium Pitch Accents", "priority": 1, "enabled": true, "allowSecondarySearches": false, "definitionsCollapsible": "not-collapsible" }, { "name": "精選版 日本国語大辞典", "priority": 7, "enabled": true, "allowSecondarySearches": false, "definitionsCollapsible": "not-collapsible" }, { "name": "故事ことわざの辞典", "priority": 12, "enabled": true, "allowSecondarySearches": false, "definitionsCollapsible": "not-collapsible" }, { "name": "新明解四字熟語辞典", "priority": 13, "enabled": true, "allowSecondarySearches": false, "definitionsCollapsible": "not-collapsible" }, { "name": "JMdict (German)", "priority": 5, "enabled": true, "allowSecondarySearches": false, "definitionsCollapsible": "not-collapsible" }, { "name": "JPDB", "priority": 1, "enabled": true, "allowSecondarySearches": false, "definitionsCollapsible": "not-collapsible" }, { "name": "JLPT文法解説まとめ", "priority": 1, "enabled": true, "allowSecondarySearches": false, "definitionsCollapsible": "not-collapsible" }, { "name": "KRDICT", "priority": 1, "enabled": true, "allowSecondarySearches": false, "definitionsCollapsible": "not-collapsible" }, { "name": "Naver KR-JP", "priority": 0, "enabled": true, "allowSecondarySearches": false, "definitionsCollapsible": "not-collapsible" } ], "parsing": { "enableScanningParser": false, "enableMecabParser": true, "selectedParser": "scan", "termSpacing": true, "readingMode": "hiragana" }, "anki": { "enable": true, "server": "http://127.0.0.1:8765", "tags": [], "screenshot": { "format": "png", "quality": 92 }, "terms": { "deck": "Mining", "model": "日本語は上手ですね", "fields": { "単語": "{expression}", "Frequency": "{frequencies}", "例文": "{cloze-prefix}
{cloze-body}
{cloze-suffix}", "ピッチ": "{pitch-accent-positions}", "ふりがな": "{reading}", "意味": "{test}", "embed": "", "写真": "", "添付写真": "", "ヒント": "", "Title": "{document-title}", "例文音声": "", "単語音声": "{audio}", "文カード": "", "声カード": "", "図表": "{pitch-accent-graphs}", "ピッチ図表": "{pitch-accents}", "辞書の定義": "{glossary}" } }, "kanji": { "deck": "", "model": "", "fields": {} }, "duplicateScope": "deck", "checkForDuplicates": true, "fieldTemplates": "{{#*inline \"test\"}}\n {{~#scope~}}\n {{~#set \"first-dictionary\" null}}{{/set~}}\n {{~#if modeKanji~}}\n ...\n {{~else if (op \"||\" group merge)~}}\n {{~#each definition.definitions~}}\n {{~#if (op \"===\" null (get \"first-dictionary\"))~}}\n{{~#set \"first-dictionary\" dictionary~}}{{~/set~}}\n {{~/if~}}\n {{~#if (op \"===\" dictionary (get \"first-dictionary\"))~}}\n{{> glossary-single brief=../brief compactGlossaries=../compactGlossaries noDictionaryTag=true data=../.}}\n {{~/if~}}\n {{~/each~}}\n {{~else~}}\n {{~> glossary-single definition brief=brief compactGlossaries=compactGlossaries noDictionaryTag=true data=.~}}\n {{~/if~}}\n {{~/scope~}}\n{{/inline}}\n\n{{#*inline \"glossary-single\"}}\n {{~#unless brief~}}\n {{~#scope~}}\n {{~#set \"any\" false}}{{/set~}}\n {{~#each definitionTags~}}\n {{~#if (op \"||\" (op \"!\" @root.compactTags) (op \"!\" redundant))~}}\n {{~#if (get \"any\")}}, {{else}}({{/if~}}\n {{name}}\n {{~#set \"any\" true}}{{/set~}}\n {{~/if~}}\n {{~/each~}}\n {{~#unless noDictionaryTag~}}\n {{~#if (op \"||\" (op \"!\" @root.compactTags) (op \"!==\" dictionary (get \"previousDictionary\")))~}}\n {{~#if (get \"any\")}}, {{else}}({{/if~}}\n {{dictionary}}\n {{~#set \"any\" true}}{{/set~}}\n {{~/if~}}\n {{~/unless~}}\n {{~#if (get \"any\")}}) {{/if~}}\n {{~/scope~}}\n {{~#if only~}}({{#each only}}{{.}}{{#unless @last}}, {{/unless}}{{/each}} only) {{/if~}}\n {{~/unless~}}\n {{~#if (op \"<=\" glossary.length 1)~}}\n {{#each glossary}}{{#formatGlossary ../dictionary}}{{#regexReplace \"^[^\\n]*\\n\" \"\"}}{{{.}}}{{/regexReplace}}{{/formatGlossary}}{{/each}}\n {{~else if @root.compactGlossaries~}}\n {{#each glossary}}{{#formatGlossary ../dictionary}}{{#regexReplace \"^[^\\n]*\\n\" \"\"}}{{{.}}}{{/regexReplace}}{{/formatGlossary}}{{#unless @last}} | {{/unless}}{{/each}}\n {{~else~}}\n
    {{#each glossary}}
  • {{#formatGlossary ../dictionary}}{{{.}}}{{/formatGlossary}}
  • {{/each}}
\n {{~/if~}}\n {{~#set \"previousDictionary\" dictionary~}}{{~/set~}}\n{{/inline}}\n\n{{#*inline \"audio\"}}\n {{~#if (hasMedia \"audio\")~}}\n [sound:{{#getMedia \"audio\"}}{{/getMedia}}]\n {{~/if~}}\n{{/inline}}\n\n{{#*inline \"character\"}}\n {{~definition.character~}}\n{{/inline}}\n\n{{#*inline \"dictionary\"}}\n {{~definition.dictionary~}}\n{{/inline}}\n\n{{#*inline \"expression\"}}\n {{~#if merge~}}\n {{~#if modeTermKana~}}\n {{~#each definition.reading~}}\n {{{.}}}\n {{~#unless @last}}、{{/unless~}}\n {{~else~}}\n {{~#each definition.expression~}}\n {{{.}}}\n {{~#unless @last}}、{{/unless~}}\n {{~/each~}}\n {{~/each~}}\n {{~else~}}\n {{~#each definition.expression~}}\n {{{.}}}\n {{~#unless @last}}、{{/unless~}}\n {{~/each~}}\n {{~/if~}}\n {{~else~}}\n {{~#if modeTermKana~}}\n {{~#if definition.reading~}}\n {{definition.reading}}\n {{~else~}}\n {{definition.expression}}\n {{~/if~}}\n {{~else~}}\n {{definition.expression}}\n {{~/if~}}\n {{~/if~}}\n{{/inline}}\n\n{{#*inline \"furigana\"}}\n {{~#if merge~}}\n {{~#each definition.expressions~}}\n {{~#furigana}}{{{.}}}{{/furigana~}}\n {{~#unless @last}}、{{/unless~}}\n {{~/each~}}\n {{~else~}}\n {{#furigana}}{{{definition}}}{{/furigana}}\n {{~/if~}}\n{{/inline}}\n\n{{#*inline \"furigana-plain\"}}\n {{~#if merge~}}\n {{~#each definition.expressions~}}\n {{~#furiganaPlain}}{{{.}}}{{/furiganaPlain~}}\n {{~#unless @last}}、{{/unless~}}\n {{~/each~}}\n {{~else~}}\n {{#furiganaPlain}}{{{definition}}}{{/furiganaPlain}}\n {{~/if~}}\n{{/inline}}\n\n{{~#*inline \"glossary\"~}}\n
\n {{~#scope~}}\n {{~#if (op \"===\" definition.type \"term\")~}}\n {{~> glossary-single definition brief=brief noDictionaryTag=noDictionaryTag ~}}\n {{~else if (op \"||\" (op \"===\" definition.type \"termGrouped\") (op \"===\" definition.type \"termMerged\"))~}}\n {{~#if (op \">\" definition.definitions.length 1)~}}\n
    {{~#each definition.definitions~}}
  1. {{~> glossary-single . brief=../brief noDictionaryTag=../noDictionaryTag ~}}
  2. {{~/each~}}
\n {{~else~}}\n {{~#each definition.definitions~}}{{~> glossary-single . brief=../brief noDictionaryTag=../noDictionaryTag ~}}{{~/each~}}\n {{~/if~}}\n {{~else if (op \"===\" definition.type \"kanji\")~}}\n {{~#if (op \">\" definition.glossary.length 1)~}}\n
    {{#each definition.glossary}}
  1. {{.}}
  2. {{/each}}
\n {{~else~}}\n {{~#each definition.glossary~}}{{.}}{{~/each~}}\n {{~/if~}}\n {{~/if~}}\n {{~/scope~}}\n
\n{{~/inline~}}\n\n{{#*inline \"glossary-no-dictionary\"}}\n {{~> glossary noDictionaryTag=true ~}}\n{{/inline}}\n\n{{#*inline \"glossary-brief\"}}\n {{~> glossary brief=true ~}}\n{{/inline}}\n\n{{#*inline \"kunyomi\"}}\n {{~#each definition.kunyomi}}{{.}}{{#unless @last}}, {{/unless}}{{/each~}}\n{{/inline}}\n\n{{#*inline \"onyomi\"}}\n {{~#each definition.onyomi}}{{.}}{{#unless @last}}, {{/unless}}{{/each~}}\n{{/inline}}\n\n{{#*inline \"reading\"}}\n {{~#unless modeTermKana~}}\n {{~#if merge~}}\n {{~#each definition.reading~}}\n {{{.}}}\n {{~#unless @last}}、{{/unless~}}\n {{~/each~}}\n {{~else~}}\n {{~definition.reading~}}\n {{~/if~}}\n {{~/unless~}}\n{{/inline}}\n\n{{#*inline \"sentence\"}}\n {{~#if definition.cloze}}{{definition.cloze.sentence}}{{/if~}}\n{{/inline}}\n\n{{#*inline \"cloze-prefix\"}}\n {{~#if definition.cloze}}{{definition.cloze.prefix}}{{/if~}}\n{{/inline}}\n\n{{#*inline \"cloze-body\"}}\n {{~#if definition.cloze}}{{definition.cloze.body}}{{/if~}}\n{{/inline}}\n\n{{#*inline \"cloze-suffix\"}}\n {{~#if definition.cloze}}{{definition.cloze.suffix}}{{/if~}}\n{{/inline}}\n\n{{#*inline \"tags\"}}\n {{~#mergeTags definition group merge}}{{this}}{{/mergeTags~}}\n{{/inline}}\n\n{{#*inline \"url\"}}\n {{definition.url}}\n{{/inline}}\n\n{{#*inline \"screenshot\"}}\n {{~#if (hasMedia \"screenshot\")~}}\n \n {{~/if~}}\n{{/inline}}\n\n{{#*inline \"document-title\"}}\n {{~context.document.title~}}\n{{/inline}}\n\n{{! Pitch Accents }}\n{{#*inline \"pitch-accent-item\"}}\n {{~#pronunciation format=format reading=reading downstepPosition=position nasalPositions=nasalPositions devoicePositions=devoicePositions~}}{{~/pronunciation~}}\n{{/inline}}\n\n{{#*inline \"pitch-accent-item-disambiguation\"}}\n {{~#scope~}}\n {{~#set \"exclusive\" (spread exclusiveExpressions exclusiveReadings)}}{{/set~}}\n {{~#if (op \">\" (property (get \"exclusive\") \"length\") 0)~}}\n {{~#set \"separator\" \"\"~}}{{/set~}}\n ({{#each (get \"exclusive\")~}}\n {{~#get \"separator\"}}{{/get~}}{{{.}}}\n {{~/each}} only) \n {{~/if~}}\n {{~/scope~}}\n{{/inline}}\n\n{{#*inline \"pitch-accent-list\"}}\n {{~#if (op \">\" pitchCount 0)~}}\n {{~#if (op \">\" pitchCount 1)~}}{{~/if~}}\n {{~#each pitches~}}\n {{~#each pitches~}}\n {{~#if (op \">\" ../../pitchCount 1)~}}{{~/if~}}\n {{~> pitch-accent-item-disambiguation~}}\n {{~> pitch-accent-item format=../../format~}}\n {{~#if (op \">\" ../../pitchCount 1)~}}{{~/if~}}\n {{~/each~}}\n {{~/each~}}\n {{~#if (op \">\" pitchCount 1)~}}{{~/if~}}\n {{~else~}}\n {{~/if~}}\n{{/inline}}\n\n{{#*inline \"pitch-accent-graphs\"}}\n {{~> pitch-accent-list format='graph'~}}\n{{/inline}}\n\n{{#*inline \"pitch-accents\"}}\n {{~> pitch-accent-list format='text'~}}\n{{/inline}}\n\n{{#*inline \"pitch-accent-positions\"}}\n {{#regexReplace \"<(.|\\n)*?>\" \"\"}}{{~> pitch-accent-list format='position'~}}{{/regexReplace}}\n{{/inline}}\n{{! End Pitch Accents }}\n\n{{#*inline \"clipboard-image\"}}\n {{~#if (hasMedia \"clipboardImage\")~}}\n \n {{~/if~}}\n{{/inline}}\n\n{{#*inline \"clipboard-text\"}}\n {{~#if (hasMedia \"clipboardText\")}}{{#regexReplace \"\\n(?!$)\" \"
\"}}{{#getMedia \"clipboardText\"}}{{/getMedia}}{{/regexReplace}}{{/if~}}\n{{/inline}}\n\n{{#*inline \"conjugation\"}}\n {{~#if definition.reasons~}}\n {{~#each definition.reasons~}}\n {{~#if (op \">\" @index 0)}} « {{/if~}}\n {{.}}\n {{~/each~}}\n {{~/if~}}\n{{/inline}}\n\n{{#*inline \"frequencies\"}}\n {{~#if (op \">\" definition.frequencies.length 0)~}}\n
    \n {{~#each definition.frequencies~}}\n
  • \n {{~#if (op \"!==\" ../definition.type \"kanji\")~}}\n {{~#if (op \"||\" (op \">\" ../uniqueExpressions.length 1) (op \">\" ../uniqueReadings.length 1))~}}(\n {{~#furigana expression reading~}}{{~/furigana~}}\n ) {{/if~}}\n {{~/if~}}\n {{~dictionary}}: {{frequency~}}\n
  • \n {{~/each~}}\n
\n {{~/if~}}\n{{/inline}}\n\n{{#*inline \"stroke-count\"}}\n {{~#scope~}}\n {{~#set \"found\" false}}{{/set~}}\n {{~#each definition.stats.misc~}}\n {{~#if (op \"===\" name \"strokes\")~}}\n {{~#set \"found\" true}}{{/set~}}\n Stroke count: {{value}}\n {{~/if~}}\n {{~/each~}}\n {{~#if (op \"!\" (get \"found\"))~}}\n Stroke count: Unknown\n {{~/if~}}\n {{~/scope~}}\n{{/inline}}\n\n{{#*inline \"part-of-speech-pretty\"}}\n {{~#if (op \"===\" . \"v1\")~}}Ichidan verb\n {{~else if (op \"===\" . \"v5\")~}}Godan verb\n {{~else if (op \"===\" . \"vk\")~}}Kuru verb\n {{~else if (op \"===\" . \"vs\")~}}Suru verb\n {{~else if (op \"===\" . \"vz\")~}}Zuru verb\n {{~else if (op \"===\" . \"adj-i\")~}}I-adjective\n {{~else if (op \"===\" . \"n\")~}}Noun\n {{~else~}}{{.}}\n {{~/if~}}\n{{/inline}}\n\n{{#*inline \"part-of-speech\"}}\n {{~#scope~}}\n {{~#if (op \"!==\" definition.type \"kanji\")~}}\n {{~#set \"first\" true}}{{/set~}}\n {{~#each definition.expressions~}}\n {{~#each wordClasses~}}\n {{~#unless (get (concat \"used_\" .))~}}\n {{~> part-of-speech-pretty . ~}}\n {{~#unless (get \"first\")}}, {{/unless~}}\n {{~#set (concat \"used_\" .) true~}}{{~/set~}}\n {{~#set \"first\" false~}}{{~/set~}}\n {{~/unless~}}\n {{~/each~}}\n {{~/each~}}\n {{~#if (get \"first\")~}}Unknown{{~/if~}}\n {{~/if~}}\n {{~/scope~}}\n{{/inline}}\n\n{{#*inline \"search-query\"}}\n {{~#multiLine}}{{context.fullQuery}}{{/multiLine~}}\n{{/inline}}\n\n{{#*inline \"selection-text\"}}\n {{~#if (hasMedia \"selectionText\")}}{{#getMedia \"selectionText\"}}{{/getMedia}}{{/if~}}\n{{/inline}}\n\n{{#*inline \"sentence-furigana\"}}\n {{~#if definition.cloze~}}\n {{~#if (hasMedia \"textFurigana\" definition.cloze.sentence)~}}\n {{#getMedia \"textFurigana\" definition.cloze.sentence escape=false}}{{/getMedia}}\n {{~else~}}\n {{definition.cloze.sentence}}\n {{~/if~}}\n {{~/if~}}\n{{/inline}}\n\n{{~> (lookup . \"marker\") ~}}\n\n{{#*inline \"freq\"}}\n {{~#scope~}}\n {{~#set \"min-freq\" 0}}{{/set~}}\n {{#each definition.frequencies}}\n {{~#if (op \"||\" (op \"===\" (get \"min-freq\") 0) (op \">\" (op \"+\" (get \"min-freq\")) (op \"+\" (regexMatch \"\\d\" \"g\" this.frequency))))}}\n {{~#set \"min-freq\" (op \"+\" (regexMatch \"\\d\" \"g\" this.frequency))}}{{/set~}}\n {{~/if~}}\n {{/each}}\n {{get \"min-freq\"}}\n {{~/scope~}}\n{{/inline}}", "suspendNewCards": false, "displayTags": "never", "duplicateScopeCheckAllModels": false, "noteGuiMode": "browse", "apiKey": "", "downloadTimeout": 0 }, "sentenceParsing": { "scanExtent": 200, "terminationCharacters": [ { "enabled": true, "character1": "「", "character2": "」", "includeCharacterAtStart": false, "includeCharacterAtEnd": false }, { "enabled": true, "character1": "『", "character2": "』", "includeCharacterAtStart": false, "includeCharacterAtEnd": false }, { "enabled": true, "character1": "\"", "character2": "\"", "includeCharacterAtStart": false, "includeCharacterAtEnd": false }, { "enabled": true, "character1": "'", "character2": "'", "includeCharacterAtStart": false, "includeCharacterAtEnd": false }, { "enabled": true, "character1": ".", "character2": null, "includeCharacterAtStart": false, "includeCharacterAtEnd": true }, { "enabled": true, "character1": "!", "character2": null, "includeCharacterAtStart": false, "includeCharacterAtEnd": true }, { "enabled": true, "character1": "?", "character2": null, "includeCharacterAtStart": false, "includeCharacterAtEnd": true }, { "enabled": true, "character1": ".", "character2": null, "includeCharacterAtStart": false, "includeCharacterAtEnd": true }, { "enabled": true, "character1": "。", "character2": null, "includeCharacterAtStart": false, "includeCharacterAtEnd": true }, { "enabled": true, "character1": "!", "character2": null, "includeCharacterAtStart": false, "includeCharacterAtEnd": true }, { "enabled": true, "character1": "?", "character2": null, "includeCharacterAtStart": false, "includeCharacterAtEnd": true }, { "enabled": true, "character1": "…", "character2": null, "includeCharacterAtStart": false, "includeCharacterAtEnd": true }, { "enabled": true, "character1": "︒", "character2": null, "includeCharacterAtStart": false, "includeCharacterAtEnd": true }, { "enabled": true, "character1": "︕", "character2": null, "includeCharacterAtStart": false, "includeCharacterAtEnd": true }, { "enabled": true, "character1": "︖", "character2": null, "includeCharacterAtStart": false, "includeCharacterAtEnd": true }, { "enabled": true, "character1": "︙", "character2": null, "includeCharacterAtStart": false, "includeCharacterAtEnd": true } ], "terminationCharacterMode": "newlines" }, "inputs": { "hotkeys": [ { "action": "close", "key": "Escape", "modifiers": [], "scopes": [ "popup" ], "enabled": true, "argument": "" }, { "action": "focusSearchBox", "key": "Escape", "modifiers": [], "scopes": [ "search" ], "enabled": true, "argument": "" }, { "action": "previousEntry", "key": "PageUp", "modifiers": [ "alt" ], "scopes": [ "popup", "search" ], "enabled": true, "argument": "3" }, { "action": "nextEntry", "key": "PageDown", "modifiers": [ "alt" ], "scopes": [ "popup", "search" ], "enabled": true, "argument": "3" }, { "action": "lastEntry", "key": "End", "modifiers": [ "alt" ], "scopes": [ "popup", "search" ], "enabled": true, "argument": "" }, { "action": "firstEntry", "key": "Home", "modifiers": [ "alt" ], "scopes": [ "popup", "search" ], "enabled": true, "argument": "" }, { "action": "previousEntry", "key": "ArrowUp", "modifiers": [ "alt" ], "scopes": [ "popup", "search" ], "enabled": true, "argument": "1" }, { "action": "nextEntry", "key": "ArrowDown", "modifiers": [ "alt" ], "scopes": [ "popup", "search" ], "enabled": true, "argument": "1" }, { "action": "historyBackward", "key": "KeyB", "modifiers": [ "alt" ], "scopes": [ "popup", "search" ], "enabled": true, "argument": "" }, { "action": "historyForward", "key": "KeyF", "modifiers": [ "alt" ], "scopes": [ "popup", "search" ], "enabled": true, "argument": "" }, { "action": "addNoteKanji", "key": "KeyK", "modifiers": [ "alt" ], "scopes": [ "popup", "search" ], "enabled": true, "argument": "" }, { "action": "addNoteTermKanji", "key": "KeyE", "modifiers": [ "alt" ], "scopes": [ "popup", "search" ], "enabled": true, "argument": "" }, { "action": "addNoteTermKana", "key": "KeyR", "modifiers": [ "alt" ], "scopes": [ "popup", "search" ], "enabled": true, "argument": "" }, { "action": "playAudio", "key": "KeyP", "modifiers": [ "alt" ], "scopes": [ "popup", "search" ], "enabled": true, "argument": "" }, { "action": "viewNote", "key": "KeyV", "modifiers": [ "alt" ], "scopes": [ "popup", "search" ], "enabled": true, "argument": "" }, { "action": "copyHostSelection", "key": "KeyC", "modifiers": [ "ctrl" ], "scopes": [ "popup" ], "enabled": true, "argument": "" }, { "action": "scanSelectedText", "key": "KeyZ", "modifiers": [], "scopes": [ "web" ], "enabled": true, "argument": "" } ] }, "popupWindow": { "width": 400, "height": 250, "left": 0, "top": 0, "useLeft": false, "useTop": false, "windowType": "popup", "windowState": "normal" }, "clipboard": { "enableBackgroundMonitor": false, "enableSearchPageMonitor": true, "autoSearchContent": true, "maximumSearchLength": 1000 }, "accessibility": { "forceGoogleDocsHtmlRendering": false } } }, { "name": "korean", "conditionGroups": [], "options": { "general": { "enable": true, "resultOutputMode": "group", "debugInfo": false, "maxResults": 1000, "showAdvanced": true, "popupDisplayMode": "default", "popupWidth": 400, "popupHeight": 250, "popupHorizontalOffset": 0, "popupVerticalOffset": 10, "popupHorizontalOffset2": 10, "popupVerticalOffset2": 0, "popupHorizontalTextPosition": "below", "popupVerticalTextPosition": "before", "popupScalingFactor": 1, "popupScaleRelativeToPageZoom": false, "popupScaleRelativeToVisualViewport": false, "showGuide": false, "compactTags": true, "glossaryLayoutMode": "default", "mainDictionary": "旺文社国語辞典 第十一版", "popupTheme": "dark", "popupOuterTheme": "light", "customPopupCss": ".kanji-link {\nfont-family:\"Yu Mincho\" !important;\n}\n\n.source-text {\nfont-family:\"Yu Mincho Demibold\" !important;\n}\n\n.gloss-content {\nfont-family:\"Yu Mincho\" !important;\n font-size: 19px\n}\n.tag-label-content {\n font-family: DF教科書体W4;\n font-size: 15px\n}", "customPopupOuterCss": "", "enableWanakana": false, "showPitchAccentDownstepNotation": true, "showPitchAccentPositionNotation": true, "showPitchAccentGraph": true, "showIframePopupsInRootFrame": false, "useSecurePopupFrameUrl": true, "usePopupShadowDom": true, "usePopupWindow": false, "popupCurrentIndicatorMode": "triangle", "popupActionBarVisibility": "auto", "popupActionBarLocation": "left", "frequencyDisplayMode": "split-tags-grouped", "termDisplayMode": "ruby", "sortFrequencyDictionary": null, "sortFrequencyDictionaryOrder": "descending" }, "audio": { "enabled": true, "sources": [ { "type": "custom-json", "url": "http://localhost:8770/?term={term}&reading={reading}", "voice": "" } ], "volume": 15, "autoPlay": true }, "scanning": { "inputs": [ { "include": "shift", "exclude": "mouse0", "types": { "mouse": true, "touch": false, "pen": false }, "options": { "showAdvanced": false, "searchTerms": true, "searchKanji": true, "scanOnTouchMove": true, "scanOnPenHover": true, "scanOnPenPress": true, "scanOnPenRelease": false, "preventTouchScrolling": false, "scanOnPenMove": true, "scanOnPenReleaseHover": false, "scanOnTouchPress": true, "scanOnTouchRelease": false, "preventPenScrolling": false } }, { "include": "", "exclude": "", "types": { "mouse": false, "touch": true, "pen": true }, "options": { "showAdvanced": false, "searchTerms": true, "searchKanji": true, "scanOnTouchMove": true, "scanOnPenHover": true, "scanOnPenPress": true, "scanOnPenRelease": false, "preventTouchScrolling": true, "scanOnPenMove": true, "scanOnPenReleaseHover": false, "scanOnTouchPress": true, "scanOnTouchRelease": false, "preventPenScrolling": true } } ], "preventMiddleMouse": { "onWebPages": false, "onPopupPages": false, "onSearchPages": false, "onSearchQuery": false }, "touchInputEnabled": true, "pointerEventsEnabled": false, "selectText": true, "alphanumeric": true, "autoHideResults": false, "delay": 0, "hideDelay": 0, "length": 999999, "deepDomScan": true, "popupNestingMaxDepth": 999, "enablePopupSearch": false, "enableOnPopupExpressions": true, "enableOnSearchPage": true, "enableSearchTags": false, "layoutAwareScan": true, "matchTypePrefix": false, "hidePopupOnCursorExit": false, "hidePopupOnCursorExitDelay": 0, "normalizeCssZoom": true }, "translation": { "convertHalfWidthCharacters": "true", "convertNumericCharacters": "false", "convertAlphabeticCharacters": "false", "convertHiraganaToKatakana": "false", "convertKatakanaToHiragana": "variant", "collapseEmphaticSequences": "false", "textReplacements": { "searchOriginal": true, "groups": [] } }, "dictionaries": [ { "name": "新明解国語辞典 第七版", "priority": 10, "enabled": false, "allowSecondarySearches": false, "definitionsCollapsible": "not-collapsible" }, { "name": "旺文社国語辞典 第十一版", "priority": 9, "enabled": false, "allowSecondarySearches": false, "definitionsCollapsible": "not-collapsible" }, { "name": "大辞林 第三版", "priority": 8, "enabled": false, "allowSecondarySearches": false, "definitionsCollapsible": "not-collapsible" }, { "name": "明鏡国語辞典", "priority": 6, "enabled": false, "allowSecondarySearches": false, "definitionsCollapsible": "not-collapsible" }, { "name": "ハイブリッド新辞林", "priority": 4, "enabled": false, "allowSecondarySearches": false, "definitionsCollapsible": "not-collapsible" }, { "name": "Kanjium Pitch Accents", "priority": 1, "enabled": false, "allowSecondarySearches": false, "definitionsCollapsible": "not-collapsible" }, { "name": "精選版 日本国語大辞典", "priority": 7, "enabled": false, "allowSecondarySearches": false, "definitionsCollapsible": "not-collapsible" }, { "name": "故事ことわざの辞典", "priority": 12, "enabled": false, "allowSecondarySearches": false, "definitionsCollapsible": "not-collapsible" }, { "name": "新明解四字熟語辞典", "priority": 13, "enabled": false, "allowSecondarySearches": false, "definitionsCollapsible": "not-collapsible" }, { "name": "JMdict (German)", "priority": 5, "enabled": false, "allowSecondarySearches": false, "definitionsCollapsible": "not-collapsible" }, { "name": "JPDB", "priority": 1, "enabled": false, "allowSecondarySearches": false, "definitionsCollapsible": "not-collapsible" }, { "name": "JLPT文法解説まとめ", "priority": 1, "enabled": false, "allowSecondarySearches": false, "definitionsCollapsible": "not-collapsible" }, { "name": "KRDICT", "priority": 1, "enabled": true, "allowSecondarySearches": false, "definitionsCollapsible": "not-collapsible" }, { "name": "Naver KR-JP", "priority": 2, "enabled": true, "allowSecondarySearches": false, "definitionsCollapsible": "not-collapsible" } ], "parsing": { "enableScanningParser": false, "enableMecabParser": true, "selectedParser": "scan", "termSpacing": true, "readingMode": "hiragana" }, "anki": { "enable": true, "server": "http://127.0.0.1:8765", "tags": [], "screenshot": { "format": "png", "quality": 92 }, "terms": { "deck": "korean", "model": "Basic-6393b", "fields": { "term": "{expression}", "Frequency": "{reading}", "Definition": "{glossary}", "Sentence": " {cloze-prefix} {cloze-body} {cloze-suffix} ", "Picture": "", "Audio": "{audio}", "Source": "" } }, "kanji": { "deck": "", "model": "", "fields": {} }, "duplicateScope": "deck", "checkForDuplicates": true, "fieldTemplates": "{{#*inline \"test\"}}\n {{~#scope~}}\n {{~#set \"first-dictionary\" null}}{{/set~}}\n {{~#if modeKanji~}}\n ...\n {{~else if (op \"||\" group merge)~}}\n {{~#each definition.definitions~}}\n {{~#if (op \"===\" null (get \"first-dictionary\"))~}}\n{{~#set \"first-dictionary\" dictionary~}}{{~/set~}}\n {{~/if~}}\n {{~#if (op \"===\" dictionary (get \"first-dictionary\"))~}}\n{{> glossary-single brief=../brief compactGlossaries=../compactGlossaries noDictionaryTag=true data=../.}}\n {{~/if~}}\n {{~/each~}}\n {{~else~}}\n {{~> glossary-single definition brief=brief compactGlossaries=compactGlossaries noDictionaryTag=true data=.~}}\n {{~/if~}}\n {{~/scope~}}\n{{/inline}}\n\n{{#*inline \"glossary-single\"}}\n {{~#unless brief~}}\n {{~#scope~}}\n {{~#set \"any\" false}}{{/set~}}\n {{~#each definitionTags~}}\n {{~#if (op \"||\" (op \"!\" @root.compactTags) (op \"!\" redundant))~}}\n {{~#if (get \"any\")}}, {{else}}({{/if~}}\n {{name}}\n {{~#set \"any\" true}}{{/set~}}\n {{~/if~}}\n {{~/each~}}\n {{~#unless noDictionaryTag~}}\n {{~#if (op \"||\" (op \"!\" @root.compactTags) (op \"!==\" dictionary (get \"previousDictionary\")))~}}\n {{~#if (get \"any\")}}, {{else}}({{/if~}}\n {{dictionary}}\n {{~#set \"any\" true}}{{/set~}}\n {{~/if~}}\n {{~/unless~}}\n {{~#if (get \"any\")}}) {{/if~}}\n {{~/scope~}}\n {{~#if only~}}({{#each only}}{{.}}{{#unless @last}}, {{/unless}}{{/each}} only) {{/if~}}\n {{~/unless~}}\n {{~#if (op \"<=\" glossary.length 1)~}}\n {{#each glossary}}{{#formatGlossary ../dictionary}}{{#regexReplace \"^[^\\n]*\\n\" \"\"}}{{{.}}}{{/regexReplace}}{{/formatGlossary}}{{/each}}\n {{~else if @root.compactGlossaries~}}\n {{#each glossary}}{{#formatGlossary ../dictionary}}{{#regexReplace \"^[^\\n]*\\n\" \"\"}}{{{.}}}{{/regexReplace}}{{/formatGlossary}}{{#unless @last}} | {{/unless}}{{/each}}\n {{~else~}}\n
    {{#each glossary}}
  • {{#formatGlossary ../dictionary}}{{{.}}}{{/formatGlossary}}
  • {{/each}}
\n {{~/if~}}\n {{~#set \"previousDictionary\" dictionary~}}{{~/set~}}\n{{/inline}}\n\n{{#*inline \"audio\"}}\n {{~#if (hasMedia \"audio\")~}}\n [sound:{{#getMedia \"audio\"}}{{/getMedia}}]\n {{~/if~}}\n{{/inline}}\n\n{{#*inline \"character\"}}\n {{~definition.character~}}\n{{/inline}}\n\n{{#*inline \"dictionary\"}}\n {{~definition.dictionary~}}\n{{/inline}}\n\n{{#*inline \"expression\"}}\n {{~#if merge~}}\n {{~#if modeTermKana~}}\n {{~#each definition.reading~}}\n {{{.}}}\n {{~#unless @last}}、{{/unless~}}\n {{~else~}}\n {{~#each definition.expression~}}\n {{{.}}}\n {{~#unless @last}}、{{/unless~}}\n {{~/each~}}\n {{~/each~}}\n {{~else~}}\n {{~#each definition.expression~}}\n {{{.}}}\n {{~#unless @last}}、{{/unless~}}\n {{~/each~}}\n {{~/if~}}\n {{~else~}}\n {{~#if modeTermKana~}}\n {{~#if definition.reading~}}\n {{definition.reading}}\n {{~else~}}\n {{definition.expression}}\n {{~/if~}}\n {{~else~}}\n {{definition.expression}}\n {{~/if~}}\n {{~/if~}}\n{{/inline}}\n\n{{#*inline \"furigana\"}}\n {{~#if merge~}}\n {{~#each definition.expressions~}}\n {{~#furigana}}{{{.}}}{{/furigana~}}\n {{~#unless @last}}、{{/unless~}}\n {{~/each~}}\n {{~else~}}\n {{#furigana}}{{{definition}}}{{/furigana}}\n {{~/if~}}\n{{/inline}}\n\n{{#*inline \"furigana-plain\"}}\n {{~#if merge~}}\n {{~#each definition.expressions~}}\n {{~#furiganaPlain}}{{{.}}}{{/furiganaPlain~}}\n {{~#unless @last}}、{{/unless~}}\n {{~/each~}}\n {{~else~}}\n {{#furiganaPlain}}{{{definition}}}{{/furiganaPlain}}\n {{~/if~}}\n{{/inline}}\n\n{{~#*inline \"glossary\"~}}\n
\n {{~#scope~}}\n {{~#if (op \"===\" definition.type \"term\")~}}\n {{~> glossary-single definition brief=brief noDictionaryTag=noDictionaryTag ~}}\n {{~else if (op \"||\" (op \"===\" definition.type \"termGrouped\") (op \"===\" definition.type \"termMerged\"))~}}\n {{~#if (op \">\" definition.definitions.length 1)~}}\n
    {{~#each definition.definitions~}}
  1. {{~> glossary-single . brief=../brief noDictionaryTag=../noDictionaryTag ~}}
  2. {{~/each~}}
\n {{~else~}}\n {{~#each definition.definitions~}}{{~> glossary-single . brief=../brief noDictionaryTag=../noDictionaryTag ~}}{{~/each~}}\n {{~/if~}}\n {{~else if (op \"===\" definition.type \"kanji\")~}}\n {{~#if (op \">\" definition.glossary.length 1)~}}\n
    {{#each definition.glossary}}
  1. {{.}}
  2. {{/each}}
\n {{~else~}}\n {{~#each definition.glossary~}}{{.}}{{~/each~}}\n {{~/if~}}\n {{~/if~}}\n {{~/scope~}}\n
\n{{~/inline~}}\n\n{{#*inline \"glossary-no-dictionary\"}}\n {{~> glossary noDictionaryTag=true ~}}\n{{/inline}}\n\n{{#*inline \"glossary-brief\"}}\n {{~> glossary brief=true ~}}\n{{/inline}}\n\n{{#*inline \"kunyomi\"}}\n {{~#each definition.kunyomi}}{{.}}{{#unless @last}}, {{/unless}}{{/each~}}\n{{/inline}}\n\n{{#*inline \"onyomi\"}}\n {{~#each definition.onyomi}}{{.}}{{#unless @last}}, {{/unless}}{{/each~}}\n{{/inline}}\n\n{{#*inline \"reading\"}}\n {{~#unless modeTermKana~}}\n {{~#if merge~}}\n {{~#each definition.reading~}}\n {{{.}}}\n {{~#unless @last}}、{{/unless~}}\n {{~/each~}}\n {{~else~}}\n {{~definition.reading~}}\n {{~/if~}}\n {{~/unless~}}\n{{/inline}}\n\n{{#*inline \"sentence\"}}\n {{~#if definition.cloze}}{{definition.cloze.sentence}}{{/if~}}\n{{/inline}}\n\n{{#*inline \"cloze-prefix\"}}\n {{~#if definition.cloze}}{{definition.cloze.prefix}}{{/if~}}\n{{/inline}}\n\n{{#*inline \"cloze-body\"}}\n {{~#if definition.cloze}}{{definition.cloze.body}}{{/if~}}\n{{/inline}}\n\n{{#*inline \"cloze-suffix\"}}\n {{~#if definition.cloze}}{{definition.cloze.suffix}}{{/if~}}\n{{/inline}}\n\n{{#*inline \"tags\"}}\n {{~#mergeTags definition group merge}}{{this}}{{/mergeTags~}}\n{{/inline}}\n\n{{#*inline \"url\"}}\n {{definition.url}}\n{{/inline}}\n\n{{#*inline \"screenshot\"}}\n {{~#if (hasMedia \"screenshot\")~}}\n \n {{~/if~}}\n{{/inline}}\n\n{{#*inline \"document-title\"}}\n {{~context.document.title~}}\n{{/inline}}\n\n{{! Pitch Accents }}\n{{#*inline \"pitch-accent-item\"}}\n {{~#pronunciation format=format reading=reading downstepPosition=position nasalPositions=nasalPositions devoicePositions=devoicePositions~}}{{~/pronunciation~}}\n{{/inline}}\n\n{{#*inline \"pitch-accent-item-disambiguation\"}}\n {{~#scope~}}\n {{~#set \"exclusive\" (spread exclusiveExpressions exclusiveReadings)}}{{/set~}}\n {{~#if (op \">\" (property (get \"exclusive\") \"length\") 0)~}}\n {{~#set \"separator\" \"\"~}}{{/set~}}\n ({{#each (get \"exclusive\")~}}\n {{~#get \"separator\"}}{{/get~}}{{{.}}}\n {{~/each}} only) \n {{~/if~}}\n {{~/scope~}}\n{{/inline}}\n\n{{#*inline \"pitch-accent-list\"}}\n {{~#if (op \">\" pitchCount 0)~}}\n {{~#if (op \">\" pitchCount 1)~}}{{~/if~}}\n {{~#each pitches~}}\n {{~#each pitches~}}\n {{~#if (op \">\" ../../pitchCount 1)~}}{{~/if~}}\n {{~> pitch-accent-item-disambiguation~}}\n {{~> pitch-accent-item format=../../format~}}\n {{~#if (op \">\" ../../pitchCount 1)~}}{{~/if~}}\n {{~/each~}}\n {{~/each~}}\n {{~#if (op \">\" pitchCount 1)~}}{{~/if~}}\n {{~else~}}\n {{~/if~}}\n{{/inline}}\n\n{{#*inline \"pitch-accents\"}}\n {{~> pitch-accent-list format='text'~}}\n{{/inline}}\n\n{{#*inline \"pitch-accent-graphs\"}}\n {{~> pitch-accent-list format='graph'~}}\n{{/inline}}\n\n{{#*inline \"pitch-accent-positions\"}}\n {{#regexReplace \"<(.|\\n)*?>\" \"\"}}{{~> pitch-accent-list format='position'~}}{{/regexReplace}}\n{{/inline}}\n{{! End Pitch Accents }}\n\n{{#*inline \"clipboard-image\"}}\n {{~#if (hasMedia \"clipboardImage\")~}}\n \n {{~/if~}}\n{{/inline}}\n\n{{#*inline \"clipboard-text\"}}\n {{~#if (hasMedia \"clipboardText\")}}{{#regexReplace \"\\n(?!$)\" \"
\"}}{{#getMedia \"clipboardText\"}}{{/getMedia}}{{/regexReplace}}{{/if~}}\n{{/inline}}\n\n{{#*inline \"conjugation\"}}\n {{~#if definition.reasons~}}\n {{~#each definition.reasons~}}\n {{~#if (op \">\" @index 0)}} « {{/if~}}\n {{.}}\n {{~/each~}}\n {{~/if~}}\n{{/inline}}\n\n{{#*inline \"frequencies\"}}\n {{~#if (op \">\" definition.frequencies.length 0)~}}\n
    \n {{~#each definition.frequencies~}}\n
  • \n {{~#if (op \"!==\" ../definition.type \"kanji\")~}}\n {{~#if (op \"||\" (op \">\" ../uniqueExpressions.length 1) (op \">\" ../uniqueReadings.length 1))~}}(\n {{~#furigana expression reading~}}{{~/furigana~}}\n ) {{/if~}}\n {{~/if~}}\n {{~dictionary}}: {{frequency~}}\n
  • \n {{~/each~}}\n
\n {{~/if~}}\n{{/inline}}\n\n{{#*inline \"stroke-count\"}}\n {{~#scope~}}\n {{~#set \"found\" false}}{{/set~}}\n {{~#each definition.stats.misc~}}\n {{~#if (op \"===\" name \"strokes\")~}}\n {{~#set \"found\" true}}{{/set~}}\n Stroke count: {{value}}\n {{~/if~}}\n {{~/each~}}\n {{~#if (op \"!\" (get \"found\"))~}}\n Stroke count: Unknown\n {{~/if~}}\n {{~/scope~}}\n{{/inline}}\n\n{{#*inline \"part-of-speech-pretty\"}}\n {{~#if (op \"===\" . \"v1\")~}}Ichidan verb\n {{~else if (op \"===\" . \"v5\")~}}Godan verb\n {{~else if (op \"===\" . \"vk\")~}}Kuru verb\n {{~else if (op \"===\" . \"vs\")~}}Suru verb\n {{~else if (op \"===\" . \"vz\")~}}Zuru verb\n {{~else if (op \"===\" . \"adj-i\")~}}I-adjective\n {{~else if (op \"===\" . \"n\")~}}Noun\n {{~else~}}{{.}}\n {{~/if~}}\n{{/inline}}\n\n{{#*inline \"part-of-speech\"}}\n {{~#scope~}}\n {{~#if (op \"!==\" definition.type \"kanji\")~}}\n {{~#set \"first\" true}}{{/set~}}\n {{~#each definition.expressions~}}\n {{~#each wordClasses~}}\n {{~#unless (get (concat \"used_\" .))~}}\n {{~> part-of-speech-pretty . ~}}\n {{~#unless (get \"first\")}}, {{/unless~}}\n {{~#set (concat \"used_\" .) true~}}{{~/set~}}\n {{~#set \"first\" false~}}{{~/set~}}\n {{~/unless~}}\n {{~/each~}}\n {{~/each~}}\n {{~#if (get \"first\")~}}Unknown{{~/if~}}\n {{~/if~}}\n {{~/scope~}}\n{{/inline}}\n\n{{#*inline \"search-query\"}}\n {{~#multiLine}}{{context.fullQuery}}{{/multiLine~}}\n{{/inline}}\n\n{{#*inline \"selection-text\"}}\n {{~#if (hasMedia \"selectionText\")}}{{#getMedia \"selectionText\"}}{{/getMedia}}{{/if~}}\n{{/inline}}\n\n{{#*inline \"sentence-furigana\"}}\n {{~#if definition.cloze~}}\n {{~#if (hasMedia \"textFurigana\" definition.cloze.sentence)~}}\n {{#getMedia \"textFurigana\" definition.cloze.sentence escape=false}}{{/getMedia}}\n {{~else~}}\n {{definition.cloze.sentence}}\n {{~/if~}}\n {{~/if~}}\n{{/inline}}\n\n{{~> (lookup . \"marker\") ~}}\n\n{{#*inline \"freq\"}}\n {{~#scope~}}\n {{~#set \"min-freq\" 0}}{{/set~}}\n {{#each definition.frequencies}}\n {{~#if (op \"||\" (op \"===\" (get \"min-freq\") 0) (op \">\" (op \"+\" (get \"min-freq\")) (op \"+\" (regexMatch \"\\d\" \"g\" this.frequency))))}}\n {{~#set \"min-freq\" (op \"+\" (regexMatch \"\\d\" \"g\" this.frequency))}}{{/set~}}\n {{~/if~}}\n {{/each}}\n {{get \"min-freq\"}}\n {{~/scope~}}\n{{/inline}}", "suspendNewCards": false, "displayTags": "never", "duplicateScopeCheckAllModels": false, "noteGuiMode": "browse", "apiKey": "", "downloadTimeout": 0 }, "sentenceParsing": { "scanExtent": 200, "terminationCharacters": [ { "enabled": true, "character1": "「", "character2": "」", "includeCharacterAtStart": false, "includeCharacterAtEnd": false }, { "enabled": true, "character1": "『", "character2": "』", "includeCharacterAtStart": false, "includeCharacterAtEnd": false }, { "enabled": true, "character1": "\"", "character2": "\"", "includeCharacterAtStart": false, "includeCharacterAtEnd": false }, { "enabled": true, "character1": "'", "character2": "'", "includeCharacterAtStart": false, "includeCharacterAtEnd": false }, { "enabled": true, "character1": ".", "character2": null, "includeCharacterAtStart": false, "includeCharacterAtEnd": true }, { "enabled": true, "character1": "!", "character2": null, "includeCharacterAtStart": false, "includeCharacterAtEnd": true }, { "enabled": true, "character1": "?", "character2": null, "includeCharacterAtStart": false, "includeCharacterAtEnd": true }, { "enabled": true, "character1": ".", "character2": null, "includeCharacterAtStart": false, "includeCharacterAtEnd": true }, { "enabled": true, "character1": "。", "character2": null, "includeCharacterAtStart": false, "includeCharacterAtEnd": true }, { "enabled": true, "character1": "!", "character2": null, "includeCharacterAtStart": false, "includeCharacterAtEnd": true }, { "enabled": true, "character1": "?", "character2": null, "includeCharacterAtStart": false, "includeCharacterAtEnd": true }, { "enabled": true, "character1": "…", "character2": null, "includeCharacterAtStart": false, "includeCharacterAtEnd": true }, { "enabled": true, "character1": "︒", "character2": null, "includeCharacterAtStart": false, "includeCharacterAtEnd": true }, { "enabled": true, "character1": "︕", "character2": null, "includeCharacterAtStart": false, "includeCharacterAtEnd": true }, { "enabled": true, "character1": "︖", "character2": null, "includeCharacterAtStart": false, "includeCharacterAtEnd": true }, { "enabled": true, "character1": "︙", "character2": null, "includeCharacterAtStart": false, "includeCharacterAtEnd": true } ], "terminationCharacterMode": "newlines" }, "inputs": { "hotkeys": [ { "action": "close", "key": "Escape", "modifiers": [], "scopes": [ "popup" ], "enabled": true, "argument": "" }, { "action": "focusSearchBox", "key": "Escape", "modifiers": [], "scopes": [ "search" ], "enabled": true, "argument": "" }, { "action": "previousEntry", "key": "PageUp", "modifiers": [ "alt" ], "scopes": [ "popup", "search" ], "enabled": true, "argument": "3" }, { "action": "nextEntry", "key": "PageDown", "modifiers": [ "alt" ], "scopes": [ "popup", "search" ], "enabled": true, "argument": "3" }, { "action": "lastEntry", "key": "End", "modifiers": [ "alt" ], "scopes": [ "popup", "search" ], "enabled": true, "argument": "" }, { "action": "firstEntry", "key": "Home", "modifiers": [ "alt" ], "scopes": [ "popup", "search" ], "enabled": true, "argument": "" }, { "action": "previousEntry", "key": "ArrowUp", "modifiers": [ "alt" ], "scopes": [ "popup", "search" ], "enabled": true, "argument": "1" }, { "action": "nextEntry", "key": "ArrowDown", "modifiers": [ "alt" ], "scopes": [ "popup", "search" ], "enabled": true, "argument": "1" }, { "action": "historyBackward", "key": "KeyB", "modifiers": [ "alt" ], "scopes": [ "popup", "search" ], "enabled": true, "argument": "" }, { "action": "historyForward", "key": "KeyF", "modifiers": [ "alt" ], "scopes": [ "popup", "search" ], "enabled": true, "argument": "" }, { "action": "addNoteKanji", "key": "KeyK", "modifiers": [ "alt" ], "scopes": [ "popup", "search" ], "enabled": true, "argument": "" }, { "action": "addNoteTermKanji", "key": "KeyE", "modifiers": [ "alt" ], "scopes": [ "popup", "search" ], "enabled": true, "argument": "" }, { "action": "addNoteTermKana", "key": "KeyR", "modifiers": [ "alt" ], "scopes": [ "popup", "search" ], "enabled": true, "argument": "" }, { "action": "playAudio", "key": "KeyP", "modifiers": [ "alt" ], "scopes": [ "popup", "search" ], "enabled": true, "argument": "" }, { "action": "viewNote", "key": "KeyV", "modifiers": [ "alt" ], "scopes": [ "popup", "search" ], "enabled": true, "argument": "" }, { "action": "copyHostSelection", "key": "KeyC", "modifiers": [ "ctrl" ], "scopes": [ "popup" ], "enabled": true, "argument": "" }, { "action": "scanSelectedText", "key": "KeyZ", "modifiers": [], "scopes": [ "web" ], "enabled": true, "argument": "" } ] }, "popupWindow": { "width": 400, "height": 250, "left": 0, "top": 0, "useLeft": false, "useTop": false, "windowType": "popup", "windowState": "normal" }, "clipboard": { "enableBackgroundMonitor": false, "enableSearchPageMonitor": true, "autoSearchContent": true, "maximumSearchLength": 1000 }, "accessibility": { "forceGoogleDocsHtmlRendering": false } } } ], "profileCurrent": 0, "global": { "database": { "prefixWildcardsSupported": true } } } }