Block Ads On Youtube, Twitch,spotify,hulu and popup
Premium users can view and search full source code, and see the source code differences
between two versions.
Upgrade to premium
manifest.json
{
"update_url": "https://clients2.google.com/service/update2/crx",
"name": "True AdBlocker - free adblocker",
"description": "Block Ads On Youtube, Twitch,spotify,hulu and popup",
"version": "1.6.1",
"manifest_version": 3,
"icons": {
"16": "TrueAdBlocker16x16.png",
"48": "TrueAdBlocker48x48.png",
"128": "TrueAdBlocker128x128.png"
},
"action": {
"default_popup": "popup.html",
"default_title": "TrueAdBlocker True AdBlocker - free adblocker",
"default_icon": "TrueAdBlocker16x16.png"
},
"permissions": [
"declarativeNetRequest",
"storage",
"tabs"
],
"host_permissions": [
"<all_urls>"
],
"declarative_net_request": {
"rule_resources": [
{
"id": "ruleset_1",
"enabled": true,
"path": "rules.json"
}
]
},
"options_page": "options.html",
"background": {
"service_worker": "background.js"
},
"content_scripts": [
{
"matches": [
"<all_urls>"
],
"js": [
"contentScript.js"
]
},
{
"matches": [
"https://*.twitch.tv/*"
],
"js": [
"adRemove.js",
"removeTwitchAds.js"
],
"run_at": "document_start"
},
{
"matches": [
"https://open.spotify.com/*"
],
"js": [
"contentScriptSpotify.js"
],
"run_at": "document_start"
},
{
"matches": [
"https://www.youtube.com/*"
],
"js": [
"Youtube.js"
]
}
],
"web_accessible_resources": [
{
"resources": [
"adRemove.js",
"removeTwitchAds.js"
],
"matches": [
"https://*.twitch.tv/*"
]
},
{
"resources": [
"contentScriptSpotify.js",
"adsSweetalertSpotify.js",
"adsAdsRemoveSpotify.js",
"adswsHooksSpotify.js"
],
"matches": [
"https://open.spotify.com/*"
]
}
]
}