YouTube Tab Switch

YouTube Tab Switch

No matter how many YouTube video tabs are open, YouTube Tab Switch ensures that only one video is always playing

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "manifest_version": 2,
  "name": "YouTube Tab Switch",
  "description": "No matter how many YouTube video tabs are open, YouTube Tab Switch ensures that only one video is always playing",
  "version": "1.0",
  "icons": {
    "16": "img/icon16.png",
    "32": "img/icon32.png",
    "128": "img/icon128.png"
  },
  "browser_action": {
    "default_icon": "img/icon16.png",
    "default_popup": "popup.html",
    "default_title": "Youtube Tab Switch"
  },
  "background": {
    "scripts": [
      "js/background.js"
    ],
    "persistent": false
  },
  "content_scripts": [
    {
      "matches": [
        "*://*.youtube.com/*"
      ],
      "js": [
        "js/content.js",
        "lib/jquery-3.4.1.min.js"
      ],
      "run_at": "document_end"
    }
  ],
  "permissions": [
    "tabs",
    "*://*.youtube.com/*",
    "storage"
  ]
}