Translator
Translate words and phrases while browsing the web, using Google translator.
Additional files are visible only to premium users
manifest.json
{
"background": {
"service_worker": "js/service_worker.js"
},
"host_permissions": [
"*://translate.googleapis.com/*"
],
"content_scripts": [
{
"all_frames": true,
"css": [
"css/content.css"
],
"exclude_matches": [
"*://translate.google.com/*"
],
"js": [
"js/purify.min.js",
"js/jquery.js",
"js/content.js"
],
"matches": [
"<all_urls>"
]
}
],
"default_locale": "en",
"description": "__MSG_description__",
"icons": {
"48": "images/48.png",
"128": "images/128.png"
},
"manifest_version": 3,
"name": "__MSG_name__",
"options_page": "settings.html",
"permissions": [
"contextMenus",
"storage"
],
"short_name": "Translator",
"update_url": "https://clients2.google.com/service/update2/crx",
"version": "3.0.0",
"web_accessible_resources": [
{
"resources": [
"js/*",
"images/*",
"css/*",
"rules.json"
],
"matches": [
"<all_urls>"
]
}
],
"action": {
"default_title": "Open settings",
"default_popup": "popup.html"
}
}