2016-03-17 03:33:15 +00:00
|
|
|
{
|
|
|
|
"manifest_version": 2,
|
2019-08-17 23:01:54 +00:00
|
|
|
"name": "Yomichan",
|
2020-12-31 22:42:37 +00:00
|
|
|
"version": "20.12.31.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/api.js",
|
|
|
|
"mixed/js/dynamic-loader.js",
|
|
|
|
"mixed/js/frame-client.js",
|
|
|
|
"mixed/js/text-scanner.js",
|
2020-08-10 01:07:11 +00:00
|
|
|
"mixed/js/document-util.js",
|
2020-08-09 17:09:06 +00:00
|
|
|
"fg/js/dom-text-scanner.js",
|
|
|
|
"fg/js/popup.js",
|
2020-10-07 22:31:28 +00:00
|
|
|
"fg/js/text-source-range.js",
|
|
|
|
"fg/js/text-source-element.js",
|
2020-08-09 17:09:06 +00:00
|
|
|
"fg/js/popup-factory.js",
|
|
|
|
"fg/js/frame-offset-forwarder.js",
|
|
|
|
"fg/js/popup-proxy.js",
|
2020-09-06 02:03:35 +00:00
|
|
|
"fg/js/popup-window.js",
|
2020-08-09 17:09:06 +00:00
|
|
|
"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-12-10 22:23:53 +00:00
|
|
|
"options_ui": {
|
|
|
|
"page": "bg/settings.html",
|
|
|
|
"open_in_tab": true
|
|
|
|
},
|
2020-09-19 01:16:39 +00:00
|
|
|
"sandbox": {
|
|
|
|
"pages": [
|
|
|
|
"bg/template-renderer.html"
|
|
|
|
],
|
2020-12-13 18:56:45 +00:00
|
|
|
"content_security_policy": "sandbox allow-scripts; default-src 'self'; script-src 'self' 'unsafe-eval'"
|
2020-09-19 01:16:39 +00:00
|
|
|
},
|
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": [
|
2020-09-19 01:16:39 +00:00
|
|
|
"fg/float.html",
|
|
|
|
"bg/template-renderer.html"
|
2020-08-09 17:09:06 +00:00
|
|
|
],
|
2020-12-13 18:56:45 +00:00
|
|
|
"content_security_policy": "default-src 'self'; style-src 'self' 'unsafe-inline'; media-src *; connect-src *"
|
2016-03-17 03:33:15 +00:00
|
|
|
}
|