-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
manifest.json
91 lines (91 loc) · 2.27 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
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
86
87
88
89
90
91
{
"manifest_version": 3,
"name": "DnD Beyond Kit",
"description": "Translate, add common metrics, and add new features to your D&D Beyond pages.",
"version": "0.6.4",
"default_locale": "en",
"icons": {
"16": "images/icon-16.png",
"32": "images/icon-32.png",
"48": "images/icon-48.png",
"128": "images/icon-128.png"
},
"action": {
"default_popup": "popup/popup.html",
"default_icon": {
"16": "images/icon-16.png",
"32": "images/icon-32.png",
"48": "images/icon-48.png",
"128": "images/icon-128.png"
}
},
"permissions": [
"storage",
"scripting",
"activeTab"
],
"background": {
"service_worker": "scripts/OMM/worker.js"
},
"host_permissions": [
"https://www.dndbeyond.com/characters/*",
"https://www.dndbeyond.com/monsters*",
"https://www.dndbeyond.com/equipment*",
"https://www.dndbeyond.com/magic-items*",
"https://www.dndbeyond.com/spells*",
"https://www.dndbeyond.com/homebrew/*",
"https://multiverse.com/verses/*/session/*"
],
"content_scripts": [
{
"js": [
"scripts/metrics.js",
"scripts/backToTop.js",
"scripts/lazyLoad.js"
],
"css": [
"scripts/styles.css"
],
"matches": [
"https://www.dndbeyond.com/characters/*",
"https://www.dndbeyond.com/monsters*",
"https://www.dndbeyond.com/equipment*",
"https://www.dndbeyond.com/magic-items*",
"https://www.dndbeyond.com/spells*",
"https://www.dndbeyond.com/homebrew/*"
]
},
{
"js": [
"scripts/translations.js",
"scripts/OMM/diceRolls.js"
],
"matches": [
"https://www.dndbeyond.com/characters/*"
]
},
{
"js": [
"scripts/OMM/omm.js"
],
"matches": [
"https://multiverse.com/verses/*/session/*"
]
}
],
"web_accessible_resources": [
{
"resources": [
"translations/pt-br.json",
"translations/es-es.json",
"translations/it-it.json",
"translations/de-de.json",
"translations/fr-fr.json"
],
"matches": [
"*://*/*"
]
}
],
"minimum_chrome_version": "100"
}