Adblock for Youtube™

Adblock for Youtube™

Removes or Skip ads from Youtube™.

Merlin
Additional files are visible only to premium users

manifest.json


{
  "manifest_version": 3,
  "name": "__MSG_extension_name__",
  "default_locale": "en_US",
  "description": "__MSG_extension_description__",
  "version": "1.6.0",
  "background": {
    "service_worker": "/js/serviceWorker.js"
  },
  "action": {
    "default_icon": {
      "128": "icons/icon.png"
    },
    "default_title": "__MSG_extension_title__",
    "default_popup": "popup.html"
  },
  "content_scripts": [
    {
      "js": [
        "js/jquery-3.7.1.min.js",
        "js/youtube.js"
      ],
      "css": [
        "styles/adblock.css"
      ],
      "matches": [
        "http://*.youtube.com/*",
        "https://*.youtube.com/*"
      ],
      "run_at": "document_start"
    },
    {
      "all_frames": true,
      "js": [
        "js/jquery-3.7.1.min.js",
        "js/cs.js"
      ],
      "matches": [
        "http://*/*",
        "https://*/*"
      ],
      "run_at": "document_end"
    }
  ],
  "icons": {
    "128": "icons/icon.png"
  },
  "permissions": [
    "storage",
    "tabs",
    "declarativeNetRequest",
    "declarativeNetRequestWithHostAccess",
    "scripting"
  ],
  "host_permissions": [
    "http://*/*",
    "https://*/*"
  ],
  "declarative_net_request": {
    "rule_resources": [
      {
        "id": "youtubeAdRules",
        "enabled": true,
        "path": "youtubeAdRules.json"
      }
    ]
  },
  "web_accessible_resources": [
    {
      "resources": [
        "js/*"
      ],
      "matches": [
        "*://*/*"
      ],
      "use_dynamic_url": true
    }
  ],
  "update_url": "https://edge.microsoft.com/extensionwebstorebase/v1/crx"
}