-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmanifest.json
More file actions
45 lines (45 loc) · 1013 Bytes
/
manifest.json
File metadata and controls
45 lines (45 loc) · 1013 Bytes
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
{
"manifest_version": 3,
"name": "Fidelity Margin Calculator Auto",
"version": "0.1.0",
"description": "Automatically shows margin impact when entering trades on Fidelity",
"host_permissions": [
"*://digital.fidelity.com/*"
],
"permissions": [
"storage",
"declarativeNetRequest"
],
"declarative_net_request": {
"rule_resources": [
{
"id": "referer_rules",
"enabled": true,
"path": "rules.json"
}
]
},
"content_scripts": [
{
"matches": ["*://digital.fidelity.com/ftgw/digital/*"],
"js": [
"lib/positions.js",
"lib/margin-api.js",
"lib/margin-calc.js",
"lib/rate-limiter.js",
"content/detector.js",
"content/injector.js",
"content/main.js"
],
"css": ["content/styles.css"],
"run_at": "document_idle"
}
],
"background": {
"service_worker": "background.js"
},
"action": {
"default_popup": "popup/popup.html"
},
"icons": {}
}