Web Translate
Web Translate is easy to use translator for your Web browser / Thunderbird!
Additional files are visible only to premium users
manifest.json
{
"update_url": "https://clients2.google.com/service/update2/crx",
"manifest_version": 3,
"version": "4.9",
"author": "Juraj Mäsiar",
"default_locale": "en",
"name": "__MSG_app_name__",
"description": "__MSG_app_desc__",
"icons": {
"48": "48.png",
"128": "128.png"
},
"background": {
"service_worker": "background.loader.js"
},
"action": {
"default_icon": {
"128": "128.png"
},
"default_popup": "popup/popup.html"
},
"options_ui": {
"page": "editor/editor.html",
"open_in_tab": true
},
"commands": {
"_execute_action": {
"suggested_key": {
"default": "Alt+Shift+Q"
},
"description": "Open pop-up window."
},
"translate_page": {
"suggested_key": {
"default": "Alt+Shift+W"
},
"description": "Translate current page."
}
},
"content_scripts": [
{
"matches": [
"https://translate.google.com/*",
"https://translate.google.cn/*"
],
"all_frames": true,
"run_at": "document_start",
"js": [
"content_scripts/empty_page_detection.js"
]
},
{
"matches": [
"https://translate.google.com/*",
"https://translate.google.cn/*"
],
"all_frames": true,
"run_at": "document_end",
"js": [
"content_scripts/google_block.js"
]
},
{
"matches": [
"https://bing.com/*",
"https://www.bing.com/*"
],
"all_frames": true,
"run_at": "document_end",
"js": [
"content_scripts/bing_block.js"
]
},
{
"matches": [
"https://deepl.com/*",
"https://www.deepl.com/*"
],
"all_frames": true,
"run_at": "document_end",
"js": [
"content_scripts/deepl_block.js"
]
},
{
"matches": [
"https://translate.yandex.ru/*",
"https://translate.yandex.com/*",
"https://www.translate.yandex.ru/*",
"https://www.translate.yandex.com/*"
],
"all_frames": true,
"run_at": "document_end",
"js": [
"content_scripts/yandex_block.js"
]
},
{
"matches": [
"https://fanyi.baidu.com/*"
],
"all_frames": true,
"run_at": "document_end",
"js": [
"content_scripts/baidu_block.js"
]
}
],
"web_accessible_resources": [
{
"resources": [
"editor/editor.css",
"editor/editor.html",
"editor/editor.js",
"utils/svg/resize-corner.svg"
],
"matches": [
"<all_urls>"
],
"use_dynamic_url": true
}
],
"permissions": [
"contextMenus",
"storage",
"activeTab",
"scripting",
"declarativeNetRequestWithHostAccess"
],
"host_permissions": [
"<all_urls>"
],
"incognito": "split"
}