-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmanifest.json
40 lines (40 loc) · 1.02 KB
/
manifest.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
"manifest_version": 2,
"name": "SearchSwitcher",
"version": "1.0.1",
"description": "Use shortcut to switch between search engines like Google and Baidu",
"icons": {
"16": "img/icon16.png",
"48": "img/icon48.png",
"128": "img/icon128.png"
},
"background": {
"page": "background.html"
},
"page_action": {
"default_icon": "img/icon48.png",
"default_title": "SearchSwitcher"
},
"commands": {
"switch": {
"suggested_key": {
"default": "Ctrl+Shift+S",
"mac": "MacCtrl+S"
},
"description": "切换搜索引擎"
}
},
"content_scripts": [{
"matches": [
"https://www.baidu.com/*",
"https://www.google.com.hk/*"
],
"js": ["inject.js"]
}],
"permissions": [
"tabs",
"https://www.baidu.com/*",
"https://www.google.com.hk/*"
],
"homepage_url": "https://github.com/dss886/SearchSwitcher"
}