yomichan/ext/manifest.json

132 lines
3.9 KiB
JSON
Raw Normal View History

2016-03-17 03:33:15 +00:00
{
"manifest_version": 2,
"name": "Yomichan",
2021-07-31 23:24:02 +00:00
"version": "21.7.31.0",
2019-10-11 02:49:05 +00:00
"description": "Japanese dictionary with Anki integration",
"author": "Alex Yatskov",
"icons": {
"16": "images/icon16.png",
"19": "images/icon19.png",
"32": "images/icon32.png",
"38": "images/icon38.png",
"48": "images/icon48.png",
"64": "images/icon64.png",
"128": "images/icon128.png"
},
2017-03-02 04:49:46 +00:00
"browser_action": {
"default_icon": {
"16": "images/icon16.png",
"19": "images/icon19.png",
"32": "images/icon32.png",
"38": "images/icon38.png",
"48": "images/icon48.png",
"64": "images/icon64.png",
"128": "images/icon128.png"
},
"default_title": "Yomichan",
"default_popup": "action-popup.html"
2017-03-02 04:49:46 +00:00
},
2019-08-22 23:44:31 +00:00
"background": {
"page": "background.html",
2019-08-22 23:44:31 +00:00
"persistent": true
},
"content_scripts": [
{
"run_at": "document_idle",
"matches": [
"http://*/*",
"https://*/*",
"file://*/*"
],
"match_about_blank": true,
"all_frames": true,
"js": [
Move mixed/js (#1383) * Move mixed/js/core.js to js/core.js * Move mixed/js/yomichan.js to js/yomichan.js * Move mixed/js/timer.js to js/debug/timer.js * Move mixed/js/hotkey-handler.js to js/input/hotkey-handler.js * Move mixed/js/hotkey-help-controller.js to js/input/hotkey-help-controller.js * Move mixed/js/hotkey-util.js to js/input/hotkey-util.js * Move mixed/js/audio-system.js to js/input/audio-system.js * Move mixed/js/media-loader.js to js/input/media-loader.js * Move mixed/js/text-to-speech-audio.js to js/input/text-to-speech-audio.js * Move mixed/js/comm.js to js/comm/cross-frame-api.js * Move mixed/js/api.js to js/comm/api.js * Move mixed/js/frame-client.js to js/comm/frame-client.js * Move mixed/js/frame-endpoint.js to js/comm/frame-endpoint.js * Move mixed/js/display.js to js/display/display.js * Move mixed/js/display-audio.js to js/display/display-audio.js * Move mixed/js/display-generator.js to js/display/display-generator.js * Move mixed/js/display-history.js to js/display/display-history.js * Move mixed/js/display-notification.js to js/display/display-notification.js * Move mixed/js/display-profile-selection.js to js/display/display-profile-selection.js * Move mixed/js/japanese.js to js/language/japanese-util.js * Move mixed/js/dictionary-data-util.js to js/language/dictionary-data-util.js * Move mixed/js/document-focus-controller.js to js/dom/document-focus-controller.js * Move mixed/js/document-util.js to js/dom/document-util.js * Move mixed/js/dom-data-binder.js to js/dom/dom-data-binder.js * Move mixed/js/html-template-collection.js to js/dom/html-template-collection.js * Move mixed/js/panel-element.js to js/dom/panel-element.js * Move mixed/js/popup-menu.js to js/dom/popup-menu.js * Move mixed/js/selector-observer.js to js/dom/selector-observer.js * Move mixed/js/scroll.js to js/dom/window-scroll.js * Move mixed/js/text-scanner.js to js/language/text-scanner.js * Move mixed/js/cache-map.js to js/general/cache-map.js * Move mixed/js/object-property-accessor.js to js/general/object-property-accessor.js * Move mixed/js/task-accumulator.js to js/general/task-accumulator.js * Move mixed/js/environment.js to js/background/environment.js * Move mixed/js/dynamic-loader.js to js/scripting/dynamic-loader.js * Move mixed/js/dynamic-loader-sentinel.js to js/scripting/dynamic-loader-sentinel.js
2021-02-14 03:52:28 +00:00
"js/core.js",
"js/yomichan.js",
"js/app/frontend.js",
"js/app/popup.js",
"js/app/popup-factory.js",
"js/app/popup-proxy.js",
"js/app/popup-window.js",
"js/comm/api.js",
"js/comm/cross-frame-api.js",
"js/comm/frame-ancestry-handler.js",
"js/comm/frame-client.js",
"js/comm/frame-offset-forwarder.js",
"js/dom/dom-text-scanner.js",
"js/dom/document-util.js",
"js/dom/text-source-element.js",
"js/dom/text-source-range.js",
"js/input/hotkey-handler.js",
"js/language/text-scanner.js",
"js/script/dynamic-loader.js",
"js/app/content-script-main.js"
]
},
{
"run_at": "document_start",
"matches": [
"http://*/*",
"https://*/*",
"file://*/*"
],
"match_about_blank": true,
"all_frames": true,
"js": [
"js/document-start.js"
]
}
],
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": "settings.html",
2018-12-10 22:23:53 +00:00
"open_in_tab": true
},
"sandbox": {
"pages": [
"template-renderer.html"
],
"content_security_policy": "sandbox allow-scripts; default-src 'self'; script-src 'self' 'unsafe-eval'; style-src 'unsafe-inline'"
},
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": [
"popup.html",
"template-renderer.html"
],
"content_security_policy": "default-src 'self'; img-src blob: 'self'; style-src 'self' 'unsafe-inline'; media-src *; connect-src *"
2016-03-17 03:33:15 +00:00
}