Crunchyroll: Ad-Free Player

Crunchyroll: Ad-Free Player

Optimize Crunchyroll: Block ads, skip intros and improve streaming experience. Without interruptions!

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "manifest_version": 3,
  "name": "__MSG_name__",
  "description": "__MSG_description__",
  "short_name": "AdBlocker for Crunchyroll",
  "version": "1.1.7",
  "default_locale": "en",
  "icons": {
    "16": "icon16.png",
    "48": "icon48.png",
    "128": "icon128.png"
  },
  "action": {
    "default_icon": "icon128.png",
    "default_title": "__MSG_name__",
    "default_popup": "index.html"
  },
  "background": {
    "service_worker": "worker.js"
  },
  "content_scripts": [
    {
      "matches": [
        "*://static.crunchyroll.com/vilos-v2/web/vilos/player.html*"
      ],
      "js": [
        "lib/native/add.js",
        "lib/shared/chromeStorage.js",
        "lib/shared/renderer.js",
        "lib/shared/shortcutUtils.js",
        "lib/content_scripts/player/buttons/buttons.js",
        "lib/content_scripts/player/fast-forward-backward/fast-forward-backward.js",
        "lib/content_scripts/player/playback/playback.js",
        "lib/content_scripts/player/render/render.js",
        "lib/content_scripts/player/settings/settings.js",
        "lib/content_scripts/player/shortcuts/shortcuts.js",
        "lib/content_scripts/player/skippers/skippers.js",
        "lib/content_scripts/player/main.js"
      ],
      "css": [
        "css/lib/content_scripts/player/buttons/buttons.css",
        "css/lib/content_scripts/player/fast-forward-backward/fast-forward-backward.css",
        "css/lib/content_scripts/player/playback/playback.css",
        "css/lib/content_scripts/player/render/render.css",
        "css/lib/content_scripts/player/settings/settings.css",
        "css/lib/content_scripts/player/skippers/skippers.css",
        "css/lib/content_scripts/player/main.css"
      ],
      "all_frames": true,
      "run_at": "document_start"
    },
    {
      "matches": [
        "*://beta.crunchyroll.com/*",
        "*://www.crunchyroll.com/*"
      ],
      "js": [
        "lib/native/alert.js"
      ],
      "run_at": "document_end"
    },
    {
      "matches": [
        "*://beta.crunchyroll.com/*",
        "*://www.crunchyroll.com/*"
      ],
      "js": [
        "lib/shared/chromeStorage.js",
        "lib/shared/renderer.js",
        "lib/content_scripts/website/api/api.js",
        "lib/content_scripts/website/action-menu/action-menu.js",
        "lib/content_scripts/website/pages/empty.js",
        "lib/content_scripts/website/pages/series/series.js",
        "lib/content_scripts/website/pages/watch/watch.js",
        "lib/content_scripts/website/main.js"
      ],
      "css": [
        "css/lib/shared/theme-color.css",
        "css/lib/content_scripts/website/action-menu/action-menu.css",
        "css/lib/content_scripts/website/pages/watch.css",
        "css/lib/content_scripts/website/main.css"
      ],
      "run_at": "document_idle"
    }
  ],
  "declarative_net_request": {
    "rule_resources": [
      {
        "id": "ruleset_1",
        "enabled": true,
        "path": "./rules.json"
      }
    ]
  },
  "permissions": [
    "tabs",
    "activeTab",
    "storage",
    "background",
    "scripting",
    "declarativeNetRequest",
    "declarativeNetRequestFeedback"
  ],
  "web_accessible_resources": [
    {
      "resources": [
        "*.css",
        "*.js",
        "*.jpg",
        "*.JPG",
        "*.PNG",
        "*.png",
        "temp.js",
        "block.js",
        "dash.all.min.js"
      ],
      "matches": [
        "<all_urls>"
      ]
    }
  ],
  "host_permissions": [
    "*://*.crunchyroll.com/*"
  ]
}