-
Notifications
You must be signed in to change notification settings - Fork 1
/
manifest.json
101 lines (101 loc) · 3.27 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
{
"manifest_version": 3,
"short_name": "tweaks4ytube",
"name": "tweaks4ytube! LOCAL TEST",
"description": "__MSG_description_ext__",
"version": "1.0",
"default_locale": "en",
"icons": {
"128": "menu/icons/128.png",
"16": "menu/icons/16.png",
"32": "menu/icons/32.png",
"48": "menu/icons/48.png"
},
"browser_specific_settings": {
"gecko": {
"id": "{11111111-1111-1111-1111-111111111111}"
}
},
"background": {
"service_worker": "background.js",
"scripts": ["background.js"]
},
"action": {
"default_popup": "menu/index.html",
"default_area": "navbar"
},
"options_page": "menu/index.html",
"options_ui": {
"page": "menu/index.html"
},
"content_scripts": [
{
"world": "MAIN",
"js": [
"js&css/web-accessible/core.js",
"js&css/web-accessible/functions.js",
"js&css/web-accessible/www.youtube.com/appearance.js",
"js&css/web-accessible/www.youtube.com/player.js",
"js&css/web-accessible/www.youtube.com/themes.js",
"js&css/web-accessible/www.youtube.com/playlist.js",
"js&css/web-accessible/www.youtube.com/channel.js",
"js&css/web-accessible/www.youtube.com/shortcuts.js",
"js&css/web-accessible/www.youtube.com/blocklist.js",
"js&css/web-accessible/www.youtube.com/settings.js",
"js&css/web-accessible/init.js"
],
"matches": ["https://www.youtube.com/*"],
"exclude_matches": ["https://www.youtube.com/audiolibrary/*", "https://www.youtube.com/tv*", "https://www.youtube.com/live_chat_replay*"],
"run_at": "document_start"
}, {
"css": [
"js&css/extension/www.youtube.com/styles.css",
"js&css/extension/www.youtube.com/general/general.css",
"js&css/extension/www.youtube.com/appearance/header/header.css",
"js&css/extension/www.youtube.com/appearance/player/player.css",
"js&css/extension/www.youtube.com/appearance/details/details.css",
"js&css/extension/www.youtube.com/appearance/sidebar/sidebar.css",
"js&css/extension/www.youtube.com/appearance/comments/comments.css"
],
"js": ["js&css/web-accessible/www.youtube.com/livechat.js"],
"matches": ["https://www.youtube.com/live_chat_replay*"],
"run_at": "document_start"
}, {
"css": [
"js&css/extension/www.youtube.com/styles.css",
"js&css/extension/www.youtube.com/general/general.css",
"js&css/extension/www.youtube.com/appearance/header/header.css",
"js&css/extension/www.youtube.com/appearance/player/player.css",
"js&css/extension/www.youtube.com/appearance/details/details.css",
"js&css/extension/www.youtube.com/appearance/sidebar/sidebar.css",
"js&css/extension/www.youtube.com/appearance/comments/comments.css"
],
"js": [
"js&css/extension/core.js",
"js&css/extension/www.youtube.com/general/general.js",
"js&css/extension/init.js"
],
"matches": ["https://www.youtube.com/*"],
"exclude_matches": ["https://www.youtube.com/audiolibrary/*", "https://www.youtube.com/tv*", "https://www.youtube.com/live_chat_replay*"],
"run_at": "document_start"
}
],
"host_permissions": ["https://www.youtube.com/*"],
"optional_permissions": [
"downloads"
],
"permissions": [
"contextMenus",
"storage"
],
"web_accessible_resources": [
{
"resources": [
"menu/index.html",
"menu/icons/48.png",
"css/icon.svg"
],
"matches": ["https://www.youtube.com/*"]
}
]
}