Spotify Music Hotkeys

Spotify Music Hotkeys

Access Spotify web player from any tab with hotkeys

Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "manifest_version": 2,
  "name": "Spotify Music Hotkeys",
  "short_name": "spotify hotkeys",
  "description": "Access Spotify web player from any tab with hotkeys",
  "version": "0.1",
  "permissions": [
    "https://play.spotify.com/*",
    "tabs"
  ],
  "icons": {
    "48": "icon.png"
  },
  "background": {
    "scripts": [
      "background.js"
    ]
  },
  "content_scripts": [
    {
      "js": [
        "main.js"
      ],
      "matches": [
        "https://play.spotify.com/*"
      ],
      "all_frames": true
    }
  ],
  "commands": {
    "play-pause": {
      "description": "Play/Pause",
      "suggested_key": "Alt+Shift+P"
    },
    "next": {
      "description": "Skip",
      "suggested_key": "Alt+Shift+Period"
    },
    "previous": {
      "description": "Previous",
      "suggested_key": "Alt+Shift+Comma"
    }
  }
}