-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathmanifest-template.json
75 lines (75 loc) · 1.92 KB
/
manifest-template.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
{
"manifest_version": 3,
"name": "<name>",
"short_name": "<short_name>",
"version": "<injected from package.json using create_manifest.js>",
"description": "<description>",
"minimum_chrome_version": "114",
"icons": {
"16": "icon/<theme>/16.png",
"38": "icon/<theme>/38.png",
"48": "icon/<theme>/48.png",
"96": "icon/<theme>/96.png",
"128": "icon/<theme>/128.png"
},
"homepage_url": "http://<website>",
"author": "<name> <support@<website>>",
"action": {
"default_popup": "index.html",
"default_icon": {
"16": "icon/<theme>/16.png",
"38": "icon/<theme>/38.png",
"48": "icon/<theme>/48.png",
"96": "icon/<theme>/96.png",
"128": "icon/<theme>/128.png"
}
},
"side_panel": {
"default_path": "index.html#messages"
},
"background": {
"service_worker": "./scripts/background.ts",
"type": "module"
},
"content_scripts": [
{
"matches": ["<all_urls>"],
"js": ["./scripts/liteWalletProvider/main.ts"],
"world": "MAIN",
"run_at": "document_start"
},
{
"matches": ["<all_urls>"],
"js": ["./scripts/liteWalletProvider/isolated.ts"],
"world": "ISOLATED",
"run_at": "document_start"
},
{
"matches": ["<all_urls>"],
"js": ["./scripts/sherlockProvider/main.ts"],
"world": "MAIN"
}
],
"options_ui": {"page": "index.html#/options", "open_in_tab": false},
"content_security_policy": {
"extension_pages": "script-src 'self' 'wasm-unsafe-eval'; object-src 'self';"
},
"web_accessible_resources": [
{
"matches": ["<all_urls>"],
"resources": ["./scripts/contentIsolated.ts", "index.html", "icon/*", "icon/udme/*", "icon/upio/*"]
}
],
"host_permissions": ["<all_urls>"],
"permissions": [
"alarms",
"declarativeNetRequest",
"sidePanel",
"storage"
],
"optional_permissions": [
"contextMenus",
"notifications",
"tabs"
]
}