Hero Wars Resource Cache
Extension for Hero Wars - Caches game resources locally to load and play the game faster especially on slow connections.
Additional files are visible only to premium users
manifest.json
{
"update_url": "https://clients2.google.com/service/update2/crx",
"name": "Hero Wars Resource Cache",
"description": "Extension for Hero Wars - Caches game resources locally to load and play the game faster especially on slow connections.",
"version": "1.1.1",
"manifest_version": 3,
"icons": {
"128": "images/HIcon-128.png"
},
"background": {
"service_worker": "background.js"
},
"action": {
"default_icon": {
"128": "images/HIcon-128.png"
},
"default_title": "Hero Wars - Resource Cache"
},
"declarative_net_request": {
"rule_resources": [
{
"id": "ruleset",
"enabled": true,
"path": "rules.json"
}
]
},
"content_scripts": [
{
"all_frames": true,
"js": [
"contentscript.js"
],
"matches": [
"https://i.hero-wars-fb.com/*",
"https://www.hero-wars.com/*"
],
"run_at": "document_start"
}
],
"permissions": [
"declarativeNetRequest"
],
"host_permissions": [
"https://www.hero-wars.com/*",
"https://i.hero-wars-fb.com/*",
"https://apps.facebook.com/mobaheroes/*"
],
"web_accessible_resources": [
{
"resources": [
"injected.js"
],
"matches": [
"https://www.hero-wars.com/*",
"https://apps.facebook.com/*",
"https://i.hero-wars-fb.com/*"
]
}
]
}