PiP Sync

PiP Sync

Toggle synced Picture in Picture content on YouTube with the click of a button.

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "manifest_version": 2,
  "name": "PiP Sync",
  "version": "1.0.7",
  "description": "Toggle synced Picture in Picture content on YouTube with the click of a button.",
  "content_scripts": [
    {
      "matches": [
        "https://www.youtube.com/*"
      ],
      "exclude_matches": [
        "https://www.youtube.com/embed/*"
      ],
      "js": [
        "content.js"
      ],
      "css": [
        "style.css"
      ],
      "run_at": "document_end",
      "all_frames": true
    }
  ],
  "permissions": [
    "storage"
  ],
  "background": {
    "page": "background.html",
    "persistant": true
  },
  "icons": {
    "16": "icons/icon16.png",
    "32": "icons/icon32.png",
    "48": "icons/icon48.png",
    "128": "icons/icon128.png"
  },
  "browser_action": {
    "default_popup": "popup/popup.html",
    "default_title": "PiP Sync"
  },
  "web_accessible_resources": [
    "script.js",
    "images/*.png"
  ],
  "content_security_policy": "script-src 'self' https://www.gstatic.com/ https://*.firebaseio.com https://www.googleapis.com/ https://apis.google.com https://www.youtube.com/iframe_api https://s.ytimg.com/yts/jsbin/www-widgetapi-vfln21F5R/www-widgetapi.js https://www.googletagmanager.com; object-src 'self'; frame-src *; img-src *"
}