Tweaks for YouTube

Tweaks for YouTube

Seek, control volume, speed, and more with mouse and keyboard. Adjust player controls, progress bar, UI elements, process audio...

Merlin
Additional files are visible only to premium users

manifest.json


{
  "version": "3.66.0",
  "name": "Tweaks for YouTube",
  "description": "Seek, control volume, speed, and more with mouse and keyboard. Adjust player controls, progress bar, UI elements, process audio...",
  "content_scripts": [
    {
      "matches": [
        "*://www.youtube.com/*",
        "*://www.youtube-nocookie.com/*",
        "*://youtube.googleapis.com/*"
      ],
      "js": [
        "youtube.bundle.js"
      ],
      "all_frames": true,
      "run_at": "document_end"
    },
    {
      "matches": [
        "*://www.youtube.com/*",
        "*://www.youtube-nocookie.com/*"
      ],
      "js": [
        "youtube-at-loading.bundle.js"
      ],
      "all_frames": true,
      "run_at": "document_start"
    },
    {
      "matches": [
        "*://music.youtube.com/*"
      ],
      "js": [
        "youtube-music.bundle.js"
      ],
      "all_frames": true,
      "run_at": "document_end"
    },
    {
      "matches": [
        "*://www.youtube.com/*",
        "*://music.youtube.com/*",
        "*://www.youtube-nocookie.com/*",
        "*://youtube.googleapis.com/*"
      ],
      "js": [
        "custom-css-and-js.bundle.js"
      ],
      "all_frames": true,
      "run_at": "document_start"
    }
  ],
  "icons": {
    "16": "icon-16.png",
    "19": "icon-19.png",
    "24": "icon-24.png",
    "32": "icon-32.png",
    "38": "icon-38.png",
    "48": "icon-48.png",
    "96": "icon-96.png"
  },
  "options_ui": {
    "page": "options.html",
    "open_in_tab": true
  },
  "manifest_version": 3,
  "minimum_chrome_version": "88",
  "permissions": [
    "contextMenus",
    "scripting",
    "storage"
  ],
  "background": {
    "service_worker": "background.bundle.js"
  },
  "action": {
    "default_title": "Tweaks for YouTube",
    "default_popup": "popup.html",
    "default_icon": {
      "16": "icon-16.png",
      "19": "icon-19.png",
      "24": "icon-24.png",
      "32": "icon-32.png",
      "38": "icon-38.png",
      "48": "icon-48.png",
      "96": "icon-96.png"
    }
  },
  "commands": {
    "aaaOpenOptionsPage": {
      "description": "Open options page"
    },
    "enterPictureInPicture": {
      "description": "Enter picture-in-picture"
    },
    "enterPictureInPictureDocument": {
      "description": "Enter picture-in-picture (with controls)"
    },
    "navigateChapterNext": {
      "description": "Next chapter"
    },
    "navigateChapterPrevious": {
      "description": "Previous chapter"
    },
    "navigateChapterTrackNext": {
      "description": "Next chapter or video"
    },
    "navigateChapterTrackPrevious": {
      "description": "Previous chapter or video"
    },
    "navigateTrackNext": {
      "description": "Next video"
    },
    "navigateTrackPrevious": {
      "description": "Previous video"
    },
    "navigateTrackPreviousReplay": {
      "description": "Previous/replay video"
    },
    "seekBackward": {
      "description": "Seek backward"
    },
    "seekForward": {
      "description": "Seek forward"
    },
    "skipAd": {
      "description": "Skip Ad"
    },
    "volumeDecrease": {
      "description": "Decrease volume"
    },
    "volumeIncrease": {
      "description": "Increase volume"
    },
    "volumeToggleMute": {
      "description": "Toggle mute"
    },
    "playbackQualityDecrease": {
      "description": "Decrease video quality"
    },
    "playbackQualityIncrease": {
      "description": "Increase video quality"
    },
    "playbackRateDecrease": {
      "description": "Decrease playback rate"
    },
    "playbackRateIncrease": {
      "description": "Increase playback rate"
    },
    "playbackRateSetTo1": {
      "description": "Set playback rate to 1"
    },
    "toggleLoopVideo": {
      "description": "Toggle loop video"
    },
    "togglePlay": {
      "description": "Toggle play"
    },
    "zzzControlBit0": {
      "description": "Control bit 0"
    },
    "zzzControlBit1": {
      "description": "Control bit 1"
    }
  },
  "host_permissions": [
    "*://www.youtube.com/*",
    "*://music.youtube.com/*",
    "*://www.youtube-nocookie.com/*",
    "*://youtube.googleapis.com/*"
  ],
  "web_accessible_resources": [
    {
      "resources": [
        "embedding.bundle.js",
        "arrow-up-icon.svg",
        "close-icon.svg"
      ],
      "matches": [
        "*://www.youtube.com/*",
        "*://music.youtube.com/*",
        "*://www.youtube-nocookie.com/*",
        "*://youtube.googleapis.com/*"
      ]
    }
  ],
  "update_url": "https://edge.microsoft.com/extensionwebstorebase/v1/crx"
}