Translate On Click
Translate On Click
Additional files are visible only to premium users
manifest.json
{
"update_url": "https://clients2.google.com/service/update2/crx",
"name": "Translate On Click",
"version": "1.0",
"manifest_version": 2,
"description": "Translate On Click",
"options_page": "options.html",
"permissions": [
"storage",
"tts",
"activeTab"
],
"icons": {
"16": "img/icon16.png",
"48": "img/icon48.png",
"128": "img/icon128.png"
},
"browser_action": {
"default_icon": {
"19": "img/icon48.png",
"38": "img/icon48.png"
},
"default_popup": "popup.html"
},
"content_security_policy": "script-src 'self' https://ssl.google-analytics.com; object-src 'self'",
"web_accessible_resources": [
"img/icon128.png",
"css/*",
"fonts/*"
],
"content_scripts": [
{
"js": [
"js/jquery-3.2.0.min.js",
"js/bootstrap.min.js",
"js/background.js",
"js/translator.js"
],
"matches": [
"http://*/*",
"https://*/*"
]
}
],
"background": {
"scripts": [
"js/say.js"
]
}
}