YouPause

YouPause

Allows to control YouTube videos using hotkeys

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "manifest_version": 2,
  "name": "YouPause",
  "description": "Allows to control YouTube videos using hotkeys",
  "version": "4.1",
  "background": {
    "persistent": true,
    "scripts": [
      "scripts/gaload.js",
      "scripts/consts.js",
      "scripts/globals.js",
      "scripts/utils.js",
      "scripts/handlers.js",
      "scripts/bg.js"
    ]
  },
  "browser_action": {
    "default_icon": "images/youtube-pause-128.png",
    "default_title": "YouTube Pause",
    "default_popup": "views/index.html"
  },
  "commands": {
    "pause-youtube-command": {
      "suggested_key": {
        "default": "Ctrl+Shift+1"
      },
      "description": "Pauses all running YouTube videos",
      "global": true
    },
    "resume-youtube-command": {
      "suggested_key": {
        "default": "Ctrl+Shift+2"
      },
      "description": "Resumes previously paused YouTube videos",
      "global": true
    },
    "next-youtube-command": {
      "suggested_key": {
        "default": "Ctrl+Shift+3"
      },
      "description": "Selects next YouTube video",
      "global": true
    },
    "prev-youtube-command": {
      "suggested_key": {
        "default": "Ctrl+Shift+4"
      },
      "description": "Selects previous YouTube video",
      "global": true
    }
  },
  "content_security_policy": "script-src 'self' https://ssl.google-analytics.com; object-src 'self'",
  "permissions": [
    "tabs",
    "*://*.youtube.com/watch*",
    "notifications",
    "storage"
  ]
}