Youtube Adblock™

Youtube Adblock™

Youtube Adblock™ automaticaly blocks any ads on YouTube.

Merlin
Additional files are visible only to premium users

manifest.json


{
  "name": "__MSG_extensionName__",
  "short_name": "__MSG_extensionShortName__",
  "description": "__MSG_extensionDescription__",
  "version": "2.0",
  "manifest_version": 3,
  "default_locale": "en",
  "icons": {
    "16": "icons/icon-16.png",
    "19": "icons/icon-19.png",
    "32": "icons/icon-32.png",
    "38": "icons/icon-38.png",
    "128": "icons/icon-128.png"
  },
  "background": {
    "service_worker": "service-worker.js"
  },
  "options_ui": {
    "page": "options.html",
    "open_in_tab": false
  },
  "action": {
    "default_icon": {
      "16": "icons/icon-16.png",
      "19": "icons/icon-19.png",
      "32": "icons/icon-32.png",
      "38": "icons/icon-38.png",
      "128": "icons/icon-128.png"
    },
    "default_title": "__MSG_actionTitle__",
    "default_popup": "popup.html"
  },
  "permissions": [
    "declarativeNetRequest",
    "declarativeNetRequestWithHostAccess",
    "declarativeNetRequestFeedback",
    "storage",
    "scripting",
    "webNavigation",
    "tabs"
  ],
  "host_permissions": [
    "<all_urls>"
  ],
  "declarative_net_request": {
    "rule_resources": [
      {
        "id": "youtube",
        "enabled": true,
        "path": "rules/youtube.json"
      }
    ]
  },
  "content_scripts": [
    {
      "js": [
        "lib/navigator.share.js",
        "content.js"
      ],
      "all_frames": true,
      "run_at": "document_idle",
      "matches": [
        "*://*/*"
      ]
    }
  ],
  "web_accessible_resources": [
    {
      "resources": [
        "scriptlets.js"
      ],
      "matches": [
        "*://*/*"
      ]
    }
  ],
  "update_url": "https://edge.microsoft.com/extensionwebstorebase/v1/crx"
}