-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmanifest.json
More file actions
42 lines (42 loc) · 1.17 KB
/
manifest.json
File metadata and controls
42 lines (42 loc) · 1.17 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
{
"manifest_version": 3,
"version": "1.0.6",
"name": "Dota Stats Steam Profile",
"description": "Dota Stats displays information from Dota 2 on Steam profiles using the Stratz API",
"author": "Gabriel Carlos",
"homepage_url": "https://github.com/gbrlstr/dota-stats-steam",
"permissions": ["activeTab", "storage"],
"action": {
"default_icon": "images/icon.png",
"default_title": "Dota Stats Steam Profile"
},
"icons": {
"16": "images/dota-logo.png",
"48": "images/dota-logo.png",
"128": "images/dota-logo.png"
},
"background": {
"service_worker": "scripts/background.js"
},
"host_permissions": ["https://api.stratz.com/*"],
"content_scripts": [
{
"matches": [
"*://*.steamcommunity.com/id/*",
"*://*.steamcommunity.com/profiles/*"
],
"exclude_matches": [
"*://*.steamcommunity.com/id/*/allcomments*",
"*://*.steamcommunity.com/profiles/*/allcomments*"
],
"css": ["style.css"],
"js": ["scripts/content.js"]
}
],
"web_accessible_resources": [
{
"resources": ["images/ranks/*.png", "images/*.png", "config.json"],
"matches": ["<all_urls>"]
}
]
}