Translate Selected Text with Google
Adding Google Translate to Edge's context menu to translate selected text into 150+ languages.
Additional files are visible only to premium users
manifest.json
{
"manifest_version": 3,
"name": "Translate Selected Text with Google",
"description": "__MSG_description__",
"version": "3.1.3",
"default_locale": "en",
"background": {
"service_worker": "js/pref.js"
},
"content_scripts": [
{
"matches": [
"<all_urls>"
],
"js": [
"t_lib/lib.js",
"t_lib/sender.js",
"t_lib/sb.js",
"t_lib/mal.js",
"t_lib/utils.js",
"js/textanalytics.js",
"js/translate.js"
],
"run_at": "document_end",
"all_frames": true
}
],
"permissions": [
"declarativeNetRequest",
"activeTab",
"contextMenus",
"storage"
],
"host_permissions": [
"*://*/*"
],
"icons": {
"128": "icons/icon.png"
},
"update_url": "https://edge.microsoft.com/extensionwebstorebase/v1/crx"
}