-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathmanifest.json
50 lines (50 loc) · 1.78 KB
/
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
{
"name": "$WALLET_MANIFEST_NAME",
"description": "One fast, accessible, and secure platform for digital assets, DApps, NFTs, and DeFi.",
"version": "1.18.2",
"manifest_version": 3,
"key": "$LACE_EXTENSION_KEY",
"icons": {
"16": "icon16.png",
"32": "icon32.png",
"48": "icon48.png",
"128": "icon128.png"
},
"background": {
"service_worker": "./js/background.js"
},
"action": {
"default_popup": "popup.html"
},
"permissions": ["webRequest", "storage", "tabs", "unlimitedStorage"],
"host_permissions": ["<all_urls>"],
"content_security_policy": {
"extension_pages": "default-src 'self' $LOCALHOST_DEFAULT_SRC; frame-src https://connect.trezor.io/ https://www.youtube-nocookie.com; script-src 'self' 'wasm-unsafe-eval' $LOCALHOST_SCRIPT_SRC; font-src 'self' https://use.typekit.net; object-src 'self'; connect-src $BLOCKFROST_URLS $CARDANO_SERVICES_URLS $CARDANO_WS_SERVER_URLS $SENTRY_URL https://coingecko.live-mainnet.eks.lw.iog.io https://muesliswap.live-mainnet.eks.lw.iog.io $LOCALHOST_CONNECT_SRC $POSTHOG_HOST https://use.typekit.net data:; style-src * 'unsafe-inline'; img-src * data:;"
},
"content_scripts": [
{
"matches": ["http://*/*", "https://*/*", "file://*/*"],
"js": ["./js/inject.js"],
"run_at": "document_start",
"world": "MAIN",
"all_frames": true
},
{
"matches": ["http://*/*", "https://*/*", "file://*/*"],
"js": ["./js/content.js"],
"run_at": "document_start",
"all_frames": true
},
{
"matches": ["*://connect.trezor.io/*/popup.html*"],
"js": ["js/trezor-content-script.js"],
"all_frames": true
}
],
"web_accessible_resources": [
{
"resources": ["/js/inject.js"],
"matches": ["http://*/*", "https://*/*", "<all_urls>"]
}
]
}