YouTube Spam Remover

YouTube Spam Remover

Hides most YouTube spam comments

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "manifest_version": 3,
  "name": "YouTube Spam Remover",
  "version": "2.2.1",
  "description": "Hides most YouTube spam comments",
  "icons": {
    "16": "icon16.png",
    "48": "icon48.png",
    "128": "icon128.png"
  },
  "permissions": [
    "storage",
    "unlimitedStorage"
  ],
  "host_permissions": [
    "https://yt3.ggpht.com/*",
    "https://raw.githubusercontent.com/lukepfjo/YouTube-Spam-Remover/main/src/extern/opennsfwjs/model/*"
  ],
  "content_scripts": [
    {
      "matches": [
        "https://www.youtube.com/watch*",
        "https://youtube.com/watch*"
      ],
      "js": [
        "yt-spam-remover.js",
        "opennsfw.min.js",
        "pixelmatch.min.js"
      ],
      "css": [
        "yt-spam-remover.css"
      ],
      "run_at": "document_end"
    }
  ],
  "web_accessible_resources": [
    {
      "resources": [
        "yt-spam-remover-worker.js",
        "opennsfw.min.js",
        "pixelmatch.min.js",
        "allowed-sites.json.gz"
      ],
      "matches": [
        "https://www.youtube.com/*",
        "https://youtube.com/*"
      ]
    }
  ],
  "action": {
    "default_icon": {
      "16": "icon16.png",
      "48": "icon48.png"
    },
    "default_popup": "gui/ytsr-gui-tab.html"
  },
  "options_ui": {
    "page": "gui/ytsr-gui-options.html",
    "browser_style": true
  },
  "background": {
    "service_worker": "yt-spam-remover-background.js"
  }
}