ttv-lol-pro/src/manifest.chromium.json
2025-02-01 15:24:46 +01:00

56 lines
1.2 KiB
JSON

{
"manifest_version": 3,
"name": "TTV LOL PRO",
"description": "TTV LOL PRO removes most livestream ads from Twitch.",
"homepage_url": "https://github.com/younesaassila/ttv-lol-pro",
"version": "2.4.0",
"background": {
"service_worker": "background/background.ts",
"type": "module"
},
"declarative_net_request": {
"rule_resources": [
{
"id": "ruleset",
"enabled": true,
"path": "rulesets/ruleset.json"
}
]
},
"action": {
"default_icon": {
"128": "common/images/brand/icon.png"
},
"default_title": "TTV LOL PRO",
"default_popup": "popup/menu.html"
},
"content_scripts": [
{
"matches": ["https://www.twitch.tv/*", "https://m.twitch.tv/*"],
"js": ["content/content.ts"],
"run_at": "document_start"
}
],
"icons": {
"128": "common/images/brand/icon.png"
},
"options_ui": {
"browser_style": false,
"open_in_tab": true,
"page": "options/page.html"
},
"permissions": [
"declarativeNetRequest",
"proxy",
"storage",
"tabs",
"webRequest",
"webRequestAuthProvider"
],
"host_permissions": [
"https://*.live-video.net/*",
"https://*.ttvnw.net/*",
"https://*.twitch.tv/*"
]
}