-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmanifest.json
73 lines (73 loc) · 1.61 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
62
63
64
65
66
67
68
69
70
71
72
73
{
"name": "Youtube Controls",
"version": "1.0",
"manifest_version": 2,
"description": "Quick play/pause button for youtube",
"background" : {
"scripts": ["background.js"]
},
"browser_action" :
{
"default_icon" : "y_inactive.png",
"default_title" : "Not active"
},
"icons": {
"48": "y_play.png",
"128": "y_play.png"
},
"content_scripts" : [
{
"matches" : ["http://www.youtube.com/*", "https://www.youtube.com/*"],
"js" : ["contentscript.js"],
"run_at" : "document_end"
},
{
"matches" : ["http://*/*", "https://*/*"],
"js" : ["commonEvents.js"],
"run_at" : "document_end"
}
],
"permissions": [
"tabs",
"http://*/*",
"https://*/*"
],
"commands": {
"toggle-play-pause": {
"suggested_key": {
"default": "Alt+P",
"mac": "Alt+P"
},
"description": "Toggle play/pause"
},
"playlistNext": {
"suggested_key": {
"default": "Alt+L",
"mac": "Alt+L"
},
"description": "Play the next video in the playlist"
},
"playlistPrevious": {
"suggested_key": {
"default": "Alt+H",
"mac": "Alt+H"
},
"description": "Play the previous video in the playlist"
},
"abc": {
"suggested_key": {
"default": "Alt+K",
"mac": "Alt+K"
},
"description": "Toggle the extended controls popup"
}
},
"web_accessible_resources": [
"images/focus_button.png",
"images/play_button.png",
"images/pause_button.png",
"images/prev_button.png",
"images/next_button.png",
"images/close_button.png"
]
}