翻立搜
一键翻译中文成英文或日语并搜索,支持地址栏输入cn2e后输入中文直接翻译搜索;也支持任意网页中选择要翻译搜索的中文文字,右键菜单进行翻译搜索;点击翻立搜图标也可以进行翻译及搜素
Additional files are visible only to premium users
manifest.json
{
"update_url": "https://clients2.google.com/service/update2/crx",
"manifest_version": 2,
"name": "翻立搜",
"version": "1.0.6",
"description": "一键翻译中文成英文或日语并搜索,支持地址栏输入cn2e后输入中文直接翻译搜索;也支持任意网页中选择要翻译搜索的中文文字,右键菜单进行翻译搜索;点击翻立搜图标也可以进行翻译及搜素",
"icons": {
"128": "img/icon.png"
},
"background": {
"page": "background.html"
},
"browser_action": {
"default_icon": "img/icon.png",
"default_title": "翻立搜",
"default_popup": "popup.html"
},
"content_scripts": [
{
"matches": [
"<all_urls>"
],
"js": [
"js/jquery-3.3.1.min.js",
"js/content-script.js"
],
"css": [
"css/custom.css"
],
"run_at": "document_start"
}
],
"permissions": [
"contextMenus",
"tabs",
"notifications",
"webRequest",
"webRequestBlocking",
"storage",
"http://*/*",
"https://*/*"
],
"web_accessible_resources": [
"js/comcs.js"
],
"homepage_url": "https://www.cn2e.cn",
"options_ui": {
"page": "options.html",
"chrome_style": true
},
"omnibox": {
"keyword": "cn2e"
},
"default_locale": "zh_CN"
}