Click to translate
Click on a word and get translation in a tooltip/overlay.
Additional files are visible only to premium users
manifest.json
{
"update_url": "https://clients2.google.com/service/update2/crx",
"name": "__MSG_name__",
"description": "__MSG_description__",
"default_locale": "en",
"manifest_version": 2,
"version": "1.6.3",
"icons": {
"16": "images/to_16.png",
"48": "images/to_48.png",
"128": "images/to_128.png",
"300": "images/to_300.png"
},
"background": {
"scripts": [
"js/background.js"
],
"persistent": true
},
"options_page": "html/options.html",
"content_scripts": [
{
"matches": [
"<all_urls>"
],
"all_frames": true,
"js": [
"js/contentscript.js"
]
}
],
"browser_action": {
"default_icon": {
"16": "images/to_16.png",
"48": "images/to_48.png",
"128": "images/to_128.png",
"300": "images/to_300.png"
}
},
"commands": {
"copy-translation-to-clipboard": {
"description": "Copy translation to clipboard"
}
},
"permissions": [
"<all_urls>",
"tabs",
"storage"
],
"web_accessible_resources": [
"html/options.html",
"popup.html",
"popup.js",
"tat_popup.html",
"tat_popup.js"
],
"content_security_policy": "script-src 'self' https://www.google-analytics.com https://clients5.google.com; object-src 'self'"
}