-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmanifest-v3.json
54 lines (54 loc) · 1.37 KB
/
manifest-v3.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
{
"manifest_version": 3,
"name": "ffmpeg.wasm demo",
"version": "1.0.1",
"description": "ffmpeg.wasm demo",
"icons": {
"32": "icons/32.png",
"48": "icons/48.png",
"96": "icons/96.png"
},
"permissions": [],
"host_permissions": [
"<all_urls>"
],
"action": {
"default_icon": "icons/48.png",
"default_title": "Addon-Template",
"default_popup": "html/popup.html"
},
"background": {
"service_worker": "js/background.js"
},
"content_scripts": [
{
"matches": [
"<all_urls>"
],
"js": [
"lib/ffmpeg.min.js",
"lib/ffmpeg-core.js",
"js/content.js"
]
}
],
"options_ui": {
"page": "html/options.html"
},
"web_accessible_resources": [
{
"resources": [
"data/*",
"html/*",
"lib/*"
],
"matches": [
"<all_urls>"
]
}
],
"content_security_policy": {
"extension_pages": "script-src 'self' 'wasm-unsafe-eval'; object-src 'self';",
"sandbox": "sandbox allow-scripts allow-forms allow-popups allow-modals; script-src 'self' 'unsafe-inline' 'unsafe-eval' 'wasm-unsafe-eval'; child-src 'self';"
}
}