Text Link & Google Translate
Non linked URL open with double click. and Google translate.
Additional files are visible only to premium users
manifest.json
{
"manifest_version": 2,
"author": "nepon",
"name": "__MSG_extName__",
"version": "0.5.3",
"applications": {
"gecko": {
"id": "textlink-and-googletranslate@aime",
"strict_min_version": "52.0"
}
},
"description": "__MSG_extDescription__",
"default_locale": "en",
"background": {
"scripts": [
"textlink-bg.js"
]
},
"content_scripts": [
{
"matches": [
"<all_urls>"
],
"all_frames": true,
"run_at": "document_end",
"js": [
"textlink-content.js"
]
}
],
"browser_action": {
"default_icon": {
"16": "images/translate16.png",
"32": "images/translate32.png",
"64": "images/translate64.png"
},
"default_title": "__MSG_actionTitle__",
"browser_style": false
},
"icons": {
"16": "images/translate16.png",
"32": "images/translate32.png",
"64": "images/translate64.png"
},
"options_ui": {
"page": "options/options.html",
"browser_style": true
},
"permissions": [
"*://*.google.com/*",
"https://translate.googleusercontent.com/translate_c?*",
"contextMenus",
"activeTab",
"webNavigation",
"webRequest",
"webRequestBlocking",
"storage"
]
}