OFFTHEGRID AD BLOCKER
Block ads and pop-ups on websites such as YouTube
Additional files are visible only to premium users
manifest.json
{
"update_url": "https://clients2.google.com/service/update2/crx",
"name": "OFFTHEGRID AD BLOCKER",
"description": "Block ads and pop-ups on websites such as YouTube",
"version": "1.0.2",
"default_locale": "en",
"manifest_version": 3,
"icons": {
"16": "./images/icon16.png",
"48": "./images/icon48.png",
"128": "./images/icon128.png"
},
"background": {
"service_worker": "./background.js"
},
"action": {
"default_popup": "./popup.html",
"default_icons": {
"16": "./images/icon16.png",
"48": "./images/icon48.png",
"128": "./images/icon128.png"
}
},
"permissions": [
"activeTab",
"storage",
"declarativeNetRequest",
"declarativeNetRequestFeedback"
],
"host_permissions": [
"https://*/*",
"http://*/*"
],
"declarative_net_request": {
"rule_resources": [
{
"id": "ruleset_1",
"enabled": false,
"path": "rules/rules.json"
},
{
"id": "ruleset_2",
"enabled": false,
"path": "rules/rules1.json"
}
]
},
"content_scripts": [
{
"matches": [
"https://www.youtube.com/*"
],
"js": [
"content/script.js"
]
}
],
"web_accessible_resources": [
{
"matches": [
"http://*/*",
"https://*/*"
],
"use_dynamic_url": true,
"resources": [
"src/web-accessible-resources/*"
]
}
]
}