forked from listen1/listen1_chrome_extension
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmanifest.json
47 lines (47 loc) · 1.63 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
41
42
43
44
45
46
47
{
"background": {
"scripts": ["js/vendor/jquery-3.3.1.min.js", "js/github_api.js","js/background.js" ]
},
"browser_action": {
"default_icon": "images/logo.png",
"default_title": "Listen 1"
},
"description": "One for all free music in China",
"icons": {
"128": "images/logo.png",
"16": "images/logo_16.png",
"48": "images/logo_48.png"
},
"manifest_version": 2,
"name": "Listen 1",
"permissions": [ "notifications", "unlimitedStorage", "downloads", "storage", "contextMenus", "tabs", "cookies", "*://music.163.com/*", "*://*.xiami.com/*", "*://*.qq.com/*", "*://*.kugou.com/", "*://*.kuwo.cn/", "*://*.bilibili.com/*", "*://*.migu.cn/*", "*://api.github.com/*", "*://github.com/*", "*://gist.githubusercontent.com/*", "webRequest", "webRequestBlocking"],
"version": "2.5.0",
"web_accessible_resources": [ "images/*" ],
"commands": {
"play_next": {
"suggested_key": {
"default": "MediaNextTrack"
},
"description": "Play next song.",
"global": true
},
"play_prev": {
"suggested_key": {
"default": "MediaPrevTrack"
},
"description": "Play previous song.",
"global": true
},
"play_pause": {
"suggested_key": {
"default": "MediaPlayPause"
},
"description": "Toggle play pause state.",
"global": true
}
},
"content_scripts": [{
"matches": ["https://listen1.github.io/listen1/*"],
"js": ["js/oauth_callback.js"]
}]
}