Open Translator
Quick access to Google Translate
Additional files are visible only to premium users
manifest.json
{
"update_url": "https://clients2.google.com/service/update2/crx",
"manifest_version": 3,
"name": "__MSG_appName__",
"version": "1.4",
"author": "Artem Tarasov",
"description": "__MSG_appDescription__",
"homepage_url": "https://github.com/tarcode-apps/open-translator",
"default_locale": "en",
"permissions": [
"storage",
"activeTab",
"contextMenus"
],
"host_permissions": [
"http://*/*",
"https://*/*"
],
"content_security_policy": {
"extension_pages": "default-src 'self'; style-src 'self' 'unsafe-hashes' 'sha256-2FkMoYIfUwhaMVsbQnfoAJc8+Qzt0TC1GWOTrODFyNE='; connect-src https://translate.googleapis.com"
},
"options_page": "options.html",
"background": {
"service_worker": "background.js"
},
"content_scripts": [
{
"matches": [
"http://*/*",
"https://*/*"
],
"run_at": "document_end",
"all_frames": true,
"js": [
"content.js"
]
}
],
"action": {
"default_popup": "popup.html",
"default_title": "__MSG_appTitle__"
},
"icons": {
"16": "images/icon16.png",
"32": "images/icon32.png",
"48": "images/icon48.png",
"128": "images/icon128.png"
},
"commands": {
"_execute_action": {
"suggested_key": {
"default": "Ctrl+Q",
"mac": "MacCtrl+Shift+Q"
},
"description": "__MSG_openShortcut__"
},
"translate_page": {
"suggested_key": {
"default": "Alt+Q",
"mac": "Alt+Shift+Q"
},
"description": "__MSG_translatePage__"
}
}
}