/
manifest.json
55 lines (55 loc) · 1.21 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
{
"commonFields": {
"name": "Mafia Engine",
"description": "Aid in the playing and hosting of games on MafiaScum",
"version": "0.0.2",
"icons": {
"128": "/images/cog-128.png",
"512": "/images/cog-512.png"
},
"content_scripts": [
{
"matches": ["https://forum.mafiascum.net/*"],
"js": ["main.js"],
"css": ["styling.css"]
}
]
},
"v2": {
"manifest_version": 2,
"background": {
"scripts": ["background.js"],
"persistent": false
},
"web_accessible_resources": ["images/*"],
"permissions": ["activeTab", "storage", "https://forum.mafiascum.net/*"],
"browser_action": {
"default_popup": "popup.html",
"default_icon": {
"128": "/images/cog-128.png",
"512": "/images/cog-512.png"
}
}
},
"v3": {
"manifest_version": 3,
"background": {
"service_worker": "background.js"
},
"host_permissions": ["https://forum.mafiascum.net/*"],
"web_accessible_resources": [
{
"resources": ["templates/*", "images/*"],
"matches": ["https://forum.mafiascum.net/*"]
}
],
"permissions": ["activeTab", "storage"],
"action": {
"default_popup": "popup.html",
"default_icon": {
"128": "/images/cog-128.png",
"512": "/images/cog-512.png"
}
}
}
}