Tweaks for YouTube

Tweaks for YouTube

Seek, navigate chapters, control volume, speed, and more with mouse and keyboard shortcuts. Adjust player controls, progress bar, subtitles, process audio, show playlist duration, take video snapshot, set initial volume, speed, resolution, and more.

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": 2,
  "permissions": [
    "contextMenus",
    "storage"
  ],
  "background": {
    "scripts": [
      "background.bundle.js"
    ]
  },
  "browser_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"
    }
  },
  "browser_specific_settings": {
    "gecko": {
      "id": "{84c8edb0-65ca-43a5-bc53-0e80f41486e1}"
    }
  },
  "commands": {
    "_execute_browser_action": {
      "description": "Open popup"
    },
    "aaaOpenOptionsPage": {
      "description": "Open options page"
    },
    "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"
    }
  },
  "web_accessible_resources": [
    "embedding.bundle.js",
    "arrow-up-icon.svg",
    "close-icon.svg"
  ]
}