-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmanifest.json
56 lines (49 loc) · 1.41 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
{
"manifest_version": 3,
"name": "PlayerTube",
"description": "The secret ingredient for a older (and better) looking YouTube.",
"version": "1.8.1",
"homepage_url": "https://github.com/ktg5/PlayerTube",
"background": {
"service_worker": "src/pt-background.js"
},
"action": {
"default_popup": "html/popup.html",
"default_icon": "img/playertube/icon.png"
},
"icons": {
"16": "img/playertube/resize/16.png",
"32": "img/playertube/resize/32.png",
"48": "img/playertube/resize/48.png",
"128": "img/playertube/resize/128.png"
},
"content_scripts": [
{
"matches": ["*://*.youtube.com/*"],
"js": ["src/pt-setup.js"],
"run_at": "document_start"
},
{
"matches": ["*://*.youtube.com/*"],
"js": ["src/pt-main.js"]
},
{
"matches": ["*://*.youtube.com/embed/*"],
"js": ["src/pt-setup.js"],
"run_at": "document_start",
"all_frames": true
},
{
"matches": ["*://*.youtube.com/embed/*"],
"js": ["src/pt-main.js"],
"all_frames": true
}
],
"web_accessible_resources": [{
"matches": ["*://*.youtube.com/*"],
"resources": ["css/*", "src/*", "img/*", "v3elmnts.json"]
}],
"permissions": [
"storage"
]
}