2016-03-17 03:33:15 +00:00
|
|
|
{
|
|
|
|
"manifest_version": 2,
|
2019-08-17 23:01:54 +00:00
|
|
|
"name": "Yomichan",
|
2019-12-06 02:24:54 +00:00
|
|
|
"version": "2.0.1",
|
2016-03-17 03:33:15 +00:00
|
|
|
|
2019-10-11 02:49:05 +00:00
|
|
|
"description": "Japanese dictionary with Anki integration",
|
2017-03-04 20:27:05 +00:00
|
|
|
"icons": {"16": "mixed/img/icon16.png", "48": "mixed/img/icon48.png", "128": "mixed/img/icon128.png"},
|
2017-03-02 04:49:46 +00:00
|
|
|
"browser_action": {
|
2017-03-04 20:27:05 +00:00
|
|
|
"default_icon": {"19": "mixed/img/icon19.png", "38": "mixed/img/icon38.png"},
|
2017-08-15 02:55:04 +00:00
|
|
|
"default_popup": "bg/context.html"
|
2017-03-02 04:49:46 +00:00
|
|
|
},
|
2016-04-07 05:20:00 +00:00
|
|
|
|
2016-05-18 20:28:50 +00:00
|
|
|
"author": "Alex Yatskov",
|
2019-08-22 23:44:31 +00:00
|
|
|
"background": {
|
|
|
|
"page": "bg/background.html",
|
|
|
|
"persistent": true
|
|
|
|
},
|
2016-05-18 20:28:50 +00:00
|
|
|
"content_scripts": [{
|
2017-03-01 04:23:29 +00:00
|
|
|
"matches": ["http://*/*", "https://*/*", "file://*/*"],
|
2016-07-23 05:14:59 +00:00
|
|
|
"js": [
|
2019-11-26 22:29:52 +00:00
|
|
|
"mixed/js/core.js",
|
2019-11-26 23:47:16 +00:00
|
|
|
"mixed/js/dom.js",
|
2017-07-23 06:19:38 +00:00
|
|
|
"fg/js/api.js",
|
2017-08-06 03:20:22 +00:00
|
|
|
"fg/js/document.js",
|
2019-08-17 22:50:48 +00:00
|
|
|
"fg/js/frontend-api-receiver.js",
|
2016-07-23 05:14:59 +00:00
|
|
|
"fg/js/popup.js",
|
2017-08-14 04:11:10 +00:00
|
|
|
"fg/js/source.js",
|
2019-08-19 00:51:19 +00:00
|
|
|
"fg/js/popup-proxy-host.js",
|
2019-10-12 02:35:59 +00:00
|
|
|
"fg/js/frontend.js",
|
|
|
|
"fg/js/frontend-initialize.js"
|
2016-07-23 05:14:59 +00:00
|
|
|
],
|
2017-08-23 16:34:45 +00:00
|
|
|
"css": ["fg/css/client.css"],
|
|
|
|
"all_frames": true
|
2016-05-18 20:28:50 +00:00
|
|
|
}],
|
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",
|
|
|
|
"nativeMessaging"
|
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"
|
|
|
|
}
|
|
|
|
},
|
2017-08-15 02:55:04 +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",
|
2017-08-18 02:39:32 +00:00
|
|
|
"strict_min_version": "52.0"
|
2017-01-29 05:10:26 +00:00
|
|
|
}
|
|
|
|
}
|
2016-03-17 03:33:15 +00:00
|
|
|
}
|