Open in Spotify desktop client

Open in Spotify desktop client

Instead of opening open.spotify.com and play.spotify.com links in the browser they will always be opened in the Spotify desktop client. Port of https://github.com/gaqzi/chrome-open-in-spotify-client

Merlin
Additional files are visible only to premium users

manifest.json


{
  "manifest_version": 2,
  "name": "Open in Spotify desktop client",
  "description": "Instead of opening open.spotify.com links in the browser they will always be opened in Spotify",
  "version": "1.4.1.1",
  "icons": {
    "48": "open-in-client.svg",
    "96": "open-in-client.svg"
  },
  "permissions": [
    "tabs",
    "webRequest",
    "webRequestBlocking",
    "*://open.spotify.com/",
    "*://play.spotify.com/"
  ],
  "content_scripts": [
    {
      "matches": [
        "<all_urls>"
      ],
      "js": [
        "content.js"
      ]
    }
  ],
  "background": {
    "page": "chrome-background.html"
  }
}