Skip to content

Commit 32a2134

Browse files
committed
Explicitly declare host permissions
1 parent 44c807a commit 32a2134

1 file changed

Lines changed: 20 additions & 9 deletions

File tree

src/manifest.json

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,22 @@
11
{
22
"manifest_version": 3,
33
"name": "HyperChat [Improved YouTube Chat]",
4+
"version": "0.0.0",
45
"homepage_url": "https://livetl.app/hyperchat",
56
"description": "Improved YouTube chat with CPU/RAM optimizations, customization options, and cutting-edge features!",
6-
"version": "0.0.0",
7-
"permissions": [
8-
"storage"
9-
],
107
"icons": {
118
"48": "assets/logo-48.png",
129
"128": "assets/logo-128.png"
1310
},
11+
"permissions": [
12+
"storage"
13+
],
14+
"host_permissions": [
15+
"https://www.youtube.com/live_chat*",
16+
"https://www.youtube.com/live_chat_replay*",
17+
"https://studio.youtube.com/live_chat*",
18+
"https://studio.youtube.com/live_chat_replay*"
19+
],
1420
"content_scripts": [
1521
{
1622
"matches": [
@@ -22,7 +28,9 @@
2228
"js": [
2329
"scripts/chat-injector.ts"
2430
],
25-
"css": ["stylesheets/titlebar.css"],
31+
"css": [
32+
"stylesheets/titlebar.css"
33+
],
2634
"all_frames": true
2735
},
2836
{
@@ -32,7 +40,10 @@
3240
"js": [
3341
"scripts/chat-mounter.ts"
3442
],
35-
"css": ["stylesheets/scrollbar.css", "stylesheets/page404.css"],
43+
"css": [
44+
"stylesheets/scrollbar.css",
45+
"stylesheets/page404.css"
46+
],
3647
"all_frames": true
3748
}
3849
],
@@ -51,8 +62,8 @@
5162
},
5263
"web_accessible_resources": [
5364
{
54-
"resources": [ "*" ],
55-
"matches": [ "<all_urls>" ]
65+
"resources": ["*"],
66+
"matches": ["<all_urls>"]
5667
}
5768
],
5869
"options_ui": {
@@ -63,7 +74,7 @@
6374
"{{firefox}}.browser_specific_settings": {
6475
"gecko": {
6576
"id": "{14a15c41-13f4-498e-986c-7f00435c4d00}",
66-
"strict_min_version": "58.0"
77+
"strict_min_version": "115.0"
6778
}
6879
}
6980
}

0 commit comments

Comments
 (0)