-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathmanifest.json
More file actions
72 lines (72 loc) · 1.82 KB
/
manifest.json
File metadata and controls
72 lines (72 loc) · 1.82 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
{
"manifest_version": 3,
"name": "Dapplets",
"version": "",
"version_name": "",
"description": "",
"author": "",
"short_name": "Dapplets",
"background": {
"service_worker": "service-worker.js",
"type": "module"
},
"minimum_chrome_version": "92",
"action": {
"default_icon": {
"16": "icons/icon16.png",
"32": "icons/icon32.png",
"36": "icons/icon36.png",
"48": "icons/icon48.png",
"64": "icons/icon64.png",
"96": "icons/icon96.png",
"128": "icons/icon128.png",
"19": "icons/icon19.png",
"38": "icons/icon38.png",
"512": "icons/icon512.png"
}
},
"icons": {
"16": "icons/icon16.png",
"32": "icons/icon32.png",
"36": "icons/icon36.png",
"48": "icons/icon48.png",
"64": "icons/icon64.png",
"96": "icons/icon96.png",
"128": "icons/icon128.png",
"19": "icons/icon19.png",
"38": "icons/icon38.png",
"512": "icons/icon512.png"
},
"sandbox": {
"pages": ["sandbox.html"]
},
"content_security_policy": {
"sandbox": "sandbox allow-scripts; script-src 'self' 'unsafe-inline' blob:"
},
"content_scripts": [
{
"matches": ["http://*/*", "https://*/*"],
"js": ["custom-elements.min.js", "contentscript.js"],
"run_at": "document_idle"
},
{
"matches": ["https://app.mynearwallet.com/*", "https://testnet.mynearwallet.com/*"],
"js": ["mnw-patch-cs.js"],
"run_at": "document_start"
}
],
"web_accessible_resources": [
{
"resources": [
"callback.html",
"sandbox.html",
"inpage.js",
"worker.js",
"mnw-patch-inpage.js"
],
"matches": ["*://*/*"]
}
],
"permissions": ["tabs", "activeTab", "storage", "unlimitedStorage", "offscreen"],
"host_permissions": ["*://localhost/*", "http://*/*", "https://*/*"]
}