2019-11-27 17:11:45 +00:00
|
|
|
|
{
|
|
|
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
|
|
|
"type": "object",
|
|
|
|
|
"required": [
|
|
|
|
|
"version",
|
|
|
|
|
"profiles",
|
|
|
|
|
"profileCurrent",
|
|
|
|
|
"global"
|
|
|
|
|
],
|
|
|
|
|
"properties": {
|
|
|
|
|
"version": {
|
|
|
|
|
"type": "integer",
|
|
|
|
|
"minimum": 0,
|
|
|
|
|
"default": 0
|
|
|
|
|
},
|
|
|
|
|
"profiles": {
|
|
|
|
|
"type": "array",
|
2020-09-13 23:59:02 +00:00
|
|
|
|
"minItems": 1,
|
2019-11-27 17:11:45 +00:00
|
|
|
|
"items": {
|
|
|
|
|
"type": "object",
|
|
|
|
|
"required": [
|
|
|
|
|
"name",
|
|
|
|
|
"conditionGroups",
|
|
|
|
|
"options"
|
|
|
|
|
],
|
|
|
|
|
"properties": {
|
|
|
|
|
"name": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"default": "Default"
|
|
|
|
|
},
|
|
|
|
|
"conditionGroups": {
|
|
|
|
|
"type": "array",
|
|
|
|
|
"items": {
|
|
|
|
|
"type": "object",
|
|
|
|
|
"required": [
|
|
|
|
|
"conditions"
|
|
|
|
|
],
|
|
|
|
|
"properties": {
|
|
|
|
|
"conditions": {
|
|
|
|
|
"type": "array",
|
|
|
|
|
"items": {
|
|
|
|
|
"type": "object",
|
|
|
|
|
"required": [
|
|
|
|
|
"type",
|
|
|
|
|
"operator",
|
|
|
|
|
"value"
|
|
|
|
|
],
|
|
|
|
|
"properties": {
|
|
|
|
|
"type": {
|
|
|
|
|
"type": "string"
|
|
|
|
|
},
|
|
|
|
|
"operator": {
|
|
|
|
|
"type": "string"
|
|
|
|
|
},
|
|
|
|
|
"value": {}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"options": {
|
|
|
|
|
"type": "object",
|
|
|
|
|
"required": [
|
|
|
|
|
"general",
|
2021-01-16 15:22:24 +00:00
|
|
|
|
"popupWindow",
|
2019-11-27 17:11:45 +00:00
|
|
|
|
"audio",
|
|
|
|
|
"scanning",
|
2019-12-29 23:32:41 +00:00
|
|
|
|
"translation",
|
2019-11-27 17:11:45 +00:00
|
|
|
|
"dictionaries",
|
|
|
|
|
"parsing",
|
2021-01-10 02:25:04 +00:00
|
|
|
|
"anki",
|
2021-01-15 01:56:18 +00:00
|
|
|
|
"sentenceParsing",
|
2021-01-26 23:30:01 +00:00
|
|
|
|
"inputs",
|
|
|
|
|
"clipboard"
|
2019-11-27 17:11:45 +00:00
|
|
|
|
],
|
|
|
|
|
"properties": {
|
|
|
|
|
"general": {
|
|
|
|
|
"type": "object",
|
|
|
|
|
"required": [
|
|
|
|
|
"enable",
|
|
|
|
|
"resultOutputMode",
|
|
|
|
|
"debugInfo",
|
|
|
|
|
"maxResults",
|
|
|
|
|
"showAdvanced",
|
|
|
|
|
"popupDisplayMode",
|
|
|
|
|
"popupWidth",
|
|
|
|
|
"popupHeight",
|
|
|
|
|
"popupHorizontalOffset",
|
|
|
|
|
"popupVerticalOffset",
|
|
|
|
|
"popupHorizontalOffset2",
|
|
|
|
|
"popupVerticalOffset2",
|
|
|
|
|
"popupHorizontalTextPosition",
|
|
|
|
|
"popupVerticalTextPosition",
|
2019-12-29 23:35:12 +00:00
|
|
|
|
"popupScalingFactor",
|
|
|
|
|
"popupScaleRelativeToPageZoom",
|
2019-12-30 17:42:12 +00:00
|
|
|
|
"popupScaleRelativeToVisualViewport",
|
2019-11-27 17:11:45 +00:00
|
|
|
|
"showGuide",
|
|
|
|
|
"compactTags",
|
2020-11-26 04:22:05 +00:00
|
|
|
|
"glossaryLayoutMode",
|
2019-11-27 17:11:45 +00:00
|
|
|
|
"mainDictionary",
|
|
|
|
|
"popupTheme",
|
|
|
|
|
"popupOuterTheme",
|
|
|
|
|
"customPopupCss",
|
|
|
|
|
"customPopupOuterCss",
|
|
|
|
|
"enableWanakana",
|
2020-03-01 19:38:16 +00:00
|
|
|
|
"showPitchAccentDownstepNotation",
|
|
|
|
|
"showPitchAccentPositionNotation",
|
2020-04-04 22:43:12 +00:00
|
|
|
|
"showPitchAccentGraph",
|
2020-06-21 19:52:43 +00:00
|
|
|
|
"showIframePopupsInRootFrame",
|
2020-06-25 01:46:13 +00:00
|
|
|
|
"useSecurePopupFrameUrl",
|
2020-09-06 02:03:35 +00:00
|
|
|
|
"usePopupShadowDom",
|
2020-12-18 16:24:43 +00:00
|
|
|
|
"usePopupWindow",
|
2020-12-20 01:07:55 +00:00
|
|
|
|
"popupCurrentIndicatorMode",
|
|
|
|
|
"popupActionBarVisibility",
|
2021-03-03 03:51:06 +00:00
|
|
|
|
"popupActionBarLocation",
|
|
|
|
|
"frequencyDisplayMode",
|
|
|
|
|
"termDisplayMode"
|
2019-11-27 17:11:45 +00:00
|
|
|
|
],
|
|
|
|
|
"properties": {
|
|
|
|
|
"enable": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": true
|
|
|
|
|
},
|
|
|
|
|
"resultOutputMode": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"enum": ["group", "merge", "split"],
|
|
|
|
|
"default": "group"
|
|
|
|
|
},
|
|
|
|
|
"debugInfo": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": false
|
|
|
|
|
},
|
|
|
|
|
"maxResults": {
|
|
|
|
|
"type": "integer",
|
|
|
|
|
"minimum": 1,
|
|
|
|
|
"default": 32
|
|
|
|
|
},
|
|
|
|
|
"showAdvanced": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": false
|
|
|
|
|
},
|
|
|
|
|
"popupDisplayMode": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"enum": ["default", "full-width"],
|
|
|
|
|
"default": "default"
|
|
|
|
|
},
|
|
|
|
|
"popupWidth": {
|
|
|
|
|
"type": "number",
|
|
|
|
|
"minimum": 0,
|
|
|
|
|
"default": 400
|
|
|
|
|
},
|
|
|
|
|
"popupHeight": {
|
|
|
|
|
"type": "number",
|
|
|
|
|
"minimum": 0,
|
|
|
|
|
"default": 250
|
|
|
|
|
},
|
|
|
|
|
"popupHorizontalOffset": {
|
|
|
|
|
"type": "number",
|
|
|
|
|
"default": 0
|
|
|
|
|
},
|
|
|
|
|
"popupVerticalOffset": {
|
|
|
|
|
"type": "number",
|
|
|
|
|
"default": 10
|
|
|
|
|
},
|
|
|
|
|
"popupHorizontalOffset2": {
|
|
|
|
|
"type": "number",
|
|
|
|
|
"default": 10
|
|
|
|
|
},
|
|
|
|
|
"popupVerticalOffset2": {
|
|
|
|
|
"type": "number",
|
|
|
|
|
"default": 0
|
|
|
|
|
},
|
|
|
|
|
"popupHorizontalTextPosition": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"enum": ["below", "above"],
|
|
|
|
|
"default": "below"
|
|
|
|
|
},
|
|
|
|
|
"popupVerticalTextPosition": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"enum": ["default", "before", "after", "left", "right"],
|
|
|
|
|
"default": "before"
|
|
|
|
|
},
|
2019-12-29 23:35:12 +00:00
|
|
|
|
"popupScalingFactor": {
|
|
|
|
|
"type": "number",
|
|
|
|
|
"default": 1
|
|
|
|
|
},
|
|
|
|
|
"popupScaleRelativeToPageZoom": {
|
|
|
|
|
"type": "boolean",
|
2019-12-30 17:36:11 +00:00
|
|
|
|
"default": false
|
2019-12-29 23:35:12 +00:00
|
|
|
|
},
|
2019-12-30 17:42:12 +00:00
|
|
|
|
"popupScaleRelativeToVisualViewport": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": true
|
|
|
|
|
},
|
2019-11-27 17:11:45 +00:00
|
|
|
|
"showGuide": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": true
|
|
|
|
|
},
|
|
|
|
|
"compactTags": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": false
|
|
|
|
|
},
|
2020-11-26 04:22:05 +00:00
|
|
|
|
"glossaryLayoutMode": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"enum": ["default", "compact"],
|
|
|
|
|
"default": "default"
|
2019-11-27 17:11:45 +00:00
|
|
|
|
},
|
|
|
|
|
"mainDictionary": {
|
|
|
|
|
"type": "string"
|
|
|
|
|
},
|
|
|
|
|
"popupTheme": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"enum": ["default", "dark"],
|
|
|
|
|
"default": "default"
|
|
|
|
|
},
|
|
|
|
|
"popupOuterTheme": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"enum": ["default", "dark", "auto"],
|
|
|
|
|
"default": "default"
|
|
|
|
|
},
|
|
|
|
|
"customPopupCss": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"default": ""
|
|
|
|
|
},
|
|
|
|
|
"customPopupOuterCss": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"default": ""
|
|
|
|
|
},
|
|
|
|
|
"enableWanakana": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": true
|
|
|
|
|
},
|
2020-03-01 19:38:16 +00:00
|
|
|
|
"showPitchAccentDownstepNotation": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": true
|
|
|
|
|
},
|
|
|
|
|
"showPitchAccentPositionNotation": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": true
|
|
|
|
|
},
|
|
|
|
|
"showPitchAccentGraph": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": false
|
2020-04-04 22:43:12 +00:00
|
|
|
|
},
|
|
|
|
|
"showIframePopupsInRootFrame": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": false
|
2020-06-21 19:52:43 +00:00
|
|
|
|
},
|
2020-06-22 23:26:59 +00:00
|
|
|
|
"useSecurePopupFrameUrl": {
|
2020-06-21 19:52:43 +00:00
|
|
|
|
"type": "boolean",
|
2020-06-22 23:26:59 +00:00
|
|
|
|
"default": true
|
2020-06-25 01:46:13 +00:00
|
|
|
|
},
|
|
|
|
|
"usePopupShadowDom": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": true
|
2020-09-06 02:03:35 +00:00
|
|
|
|
},
|
|
|
|
|
"usePopupWindow": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": false
|
2020-12-18 16:24:43 +00:00
|
|
|
|
},
|
2020-12-19 20:42:44 +00:00
|
|
|
|
"popupCurrentIndicatorMode": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"enum": ["none", "asterisk", "triangle", "bar-left", "bar-right", "dot-left", "dot-right"],
|
2020-12-22 23:22:14 +00:00
|
|
|
|
"default": "triangle"
|
2020-12-20 01:07:55 +00:00
|
|
|
|
},
|
|
|
|
|
"popupActionBarVisibility": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"enum": ["auto", "always"],
|
|
|
|
|
"default": "auto"
|
|
|
|
|
},
|
|
|
|
|
"popupActionBarLocation": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"enum": ["left", "right", "top", "bottom"],
|
2021-01-10 21:49:40 +00:00
|
|
|
|
"default": "top"
|
2021-02-25 22:48:39 +00:00
|
|
|
|
},
|
|
|
|
|
"frequencyDisplayMode": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"enum": ["tags", "tags-grouped", "split-tags", "split-tags-grouped", "inline-list", "list"],
|
|
|
|
|
"default": "split-tags-grouped"
|
2021-02-27 19:04:52 +00:00
|
|
|
|
},
|
|
|
|
|
"termDisplayMode": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"enum": ["ruby", "ruby-and-reading", "term-and-reading"],
|
|
|
|
|
"default": "ruby"
|
2019-11-27 17:11:45 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
2021-01-16 15:22:24 +00:00
|
|
|
|
"popupWindow": {
|
|
|
|
|
"type": "object",
|
|
|
|
|
"required": [
|
|
|
|
|
"width",
|
|
|
|
|
"height",
|
|
|
|
|
"left",
|
|
|
|
|
"top",
|
|
|
|
|
"useLeft",
|
|
|
|
|
"useTop",
|
|
|
|
|
"windowType",
|
|
|
|
|
"windowState"
|
|
|
|
|
],
|
|
|
|
|
"properties": {
|
|
|
|
|
"width": {
|
|
|
|
|
"type": "integer",
|
|
|
|
|
"minimum": 0,
|
|
|
|
|
"default": 400
|
|
|
|
|
},
|
|
|
|
|
"height": {
|
|
|
|
|
"type": "integer",
|
|
|
|
|
"minimum": 0,
|
|
|
|
|
"default": 250
|
|
|
|
|
},
|
|
|
|
|
"left": {
|
|
|
|
|
"type": "integer",
|
|
|
|
|
"default": 0
|
|
|
|
|
},
|
|
|
|
|
"top": {
|
|
|
|
|
"type": "integer",
|
|
|
|
|
"default": 0
|
|
|
|
|
},
|
|
|
|
|
"useLeft": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": false
|
|
|
|
|
},
|
|
|
|
|
"useTop": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": false
|
|
|
|
|
},
|
|
|
|
|
"windowType": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"enum": ["normal", "popup"],
|
|
|
|
|
"default": "popup"
|
|
|
|
|
},
|
|
|
|
|
"windowState": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"enum": ["normal", "maximized", "fullscreen"],
|
|
|
|
|
"default": "normal"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
2019-11-27 17:11:45 +00:00
|
|
|
|
"audio": {
|
|
|
|
|
"type": "object",
|
|
|
|
|
"required": [
|
|
|
|
|
"enabled",
|
|
|
|
|
"sources",
|
|
|
|
|
"volume",
|
|
|
|
|
"autoPlay",
|
|
|
|
|
"customSourceUrl",
|
2021-01-24 03:46:00 +00:00
|
|
|
|
"customSourceType",
|
2019-11-27 17:11:45 +00:00
|
|
|
|
"textToSpeechVoice"
|
|
|
|
|
],
|
|
|
|
|
"properties": {
|
|
|
|
|
"enabled": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": true
|
|
|
|
|
},
|
|
|
|
|
"sources": {
|
|
|
|
|
"type": "array",
|
|
|
|
|
"items": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"enum": [
|
|
|
|
|
"jpod101",
|
|
|
|
|
"jpod101-alternate",
|
|
|
|
|
"jisho",
|
|
|
|
|
"text-to-speech",
|
|
|
|
|
"text-to-speech-reading",
|
|
|
|
|
"custom"
|
|
|
|
|
],
|
|
|
|
|
"default": "jpod101"
|
2020-10-12 02:20:07 +00:00
|
|
|
|
},
|
|
|
|
|
"default": [
|
|
|
|
|
"jpod101"
|
|
|
|
|
]
|
2019-11-27 17:11:45 +00:00
|
|
|
|
},
|
|
|
|
|
"volume": {
|
|
|
|
|
"type": "number",
|
|
|
|
|
"minimum": 0,
|
|
|
|
|
"maximum": 100,
|
|
|
|
|
"default": 100
|
|
|
|
|
},
|
|
|
|
|
"autoPlay": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": false
|
|
|
|
|
},
|
|
|
|
|
"customSourceUrl": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"default": ""
|
|
|
|
|
},
|
2021-01-24 03:46:00 +00:00
|
|
|
|
"customSourceType": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"enum": ["audio", "json"],
|
|
|
|
|
"default": "audio"
|
|
|
|
|
},
|
2019-11-27 17:11:45 +00:00
|
|
|
|
"textToSpeechVoice": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"default": ""
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"scanning": {
|
|
|
|
|
"type": "object",
|
|
|
|
|
"required": [
|
2020-09-09 20:59:03 +00:00
|
|
|
|
"inputs",
|
2020-09-26 23:24:21 +00:00
|
|
|
|
"preventMiddleMouse",
|
2019-11-27 17:11:45 +00:00
|
|
|
|
"touchInputEnabled",
|
2020-09-13 15:33:10 +00:00
|
|
|
|
"pointerEventsEnabled",
|
2019-11-27 17:11:45 +00:00
|
|
|
|
"selectText",
|
|
|
|
|
"alphanumeric",
|
|
|
|
|
"autoHideResults",
|
|
|
|
|
"delay",
|
2020-09-08 23:40:15 +00:00
|
|
|
|
"hideDelay",
|
2019-11-27 17:11:45 +00:00
|
|
|
|
"length",
|
|
|
|
|
"deepDomScan",
|
|
|
|
|
"popupNestingMaxDepth",
|
|
|
|
|
"enablePopupSearch",
|
|
|
|
|
"enableOnPopupExpressions",
|
2020-01-26 19:00:19 +00:00
|
|
|
|
"enableOnSearchPage",
|
2020-06-21 20:07:51 +00:00
|
|
|
|
"enableSearchTags",
|
|
|
|
|
"layoutAwareScan"
|
2019-11-27 17:11:45 +00:00
|
|
|
|
],
|
|
|
|
|
"properties": {
|
2020-09-09 20:59:03 +00:00
|
|
|
|
"inputs": {
|
|
|
|
|
"type": "array",
|
|
|
|
|
"default": [
|
|
|
|
|
{
|
|
|
|
|
"include": "shift",
|
2020-09-26 21:51:52 +00:00
|
|
|
|
"exclude": "mouse0",
|
2020-09-11 18:13:52 +00:00
|
|
|
|
"types": {
|
|
|
|
|
"mouse": true,
|
|
|
|
|
"touch": false,
|
|
|
|
|
"pen": false
|
2020-09-13 17:16:56 +00:00
|
|
|
|
},
|
|
|
|
|
"options": {
|
|
|
|
|
"showAdvanced": false,
|
2020-09-27 15:53:07 +00:00
|
|
|
|
"searchTerms": true,
|
|
|
|
|
"searchKanji": true,
|
2020-09-27 15:46:37 +00:00
|
|
|
|
"scanOnTouchMove": true,
|
2020-09-13 17:16:56 +00:00
|
|
|
|
"scanOnPenHover": true,
|
|
|
|
|
"scanOnPenPress": true,
|
2020-09-13 17:25:03 +00:00
|
|
|
|
"scanOnPenRelease": false,
|
2020-09-27 15:46:37 +00:00
|
|
|
|
"preventTouchScrolling": false
|
2020-09-11 18:13:52 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"include": "",
|
|
|
|
|
"exclude": "",
|
|
|
|
|
"types": {
|
|
|
|
|
"mouse": false,
|
|
|
|
|
"touch": true,
|
|
|
|
|
"pen": true
|
2020-09-13 17:16:56 +00:00
|
|
|
|
},
|
|
|
|
|
"options": {
|
|
|
|
|
"showAdvanced": false,
|
2020-09-27 15:53:07 +00:00
|
|
|
|
"searchTerms": true,
|
|
|
|
|
"searchKanji": true,
|
2020-09-27 15:46:37 +00:00
|
|
|
|
"scanOnTouchMove": true,
|
2020-09-13 17:16:56 +00:00
|
|
|
|
"scanOnPenHover": true,
|
|
|
|
|
"scanOnPenPress": true,
|
2020-09-13 17:25:03 +00:00
|
|
|
|
"scanOnPenRelease": false,
|
2020-09-27 15:46:37 +00:00
|
|
|
|
"preventTouchScrolling": true
|
2020-09-11 18:13:52 +00:00
|
|
|
|
}
|
2020-09-09 20:59:03 +00:00
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"items": {
|
|
|
|
|
"required": [
|
|
|
|
|
"include",
|
2020-09-11 18:13:52 +00:00
|
|
|
|
"exclude",
|
2020-09-12 17:20:02 +00:00
|
|
|
|
"types",
|
|
|
|
|
"options"
|
2020-09-09 20:59:03 +00:00
|
|
|
|
],
|
|
|
|
|
"properties": {
|
|
|
|
|
"include": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"default": "shift"
|
|
|
|
|
},
|
|
|
|
|
"exclude": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"default": ""
|
2020-09-11 18:13:52 +00:00
|
|
|
|
},
|
|
|
|
|
"types": {
|
|
|
|
|
"type": "object",
|
|
|
|
|
"required": [
|
|
|
|
|
"mouse",
|
|
|
|
|
"touch",
|
|
|
|
|
"pen"
|
|
|
|
|
],
|
|
|
|
|
"properties": {
|
|
|
|
|
"mouse": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": true
|
|
|
|
|
},
|
|
|
|
|
"touch": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": true
|
|
|
|
|
},
|
|
|
|
|
"pen": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": true
|
|
|
|
|
}
|
|
|
|
|
}
|
2020-09-12 17:20:02 +00:00
|
|
|
|
},
|
|
|
|
|
"options": {
|
|
|
|
|
"type": "object",
|
|
|
|
|
"required": [
|
|
|
|
|
"showAdvanced",
|
2020-09-27 15:53:07 +00:00
|
|
|
|
"searchTerms",
|
|
|
|
|
"searchKanji",
|
2020-09-27 15:46:37 +00:00
|
|
|
|
"scanOnTouchMove",
|
2020-09-12 17:20:02 +00:00
|
|
|
|
"scanOnPenHover",
|
|
|
|
|
"scanOnPenPress",
|
2020-09-13 17:25:03 +00:00
|
|
|
|
"scanOnPenRelease",
|
2020-09-27 15:46:37 +00:00
|
|
|
|
"preventTouchScrolling"
|
2020-09-12 17:20:02 +00:00
|
|
|
|
],
|
|
|
|
|
"properties": {
|
|
|
|
|
"showAdvanced": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": false
|
|
|
|
|
},
|
2020-09-27 15:53:07 +00:00
|
|
|
|
"searchTerms": {
|
2020-09-27 15:46:37 +00:00
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": true
|
|
|
|
|
},
|
2020-09-27 15:53:07 +00:00
|
|
|
|
"searchKanji": {
|
2020-09-12 17:20:02 +00:00
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": true
|
|
|
|
|
},
|
2020-09-27 15:53:07 +00:00
|
|
|
|
"scanOnTouchMove": {
|
2020-09-12 17:20:02 +00:00
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": true
|
|
|
|
|
},
|
2020-09-27 15:53:07 +00:00
|
|
|
|
"scanOnPenHover": {
|
2020-09-12 17:20:02 +00:00
|
|
|
|
"type": "boolean",
|
2020-09-27 15:53:07 +00:00
|
|
|
|
"default": true
|
2020-09-13 17:25:03 +00:00
|
|
|
|
},
|
2020-09-27 15:53:07 +00:00
|
|
|
|
"scanOnPenPress": {
|
2020-09-13 17:25:03 +00:00
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": true
|
|
|
|
|
},
|
2020-09-27 15:53:07 +00:00
|
|
|
|
"scanOnPenRelease": {
|
2020-09-13 17:25:03 +00:00
|
|
|
|
"type": "boolean",
|
2020-09-27 15:53:07 +00:00
|
|
|
|
"default": false
|
2020-09-27 15:46:37 +00:00
|
|
|
|
},
|
|
|
|
|
"preventTouchScrolling": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": true
|
2020-09-12 17:20:02 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
2020-09-09 20:59:03 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2019-11-27 17:11:45 +00:00
|
|
|
|
},
|
2020-09-26 23:24:21 +00:00
|
|
|
|
"preventMiddleMouse": {
|
|
|
|
|
"type": "object",
|
|
|
|
|
"required": [
|
|
|
|
|
"onWebPages",
|
|
|
|
|
"onPopupPages",
|
|
|
|
|
"onSearchPages",
|
|
|
|
|
"onSearchQuery"
|
|
|
|
|
],
|
|
|
|
|
"properties": {
|
|
|
|
|
"onWebPages": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": false
|
|
|
|
|
},
|
|
|
|
|
"onPopupPages": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": false
|
|
|
|
|
},
|
|
|
|
|
"onSearchPages": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": false
|
|
|
|
|
},
|
|
|
|
|
"onSearchQuery": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": false
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
2019-11-27 17:11:45 +00:00
|
|
|
|
"touchInputEnabled": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": true
|
|
|
|
|
},
|
2020-09-13 15:33:10 +00:00
|
|
|
|
"pointerEventsEnabled": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": false
|
|
|
|
|
},
|
2019-11-27 17:11:45 +00:00
|
|
|
|
"selectText": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": true
|
|
|
|
|
},
|
|
|
|
|
"alphanumeric": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": true
|
|
|
|
|
},
|
|
|
|
|
"autoHideResults": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": false
|
|
|
|
|
},
|
|
|
|
|
"delay": {
|
|
|
|
|
"type": "number",
|
|
|
|
|
"minimum": 0,
|
|
|
|
|
"default": 20
|
|
|
|
|
},
|
2020-09-08 23:40:15 +00:00
|
|
|
|
"hideDelay": {
|
|
|
|
|
"type": "number",
|
|
|
|
|
"minimum": 0,
|
|
|
|
|
"default": 0
|
|
|
|
|
},
|
2019-11-27 17:11:45 +00:00
|
|
|
|
"length": {
|
|
|
|
|
"type": "integer",
|
|
|
|
|
"minimum": 1,
|
|
|
|
|
"default": 10
|
|
|
|
|
},
|
|
|
|
|
"deepDomScan": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": false
|
|
|
|
|
},
|
|
|
|
|
"popupNestingMaxDepth": {
|
|
|
|
|
"type": "integer",
|
|
|
|
|
"minimum": 0,
|
|
|
|
|
"default": 0
|
|
|
|
|
},
|
|
|
|
|
"enablePopupSearch": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": false
|
|
|
|
|
},
|
|
|
|
|
"enableOnPopupExpressions": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": false
|
|
|
|
|
},
|
|
|
|
|
"enableOnSearchPage": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": true
|
2020-01-26 19:00:19 +00:00
|
|
|
|
},
|
|
|
|
|
"enableSearchTags": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": false
|
2020-06-21 20:07:51 +00:00
|
|
|
|
},
|
|
|
|
|
"layoutAwareScan": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": false
|
2019-11-27 17:11:45 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
2019-12-29 23:32:41 +00:00
|
|
|
|
"translation": {
|
|
|
|
|
"type": "object",
|
|
|
|
|
"required": [
|
|
|
|
|
"convertHalfWidthCharacters",
|
|
|
|
|
"convertNumericCharacters",
|
2020-01-24 01:28:38 +00:00
|
|
|
|
"convertAlphabeticCharacters",
|
2020-01-24 01:49:41 +00:00
|
|
|
|
"convertHiraganaToKatakana",
|
2020-04-10 15:56:18 +00:00
|
|
|
|
"convertKatakanaToHiragana",
|
2021-01-03 17:12:55 +00:00
|
|
|
|
"collapseEmphaticSequences",
|
|
|
|
|
"textReplacements"
|
2019-12-29 23:32:41 +00:00
|
|
|
|
],
|
|
|
|
|
"properties": {
|
|
|
|
|
"convertHalfWidthCharacters": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"enum": ["false", "true", "variant"],
|
|
|
|
|
"default": "false"
|
|
|
|
|
},
|
|
|
|
|
"convertNumericCharacters": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"enum": ["false", "true", "variant"],
|
|
|
|
|
"default": "false"
|
|
|
|
|
},
|
|
|
|
|
"convertAlphabeticCharacters": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"enum": ["false", "true", "variant"],
|
|
|
|
|
"default": "false"
|
2020-01-24 01:28:38 +00:00
|
|
|
|
},
|
2020-01-24 01:49:41 +00:00
|
|
|
|
"convertHiraganaToKatakana": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"enum": ["false", "true", "variant"],
|
|
|
|
|
"default": "false"
|
|
|
|
|
},
|
2020-01-24 01:28:38 +00:00
|
|
|
|
"convertKatakanaToHiragana": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"enum": ["false", "true", "variant"],
|
|
|
|
|
"default": "variant"
|
2020-04-10 15:56:18 +00:00
|
|
|
|
},
|
|
|
|
|
"collapseEmphaticSequences": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"enum": ["false", "true", "full"],
|
|
|
|
|
"default": "false"
|
2021-01-03 17:12:55 +00:00
|
|
|
|
},
|
|
|
|
|
"textReplacements": {
|
|
|
|
|
"type": "object",
|
|
|
|
|
"required": [
|
|
|
|
|
"searchOriginal",
|
|
|
|
|
"groups"
|
|
|
|
|
],
|
|
|
|
|
"properties": {
|
|
|
|
|
"searchOriginal": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": true
|
|
|
|
|
},
|
|
|
|
|
"groups": {
|
|
|
|
|
"type": "array",
|
|
|
|
|
"items": {
|
|
|
|
|
"type": "array",
|
|
|
|
|
"items": {
|
|
|
|
|
"required": [
|
|
|
|
|
"pattern",
|
|
|
|
|
"ignoreCase",
|
|
|
|
|
"replacement"
|
|
|
|
|
],
|
|
|
|
|
"properties": {
|
|
|
|
|
"pattern": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"default": ""
|
|
|
|
|
},
|
|
|
|
|
"ignoreCase": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": false
|
|
|
|
|
},
|
|
|
|
|
"replacement": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"default": ""
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2019-12-29 23:32:41 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
2019-11-27 17:11:45 +00:00
|
|
|
|
"dictionaries": {
|
2021-04-03 17:02:49 +00:00
|
|
|
|
"type": "array",
|
|
|
|
|
"items": {
|
2019-11-27 17:11:45 +00:00
|
|
|
|
"type": "object",
|
|
|
|
|
"required": [
|
2021-04-03 17:02:49 +00:00
|
|
|
|
"name",
|
2019-11-27 17:11:45 +00:00
|
|
|
|
"priority",
|
|
|
|
|
"enabled",
|
2021-03-31 22:17:28 +00:00
|
|
|
|
"allowSecondarySearches",
|
|
|
|
|
"definitionsCollapsible"
|
2019-11-27 17:11:45 +00:00
|
|
|
|
],
|
|
|
|
|
"properties": {
|
2021-04-03 17:02:49 +00:00
|
|
|
|
"name": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"default": ""
|
|
|
|
|
},
|
2019-11-27 17:11:45 +00:00
|
|
|
|
"priority": {
|
|
|
|
|
"type": "number",
|
|
|
|
|
"default": 0
|
|
|
|
|
},
|
|
|
|
|
"enabled": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": true
|
|
|
|
|
},
|
|
|
|
|
"allowSecondarySearches": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": false
|
2021-03-31 22:17:28 +00:00
|
|
|
|
},
|
|
|
|
|
"definitionsCollapsible": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"enum": ["not-collapsible", "expanded", "collapsed"],
|
|
|
|
|
"default": "not-collapsible"
|
2019-11-27 17:11:45 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"parsing": {
|
|
|
|
|
"type": "object",
|
|
|
|
|
"required": [
|
|
|
|
|
"enableScanningParser",
|
|
|
|
|
"enableMecabParser",
|
|
|
|
|
"selectedParser",
|
2020-01-25 00:57:57 +00:00
|
|
|
|
"termSpacing",
|
2019-11-27 17:11:45 +00:00
|
|
|
|
"readingMode"
|
|
|
|
|
],
|
|
|
|
|
"properties": {
|
|
|
|
|
"enableScanningParser": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": true
|
|
|
|
|
},
|
|
|
|
|
"enableMecabParser": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": false
|
|
|
|
|
},
|
|
|
|
|
"selectedParser": {
|
|
|
|
|
"type": ["string", "null"],
|
|
|
|
|
"default": null
|
|
|
|
|
},
|
2020-01-25 00:57:57 +00:00
|
|
|
|
"termSpacing": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": true
|
|
|
|
|
},
|
2019-11-27 17:11:45 +00:00
|
|
|
|
"readingMode": {
|
|
|
|
|
"type": "string",
|
2020-01-25 00:56:14 +00:00
|
|
|
|
"enum": ["hiragana", "katakana", "romaji", "none"],
|
2019-11-27 17:11:45 +00:00
|
|
|
|
"default": "hiragana"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"anki": {
|
|
|
|
|
"type": "object",
|
|
|
|
|
"required": [
|
|
|
|
|
"enable",
|
|
|
|
|
"server",
|
|
|
|
|
"tags",
|
|
|
|
|
"screenshot",
|
|
|
|
|
"terms",
|
|
|
|
|
"kanji",
|
2020-04-27 22:10:59 +00:00
|
|
|
|
"duplicateScope",
|
2020-11-08 21:25:07 +00:00
|
|
|
|
"checkForDuplicates",
|
2021-01-15 03:42:11 +00:00
|
|
|
|
"fieldTemplates",
|
|
|
|
|
"suspendNewCards"
|
2019-11-27 17:11:45 +00:00
|
|
|
|
],
|
|
|
|
|
"properties": {
|
|
|
|
|
"enable": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": false
|
|
|
|
|
},
|
|
|
|
|
"server": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"default": "http://127.0.0.1:8765"
|
|
|
|
|
},
|
|
|
|
|
"tags": {
|
|
|
|
|
"type": "array",
|
|
|
|
|
"items": {
|
|
|
|
|
"type": "string"
|
|
|
|
|
},
|
|
|
|
|
"default": [
|
|
|
|
|
"yomichan"
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"screenshot": {
|
|
|
|
|
"type": "object",
|
|
|
|
|
"required": [
|
|
|
|
|
"format",
|
|
|
|
|
"quality"
|
|
|
|
|
],
|
|
|
|
|
"properties": {
|
|
|
|
|
"format": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"enum": ["png", "jpeg"],
|
|
|
|
|
"default": "png"
|
|
|
|
|
},
|
|
|
|
|
"quality": {
|
|
|
|
|
"type": "integer",
|
|
|
|
|
"minimum": 0,
|
|
|
|
|
"maximum": 100,
|
|
|
|
|
"default": 92
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"terms": {
|
|
|
|
|
"type": "object",
|
|
|
|
|
"required": [
|
|
|
|
|
"deck",
|
|
|
|
|
"model",
|
|
|
|
|
"fields"
|
|
|
|
|
],
|
|
|
|
|
"properties": {
|
|
|
|
|
"deck": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"default": ""
|
|
|
|
|
},
|
|
|
|
|
"model": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"default": ""
|
|
|
|
|
},
|
|
|
|
|
"fields": {
|
|
|
|
|
"type": "object",
|
|
|
|
|
"additionalProperties": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"default": ""
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"kanji": {
|
|
|
|
|
"type": "object",
|
|
|
|
|
"required": [
|
|
|
|
|
"deck",
|
|
|
|
|
"model",
|
|
|
|
|
"fields"
|
|
|
|
|
],
|
|
|
|
|
"properties": {
|
|
|
|
|
"deck": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"default": ""
|
|
|
|
|
},
|
|
|
|
|
"model": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"default": ""
|
|
|
|
|
},
|
|
|
|
|
"fields": {
|
|
|
|
|
"type": "object",
|
|
|
|
|
"additionalProperties": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"default": ""
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
2020-04-27 22:10:59 +00:00
|
|
|
|
"duplicateScope": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"default": "collection",
|
2020-10-31 23:03:45 +00:00
|
|
|
|
"enum": ["collection", "deck", "deck-root"]
|
2020-04-27 22:10:59 +00:00
|
|
|
|
},
|
2020-11-08 21:25:07 +00:00
|
|
|
|
"checkForDuplicates": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": true
|
|
|
|
|
},
|
2019-11-27 17:11:45 +00:00
|
|
|
|
"fieldTemplates": {
|
|
|
|
|
"type": ["string", "null"],
|
|
|
|
|
"default": null
|
2021-01-15 03:42:11 +00:00
|
|
|
|
},
|
|
|
|
|
"suspendNewCards": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": false
|
2019-11-27 17:11:45 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
2021-01-10 02:25:04 +00:00
|
|
|
|
},
|
|
|
|
|
"sentenceParsing": {
|
|
|
|
|
"type": "object",
|
|
|
|
|
"required": [
|
2021-01-10 19:43:06 +00:00
|
|
|
|
"scanExtent",
|
|
|
|
|
"enableTerminationCharacters",
|
|
|
|
|
"terminationCharacters"
|
2021-01-10 02:25:04 +00:00
|
|
|
|
],
|
|
|
|
|
"properties": {
|
|
|
|
|
"scanExtent": {
|
|
|
|
|
"type": "integer",
|
|
|
|
|
"minimum": 0,
|
|
|
|
|
"default": 200
|
2021-01-10 19:43:06 +00:00
|
|
|
|
},
|
|
|
|
|
"enableTerminationCharacters": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": true
|
|
|
|
|
},
|
|
|
|
|
"terminationCharacters": {
|
|
|
|
|
"type": "array",
|
|
|
|
|
"items": {
|
|
|
|
|
"type": "object",
|
|
|
|
|
"required": [
|
|
|
|
|
"enabled",
|
|
|
|
|
"character1",
|
|
|
|
|
"character2",
|
|
|
|
|
"includeCharacterAtStart",
|
|
|
|
|
"includeCharacterAtEnd"
|
|
|
|
|
],
|
|
|
|
|
"properties": {
|
|
|
|
|
"enabled": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": true
|
|
|
|
|
},
|
|
|
|
|
"character1": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"default": "\"",
|
|
|
|
|
"minLength": 1,
|
|
|
|
|
"maxLength": 1
|
|
|
|
|
},
|
|
|
|
|
"character2": {
|
|
|
|
|
"type": ["string", "null"],
|
|
|
|
|
"default": "\"",
|
|
|
|
|
"minLength": 1,
|
|
|
|
|
"maxLength": 1
|
|
|
|
|
},
|
|
|
|
|
"includeCharacterAtStart": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": false
|
|
|
|
|
},
|
|
|
|
|
"includeCharacterAtEnd": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": false
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"default": [
|
|
|
|
|
{"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}
|
|
|
|
|
]
|
2021-01-10 02:25:04 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
2021-01-15 01:56:18 +00:00
|
|
|
|
},
|
|
|
|
|
"inputs": {
|
|
|
|
|
"type": "object",
|
|
|
|
|
"required": [
|
|
|
|
|
"hotkeys"
|
|
|
|
|
],
|
|
|
|
|
"properties": {
|
|
|
|
|
"hotkeys": {
|
|
|
|
|
"type": "array",
|
|
|
|
|
"items": {
|
|
|
|
|
"type": "object",
|
|
|
|
|
"required": [
|
|
|
|
|
"action",
|
2021-03-28 02:30:45 +00:00
|
|
|
|
"argument",
|
2021-01-15 01:56:18 +00:00
|
|
|
|
"key",
|
|
|
|
|
"modifiers",
|
|
|
|
|
"scopes",
|
|
|
|
|
"enabled"
|
|
|
|
|
],
|
|
|
|
|
"properties": {
|
|
|
|
|
"action": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"default": ""
|
|
|
|
|
},
|
2021-03-28 02:30:45 +00:00
|
|
|
|
"argument": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"default": ""
|
|
|
|
|
},
|
2021-01-15 01:56:18 +00:00
|
|
|
|
"key": {
|
|
|
|
|
"type": ["string", "null"],
|
|
|
|
|
"default": null
|
|
|
|
|
},
|
|
|
|
|
"modifiers": {
|
|
|
|
|
"type": "array",
|
|
|
|
|
"items": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"enum": ["alt", "ctrl", "shift", "meta"],
|
|
|
|
|
"default": "alt"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"scopes": {
|
|
|
|
|
"type": "array",
|
|
|
|
|
"items": {
|
|
|
|
|
"type": "string",
|
2021-01-18 00:28:42 +00:00
|
|
|
|
"enum": ["popup", "search", "web"],
|
2021-01-15 01:56:18 +00:00
|
|
|
|
"default": "popup"
|
|
|
|
|
},
|
|
|
|
|
"default": ["popup", "search"]
|
|
|
|
|
},
|
|
|
|
|
"enabled": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": true
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"default": [
|
2021-03-28 02:30:45 +00:00
|
|
|
|
{"action": "close", "argument": "", "key": "Escape", "modifiers": [], "scopes": ["popup"], "enabled": true},
|
|
|
|
|
{"action": "focusSearchBox", "argument": "", "key": "Escape", "modifiers": [], "scopes": ["search"], "enabled": true},
|
|
|
|
|
{"action": "previousEntry", "argument": "3", "key": "PageUp", "modifiers": ["alt"], "scopes": ["popup", "search"], "enabled": true},
|
|
|
|
|
{"action": "nextEntry", "argument": "3", "key": "PageDown", "modifiers": ["alt"], "scopes": ["popup", "search"], "enabled": true},
|
|
|
|
|
{"action": "lastEntry", "argument": "", "key": "End", "modifiers": ["alt"], "scopes": ["popup", "search"], "enabled": true},
|
|
|
|
|
{"action": "firstEntry", "argument": "", "key": "Home", "modifiers": ["alt"], "scopes": ["popup", "search"], "enabled": true},
|
|
|
|
|
{"action": "previousEntry", "argument": "1", "key": "ArrowUp", "modifiers": ["alt"], "scopes": ["popup", "search"], "enabled": true},
|
|
|
|
|
{"action": "nextEntry", "argument": "1", "key": "ArrowDown", "modifiers": ["alt"], "scopes": ["popup", "search"], "enabled": true},
|
|
|
|
|
{"action": "historyBackward", "argument": "", "key": "KeyB", "modifiers": ["alt"], "scopes": ["popup", "search"], "enabled": true},
|
|
|
|
|
{"action": "historyForward", "argument": "", "key": "KeyF", "modifiers": ["alt"], "scopes": ["popup", "search"], "enabled": true},
|
|
|
|
|
{"action": "addNoteKanji", "argument": "", "key": "KeyK", "modifiers": ["alt"], "scopes": ["popup", "search"], "enabled": true},
|
|
|
|
|
{"action": "addNoteTermKanji", "argument": "", "key": "KeyE", "modifiers": ["alt"], "scopes": ["popup", "search"], "enabled": true},
|
|
|
|
|
{"action": "addNoteTermKana", "argument": "", "key": "KeyR", "modifiers": ["alt"], "scopes": ["popup", "search"], "enabled": true},
|
|
|
|
|
{"action": "playAudio", "argument": "", "key": "KeyP", "modifiers": ["alt"], "scopes": ["popup", "search"], "enabled": true},
|
|
|
|
|
{"action": "viewNote", "argument": "", "key": "KeyV", "modifiers": ["alt"], "scopes": ["popup", "search"], "enabled": true},
|
|
|
|
|
{"action": "copyHostSelection", "argument": "", "key": "KeyC", "modifiers": ["ctrl"], "scopes": ["popup"], "enabled": true}
|
2021-01-15 01:56:18 +00:00
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
2021-01-26 23:30:01 +00:00
|
|
|
|
},
|
|
|
|
|
"clipboard": {
|
|
|
|
|
"type": "object",
|
|
|
|
|
"required": [
|
|
|
|
|
"enableBackgroundMonitor",
|
|
|
|
|
"enableSearchPageMonitor",
|
|
|
|
|
"autoSearchContent",
|
|
|
|
|
"maximumSearchLength"
|
|
|
|
|
],
|
|
|
|
|
"properties": {
|
|
|
|
|
"enableBackgroundMonitor": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": false
|
|
|
|
|
},
|
|
|
|
|
"enableSearchPageMonitor": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": false
|
|
|
|
|
},
|
|
|
|
|
"autoSearchContent": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": true
|
|
|
|
|
},
|
|
|
|
|
"maximumSearchLength": {
|
|
|
|
|
"type": "integer",
|
|
|
|
|
"default": 1000,
|
|
|
|
|
"minimum": 0
|
|
|
|
|
}
|
|
|
|
|
}
|
2019-11-27 17:11:45 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"profileCurrent": {
|
|
|
|
|
"type": "integer",
|
|
|
|
|
"minimum": 0,
|
|
|
|
|
"default": 0
|
|
|
|
|
},
|
|
|
|
|
"global": {
|
|
|
|
|
"type": "object",
|
|
|
|
|
"required": [
|
2021-03-15 02:51:48 +00:00
|
|
|
|
"database"
|
2019-11-27 17:11:45 +00:00
|
|
|
|
],
|
|
|
|
|
"properties": {
|
|
|
|
|
"database": {
|
|
|
|
|
"type": "object",
|
|
|
|
|
"required": [
|
|
|
|
|
"prefixWildcardsSupported"
|
|
|
|
|
],
|
|
|
|
|
"properties": {
|
|
|
|
|
"prefixWildcardsSupported": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": false
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|