XTranslate
Translate texts within page context, customize your own style of popup block, and more.
Additional files are visible only to premium users
manifest.json
{
"name": "XTranslate",
"description": "__MSG_description__",
"version": "2.76.0",
"manifest_version": 2,
"default_locale": "en",
"icons": {
"16": "assets/icons/16.png",
"48": "assets/icons/48.png",
"128": "assets/icons/128.png"
},
"options_ui": {
"page": "options.html",
"open_in_tab": true
},
"browser_action": {
"default_popup": "options.html?page=translate",
"default_icon": {
"19": "assets/icons/48.png",
"38": "assets/icons/48.png"
}
},
"commands": {
"_execute_action": {
"suggested_key": {
"default": "Alt+X"
}
}
},
"background": {
"scripts": [
"background.js"
]
},
"content_scripts": [
{
"all_frames": true,
"run_at": "document_start",
"js": [
"user-script.js"
],
"matches": [
"http://*/*",
"https://*/*",
"file://*/*"
]
}
],
"web_accessible_resources": [
"*.*"
],
"content_security_policy": "script-src 'self'; object-src 'self'",
"permissions": [
"<all_urls>",
"tts",
"storage",
"unlimitedStorage",
"contextMenus",
"activeTab"
],
"browser_specific_settings": {
"gecko": {
"id": "{852feaf0-371b-4770-a8a4-ffee80f5e270}"
}
}
}