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