Translate And Copy
Translate selected text and copy to clipboard for use
Additional files are visible only to premium users
manifest.json
{
"update_url": "https://clients2.google.com/service/update2/crx",
"name": "Translate And Copy",
"version": "0.2.1",
"description": "Translate selected text and copy to clipboard for use",
"manifest_version": 3,
"background": {
"service_worker": "background.js"
},
"content_scripts": [
{
"matches": [
"<all_urls>"
],
"js": [
"content-scripts/main.js"
]
}
],
"host_permissions": [
"https://translate.google.com/"
],
"permissions": [
"contextMenus",
"clipboardWrite",
"storage",
"tabs",
"notifications"
],
"icons": {
"16": "assets/icon-16.png",
"32": "assets/icon-32.png",
"48": "assets/icon-48.png",
"128": "assets/icon-128.png"
},
"action": {
"default_popup": "popup/index.html"
},
"commands": {
"translate": {
"suggested_key": {
"default": "Alt+T"
},
"description": "Translate selected text and copy to clipboard for use"
}
}
}