谷歌英文搜索助手
在谷歌搜索/谷歌学术搜索框,输入中文关键字,Ctrl + Enter 可自动将关键字翻译为英文进行搜索
Additional files are visible only to premium users
manifest.json
{
"update_url": "https://clients2.google.com/service/update2/crx",
"manifest_version": 3,
"name": "谷歌英文搜索助手",
"version": "2.0.0",
"icons": {
"128": "images/icon-128.png"
},
"description": "在谷歌搜索/谷歌学术搜索框,输入中文关键字,Ctrl + Enter 可自动将关键字翻译为英文进行搜索",
"permissions": [
"storage"
],
"host_permissions": [
"http://api.fanyi.baidu.com/*"
],
"content_scripts": [
{
"matches": [
"*://*.google.com/*",
"*://*.google.com.hk/*",
"*://*.google.com.sg/*",
"*://*.google.co.uk/*",
"*://*.google.co.jp/*",
"*://*.google.de/*",
"*://*.google.fr/*",
"*://*.google.com.au/*",
"*://*.google.ca/*",
"*://*.google.it/*",
"*://*.google.es/*",
"*://scholar.google.com/*",
"*://scholar.google.com.hk/*",
"*://scholar.google.com.sg/*",
"*://scholar.google.co.uk/*",
"*://scholar.google.co.jp/*",
"*://scholar.google.de/*",
"*://scholar.google.fr/*",
"*://scholar.google.com.au/*",
"*://scholar.google.ca/*",
"*://scholar.google.it/*",
"*://scholar.google.es/*",
"*://scholar.google.com.br/*",
"*://scholar.google.nl/*",
"*://scholar.google.ru/*",
"*://scholar.google.co.in/*",
"*://scholar.google.com.mx/*"
],
"js": [
"content.js"
]
}
],
"background": {
"service_worker": "background.js"
},
"action": {
"default_icon": {
"128": "images/icon-128.png"
}
}
}