yomichan/ext/manifest.json

117 lines
3.5 KiB
JSON
Raw Normal View History

2016-03-17 03:33:15 +00:00
{
"manifest_version": 2,
"name": "Yomichan",
2021-01-31 21:18:54 +00:00
"version": "21.1.31.0",
2019-10-11 02:49:05 +00:00
"description": "Japanese dictionary with Anki integration",
"author": "Alex Yatskov",
"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",
"64": "mixed/img/icon64.png",
"128": "mixed/img/icon128.png"
},
2017-03-02 04:49:46 +00:00
"browser_action": {
"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",
"64": "mixed/img/icon64.png",
"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
},
"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",
"mixed/js/document-util.js",
"mixed/js/hotkey-handler.js",
"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",
"fg/js/popup-factory.js",
"fg/js/frame-offset-forwarder.js",
"fg/js/popup-proxy.js",
"fg/js/popup-window.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-12-10 22:23:53 +00:00
"options_ui": {
"page": "bg/settings2.html",
2018-12-10 22:23:53 +00:00
"open_in_tab": true
},
"sandbox": {
"pages": [
"bg/template-renderer.html"
],
"content_security_policy": "sandbox allow-scripts; default-src 'self'; script-src 'self' 'unsafe-eval'"
},
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",
"webRequest",
"webRequestBlocking"
2016-12-29 17:36:54 +00:00
],
"optional_permissions": [
"clipboardRead",
"nativeMessaging"
],
2017-03-18 20:00:29 +00:00
"commands": {
"toggleTextScanning": {
2017-03-18 20:00:29 +00:00
"suggested_key": {
"default": "Alt+Delete"
},
"description": "Toggle text scanning on/off"
2017-03-18 20:00:29 +00:00
},
"openInfoPage": {
"description": "Open the info page"
},
"openSettingsPage": {
"description": "Open the settings page"
},
"openSearchPage": {
2017-03-18 20:00:29 +00:00
"suggested_key": {
"default": "Alt+Insert"
},
"description": "Open the search page"
},
"openPopupWindow": {
"description": "Open the popup window"
2017-03-18 20:00:29 +00:00
}
},
"web_accessible_resources": [
"fg/float.html",
"bg/template-renderer.html"
],
"content_security_policy": "default-src 'self'; style-src 'self' 'unsafe-inline'; media-src *; connect-src *"
2016-03-17 03:33:15 +00:00
}