-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmanifest.json
76 lines (76 loc) · 2.06 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
74
75
76
{
"description": "__MSG_extDescription__",
"manifest_version": 2,
"name": "__MSG_extName__",
"version": "0.0.10",
"homepage_url": "https://github.com/ettoolong/PopupVideo",
"icons": {
"16": "icon/logo.svg",
"32": "icon/logo.svg",
"48": "icon/logo.svg",
"64": "icon/logo.svg",
"96": "icon/logo.svg"
},
"browser_specific_settings": {
"gecko": {
"id": "PopupVideoWebExt@ettoolong",
"strict_min_version": "57.0"
}
},
"author": "Ett Chung",
"background": {
"scripts": ["background.js",
"launch-video.js",
"lib/get-video-id.js",
"lib/site-regex.js",
"lib/query-string.js",
"lib/get-youtube-url.js",
"lib/get-twitch-url.js",
"lib/get-vimeo-url.js",
"lib/get-dailymotion-url.js"]
},
"content_scripts": [
{
"matches": ["*://*.youtube.com/embed/*"],
"js": ["overlay/hotkey_yt.js"],
"run_at": "document_start"
},
{
"matches": ["*://*.youtube.com/*"],
"js": ["overlay/overlay_yt.js", "overlay/icon-overlay.js"],
"css": ["overlay/icon-overlay.css"],
"run_at": "document_start"
},
{
"matches": ["*://*.twitch.tv/*"],
"js": ["overlay/overlay_twitch.js", "overlay/icon-overlay.js"],
"css": ["overlay/icon-overlay.css"],
"run_at": "document_start"
},
{
"matches": ["*://*.dailymotion.com/*"],
"js": ["overlay/overlay_dm.js", "overlay/icon-overlay.js"],
"css": ["overlay/icon-overlay.css"],
"run_at": "document_start"
},
{
"matches": ["*://*.vimeo.com/*"],
"js": ["overlay/overlay_vimeo.js", "overlay/icon-overlay.js"],
"css": ["overlay/icon-overlay.css"],
"run_at": "document_start"
}
],
"permissions": [
"https://player.vimeo.com/video/*","https://*.youtube.com/*",
"storage",
"tabs",
"contextMenus",
"webRequest",
"webRequestBlocking"
],
"default_locale": "en",
"options_ui": {
"page": "options.html",
"open_in_tab": false
}
}