2016-03-17 03:33:15 +00:00
|
|
|
{
|
|
|
|
"manifest_version": 2,
|
2019-08-17 23:01:54 +00:00
|
|
|
"name": "Yomichan",
|
2020-08-04 00:01:40 +00:00
|
|
|
"version": "20.8.3.0",
|
2019-10-11 02:49:05 +00:00
|
|
|
"description": "Japanese dictionary with Anki integration",
|
2020-08-09 17:09:06 +00:00
|
|
|
"author": "Alex Yatskov",
|
2020-04-26 20:56:14 +00:00
|
|
|
"icons": {
|
|
|
|
"16": "mixed/img/icon16.png",
|
|
|
|
"19": "mixed/img/icon19.png",
|
|
|
|
"32": "mixed/img/icon32.png",
|
|
|
|
"38": "mixed/img/icon38.png",
|
|
|
|
"48": "mixed/img/icon48.png",
|
2020-08-09 17:09:06 +00:00
|
|
|
"64": "mixed/img/icon64.png",
|
2020-04-26 20:56:14 +00:00
|
|
|
"128": "mixed/img/icon128.png"
|
|
|
|
},
|
2017-03-02 04:49:46 +00:00
|
|
|
"browser_action": {
|
2020-04-26 20:56:14 +00:00
|
|
|
"default_icon": {
|
|
|
|
"16": "mixed/img/icon16.png",
|
|
|
|
"19": "mixed/img/icon19.png",
|
|
|
|
"32": "mixed/img/icon32.png",
|
|
|
|
"38": "mixed/img/icon38.png",
|
|
|
|
"48": "mixed/img/icon48.png",
|
2020-08-09 17:09:06 +00:00
|
|
|
"64": "mixed/img/icon64.png",
|
2020-04-26 20:56:14 +00:00
|
|
|
"128": "mixed/img/icon128.png"
|
|
|
|
},
|
|
|
|
"default_title": "Yomichan",
|
2017-08-15 02:55:04 +00:00
|
|
|
"default_popup": "bg/context.html"
|
2017-03-02 04:49:46 +00:00
|
|
|
},
|
2019-08-22 23:44:31 +00:00
|
|
|
"background": {
|
|
|
|
"page": "bg/background.html",
|
|
|
|
"persistent": true
|
|
|
|
},
|
2020-08-09 17:09:06 +00:00
|
|
|
"content_scripts": [
|
|
|
|
{
|
|
|
|
"matches": [
|
|
|
|
"http://*/*",
|
|
|
|
"https://*/*",
|
|
|
|
"file://*/*"
|
|
|
|
],
|
|
|
|
"js": [
|
|
|
|
"mixed/js/core.js",
|
|
|
|
"mixed/js/yomichan.js",
|
|
|
|
"mixed/js/comm.js",
|
|
|
|
"mixed/js/dom.js",
|
|
|
|
"mixed/js/api.js",
|
|
|
|
"mixed/js/dynamic-loader.js",
|
|
|
|
"mixed/js/frame-client.js",
|
|
|
|
"mixed/js/text-scanner.js",
|
2020-08-09 17:27:21 +00:00
|
|
|
"fg/js/document-util.js",
|
2020-08-09 17:09:06 +00:00
|
|
|
"fg/js/dom-text-scanner.js",
|
|
|
|
"fg/js/popup.js",
|
|
|
|
"fg/js/source.js",
|
|
|
|
"fg/js/popup-factory.js",
|
|
|
|
"fg/js/frame-offset-forwarder.js",
|
|
|
|
"fg/js/popup-proxy.js",
|
|
|
|
"fg/js/frontend.js",
|
|
|
|
"fg/js/content-script-main.js"
|
|
|
|
],
|
|
|
|
"match_about_blank": true,
|
|
|
|
"all_frames": true
|
|
|
|
}
|
|
|
|
],
|
2017-07-10 22:22:19 +00:00
|
|
|
"minimum_chrome_version": "57.0.0.0",
|
2018-03-12 20:04:08 +00:00
|
|
|
"options_page": "bg/settings.html",
|
2018-12-10 22:23:53 +00:00
|
|
|
"options_ui": {
|
|
|
|
"page": "bg/settings.html",
|
|
|
|
"open_in_tab": true
|
|
|
|
},
|
2016-12-29 17:36:54 +00:00
|
|
|
"permissions": [
|
2017-02-26 19:49:37 +00:00
|
|
|
"<all_urls>",
|
2017-04-01 04:48:10 +00:00
|
|
|
"storage",
|
2019-10-15 23:41:39 +00:00
|
|
|
"clipboardWrite",
|
2019-11-03 03:08:57 +00:00
|
|
|
"unlimitedStorage",
|
2020-08-02 22:58:19 +00:00
|
|
|
"nativeMessaging",
|
|
|
|
"webRequest",
|
|
|
|
"webRequestBlocking"
|
2016-12-29 17:36:54 +00:00
|
|
|
],
|
2019-10-26 22:51:18 +00:00
|
|
|
"optional_permissions": [
|
|
|
|
"clipboardRead"
|
|
|
|
],
|
2017-03-18 20:00:29 +00:00
|
|
|
"commands": {
|
|
|
|
"toggle": {
|
|
|
|
"suggested_key": {
|
|
|
|
"default": "Alt+Delete"
|
|
|
|
},
|
|
|
|
"description": "Toggle text scanning"
|
|
|
|
},
|
|
|
|
"search": {
|
|
|
|
"suggested_key": {
|
|
|
|
"default": "Alt+Insert"
|
|
|
|
},
|
|
|
|
"description": "Open search window"
|
|
|
|
}
|
|
|
|
},
|
2020-08-09 17:09:06 +00:00
|
|
|
"web_accessible_resources": [
|
|
|
|
"fg/float.html"
|
|
|
|
],
|
2017-09-09 19:59:49 +00:00
|
|
|
"content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'",
|
2017-01-29 05:10:26 +00:00
|
|
|
"applications": {
|
|
|
|
"gecko": {
|
2019-08-17 23:01:54 +00:00
|
|
|
"id": "alex@foosoft.net",
|
2020-05-10 18:07:25 +00:00
|
|
|
"strict_min_version": "55.0"
|
2017-01-29 05:10:26 +00:00
|
|
|
}
|
|
|
|
}
|
2016-03-17 03:33:15 +00:00
|
|
|
}
|