-
Notifications
You must be signed in to change notification settings - Fork 0
/
manifest.json
61 lines (61 loc) · 1.44 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{
"manifest_version": 2,
"name": "Spotify Control",
"version": "1.0",
"description": "Spotify Web Player Shortcuts",
"icons": {
"16": "img/icon.png",
"48": "img/icon.png",
"128": "img/icon.png"
},
"homepage_url": "https://www.spotify.com/",
"background": {
"scripts": ["request.bundle.js", "control.bundle.js", "auth.bundle.js", "background.bundle.js"]
},
"content_scripts": [
{
"matches": [
"https://play.spotify.com/*",
"https://player.spotify.com/*"
],
"js": [
"content.bundle.js"
]
}
],
"permissions": ["tabs", "<all_urls>", "storage", "cookies", "https://www.spotify.com/", "https://open.spotify.com/", "activeTab"],
"browser_action": {
"default_icon": "img/spotify.png",
"default_title": "Spotify Web Player Shortcuts",
"default_popup": "popup.html"
},
"commands": {
"player_next": {
"description": "Next track",
"global": true,
"suggested_key": {
"default": "MediaNextTrack"
}
},
"player_play": {
"description": "Play/Pause",
"global": true,
"suggested_key": {
"default": "MediaPlayPause"
}
},
"player_prev": {
"description": "Previous track",
"global": true,
"suggested_key": {
"default": "MediaPrevTrack"
}
},
"player_shuffle": {
"description": "Shuffle"
},
"player_repeat": {
"description": "Repeat"
}
}
}