generated from dan3988/node-ts-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcustom-manifest.json
85 lines (85 loc) · 1.58 KB
/
custom-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
{
"$schema": "./custom-manifest.schema.json",
"base": {
"manifest_version": 3,
"name": "JSON Viewer",
"description": "A modern UI for viewing and manipulating JSON",
"version": "1.0.1",
"homepage_url": "https://www.github.com/dan3988/json-viewer",
"action": {
"default_title": "JSON Viewer",
"default_icon": {
"16": "/res/icon16.png",
"24": "/res/icon24.png",
"32": "/res/icon32.png"
},
"default_popup": "res/popup.html"
},
"content_scripts": [
{
"all_frames": true,
"matches": [ "<all_urls>" ],
"run_at": "document_end",
"js": [
"lib/content-script.js"
]
}
],
"icons": {
"16": "res/icon16.png",
"48": "res/icon48.png",
"128": "res/icon128.png",
"256": "res/icon256.png"
},
"options_ui": {
"open_in_tab": true,
"page": "res/options.html"
},
"web_accessible_resources": [
{
"matches": ["<all_urls>"],
"resources": [
"favicon.ico",
"node_modules/*",
"lib/*",
"res/*"
]
}
],
"permissions": [
"scripting",
"storage"
],
"optional_permissions": [
"webRequest"
]
},
"debug": {
"content_security_policy": {
"extension_pages": "script-src 'self' http://localhost:*; object-src 'self'"
}
},
"browsers": {
"firefox": {
"background": {
"scripts": [
"lib/bg.js"
]
},
"browser_specific_settings": {
"gecko": {
"id": "[email protected]"
}
}
},
"chrome": {
"minimum_chrome_version": "88",
"background": {
"service_worker": "lib/bg.js"
},
"optional_host_permissions": [
"<all_urls>"
]
}
}
}