-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmanifest.json
More file actions
50 lines (50 loc) · 1.09 KB
/
manifest.json
File metadata and controls
50 lines (50 loc) · 1.09 KB
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
{
"manifest_version": 3,
"name": "TubeFocus Extension",
"version": "1.0",
"description": "Score YouTube videos based on your personal goal.",
"icons": {
"16": "icons/icon16.png",
"48": "icons/icon48.png",
"128": "icons/icon128.png"
},
"permissions": [
"storage",
"notifications",
"tabs",
"alarms",
"scripting"
],
"host_permissions": [
"https://*.youtube.com/*",
"https://yt-scorer-api-933573987016.us-central1.run.app/*",
"http://localhost:8080/*"
],
"background": {
"service_worker": "background.js",
"type": "module"
},
"action": {
"default_popup": "popup.html",
"default_icon": {
"16": "icons/icon16.png",
"48": "icons/icon48.png",
"128": "icons/icon128.png"
}
},
"content_scripts": [
{
"matches": [
"https://*.youtube.com/*"
],
"js": [
"local_entertainment_channels.js",
"content.js"
],
"run_at": "document_idle"
}
],
"content_security_policy": {
"extension_pages": "script-src 'self' 'wasm-unsafe-eval'; object-src 'self';"
}
}