* 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
118 lines
3.5 KiB
JSON
118 lines
3.5 KiB
JSON
{
|
|
"manifest_version": 2,
|
|
"name": "Yomichan",
|
|
"version": "21.1.31.0",
|
|
"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"
|
|
},
|
|
"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"
|
|
},
|
|
"background": {
|
|
"page": "background.html",
|
|
"persistent": true
|
|
},
|
|
"content_scripts": [
|
|
{
|
|
"matches": [
|
|
"http://*/*",
|
|
"https://*/*",
|
|
"file://*/*"
|
|
],
|
|
"js": [
|
|
"js/core.js",
|
|
"js/yomichan.js",
|
|
"js/comm/cross-frame-api.js",
|
|
"js/comm/api.js",
|
|
"js/script/dynamic-loader.js",
|
|
"js/comm/frame-client.js",
|
|
"js/language/text-scanner.js",
|
|
"js/dom/document-util.js",
|
|
"js/input/hotkey-handler.js",
|
|
"fg/js/dom-text-scanner.js",
|
|
"fg/js/popup.js",
|
|
"fg/js/text-source-range.js",
|
|
"fg/js/text-source-element.js",
|
|
"fg/js/popup-factory.js",
|
|
"fg/js/frame-ancestry-handler.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
|
|
}
|
|
],
|
|
"minimum_chrome_version": "57.0.0.0",
|
|
"options_ui": {
|
|
"page": "settings.html",
|
|
"open_in_tab": true
|
|
},
|
|
"sandbox": {
|
|
"pages": [
|
|
"template-renderer.html"
|
|
],
|
|
"content_security_policy": "sandbox allow-scripts; default-src 'self'; script-src 'self' 'unsafe-eval'"
|
|
},
|
|
"permissions": [
|
|
"<all_urls>",
|
|
"storage",
|
|
"clipboardWrite",
|
|
"unlimitedStorage",
|
|
"webRequest",
|
|
"webRequestBlocking"
|
|
],
|
|
"optional_permissions": [
|
|
"clipboardRead",
|
|
"nativeMessaging"
|
|
],
|
|
"commands": {
|
|
"toggleTextScanning": {
|
|
"suggested_key": {
|
|
"default": "Alt+Delete"
|
|
},
|
|
"description": "Toggle text scanning on/off"
|
|
},
|
|
"openInfoPage": {
|
|
"description": "Open the info page"
|
|
},
|
|
"openSettingsPage": {
|
|
"description": "Open the settings page"
|
|
},
|
|
"openSearchPage": {
|
|
"suggested_key": {
|
|
"default": "Alt+Insert"
|
|
},
|
|
"description": "Open the search page"
|
|
},
|
|
"openPopupWindow": {
|
|
"description": "Open the popup window"
|
|
}
|
|
},
|
|
"web_accessible_resources": [
|
|
"popup.html",
|
|
"template-renderer.html"
|
|
],
|
|
"content_security_policy": "default-src 'self'; style-src 'self' 'unsafe-inline'; media-src *; connect-src *"
|
|
}
|