-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathmanifest.json
77 lines (77 loc) · 2.67 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
{
"manifest_version": 3,
"name": "CSFloat Market Checker",
"short_name": "CSFloat",
"version": "5.2.0",
"description": "Shows the float value, paint seed, and more of Counter-Strike (CS:GO & CS2) items on the Steam Market or Inventories",
"icons": {
"16": "icons/16.png",
"48": "icons/48.png",
"128": "icons/128.png"
},
"content_scripts": [
{
"matches": ["*://*.steamcommunity.com/market/listings/730/*"],
"js": ["src/lib/page_scripts/market_listing.js"],
"css": ["src/global.css"]
},
{
"matches": [
"*://*.steamcommunity.com/id/*/tradehistory*",
"*://*.steamcommunity.com/profiles/*/tradehistory*"
],
"js": ["src/lib/page_scripts/trade_history.js"],
"css": ["src/global.css"]
},
{
"matches": ["*://*.steamcommunity.com/id/*/inventory*", "*://*.steamcommunity.com/profiles/*/inventory*"],
"js": ["src/lib/page_scripts/inventory.js"],
"css": ["src/global.css"]
},
{
"matches": ["*://*.steamcommunity.com/tradeoffer/*"],
"js": ["src/lib/page_scripts/trade_offer.js"],
"css": ["src/global.css"]
},
{
"matches": ["*://*.steamcommunity.com/*/tradeoffers/*"],
"js": ["src/lib/page_scripts/trade_offers.js"],
"css": ["src/global.css"]
},
{
"matches": ["*://*.steamcommunity.com/id/*", "*://*.steamcommunity.com/profiles/*"],
"js": ["src/lib/page_scripts/profile.js"],
"css": ["src/global.css"]
}
],
"background": {
"service_worker": "src/background.js",
"type": "module"
},
"permissions": ["storage", "scripting", "alarms", "declarativeNetRequestWithHostAccess"],
"host_permissions": [
"*://*.steamcommunity.com/market/listings/730/*",
"*://*.steamcommunity.com/id/*/inventory*",
"*://*.steamcommunity.com/id/*/tradehistory*",
"*://*.steamcommunity.com/profiles/*/inventory*"
],
"optional_host_permissions": ["*://*.steampowered.com/*"],
"externally_connectable": {
"matches": ["*://*.steamcommunity.com/*", "*://*.csfloat.com/*"]
},
"web_accessible_resources": [
{
"resources": ["src/version.txt"],
"matches": ["https://csfloat.com/*"]
}
],
"declarative_net_request": {
"rule_resources": [
{
"id": "steamcommunity_ruleset",
"enabled": true,
"path": "src/steamcommunity_ruleset.json"
}
]
}
}