Open in Spotify desktop client

Instead of opening open.spotify.com links in the browser they will always be opened in Spotify

Hvad er Open in Spotify desktop client?

Open in Spotify desktop client er en Chrome-udvidelse udviklet af gaqzi, og dens hovedfunktion er "Instead of opening open.spotify.com links in the browser they will always be opened in Spotify".

Udvidelsesskærmbilleder

screenshot

Download Open in Spotify desktop client-udvidelses-CRX-fil

Download Open in Spotify desktop client-udvidelsesfiler i crx-format, installer Chrome-udvidelser manuelt i browseren eller del crx-filer med venner for nemt at installere Chrome-udvidelser.

Brugsanvisning til Udvidelsen

                        Open Spotify link in client
===========================

This is a small simple extension that tries to open any
open.spotify.com or play.spotify.com url in the Spotify desktop client
instead of playing it using the Spotify web player. After opening
the desktop client it tries to close the newly opened browser window.

# How

The way the extension works is:

1. If the URL visited is open.spotify.com or play.spotify.com then
2. Don't do anything if the URL contains any of the following, else
   - `/embed/`: Embedded playlists
   - `/embed?`: Legacy embed playlist format
   - `/log/`: Requests to Spotify's analytics
3. Remove the protocol and domain part together with the first slash and
4. Replace those with `spotify:` and
5. Replace the remaining slashes (`/`) with colons (`:`) and
6. Redirect to that URL and
7. Close the tab that opened the URL if it was a newly opened tab

Available in the [Google Chrome web store][store-url]

# Changes
## 1.4.1
* Purely a technical implementation release, switched from using webpack,
  in the unreleased 1.4, to relying on [native ES6 modules in the extension.][es6-modules-extension]

[es6-modules-extension]: https://medium.com/front-end-weekly/es6-modules-in-chrome-extensions-an-introduction-313b3fce955b

## 1.4
* Don't touch analytics/log links and legacy embed links. 
  Thanks [@claui] for the PR.

[@claui]: https://github.com/claui 

## 1.3
* Don't touch embedded links, so that websites that embed a playlist
  can do so without having Spotify trying to open the link automatically.
  Thanks [@shape55] for reporting the issue.

[@shape55]: https://github.com/shape55
## 1.2
* Opens links to user's playlists properly. Thanks for the bug report Robin H.

[store-url]: https://chrome.google.com/webstore/detail/open-in-spotify-client/okkdbmdhpgmajopdpmflkldkemcldnjd                    

Grundlæggende oplysninger om udvidelsen

Navn Open in Spotify desktop client Open in Spotify desktop client
ID okkdbmdhpgmajopdpmflkldkemcldnjd
Officiel URL https://chromewebstore.google.com/detail/open-in-spotify-desktop-c/okkdbmdhpgmajopdpmflkldkemcldnjd
Beskrivelse Instead of opening open.spotify.com links in the browser they will always be opened in Spotify
Filstørrelse 4.4 KB
Antal Installationer 3,136
Nuværende Version 1.4.1
Senest Opdateret 2022-06-06
Udgivelsesdato 2018-06-06
Bedømmelse 3.81/5 Samlet 37 Bedømmelser
Udvikler gaqzi
E-mail [email protected]
Betalingsmetode free
Udvidelseswebsted https://github.com/gaqzi/chrome-open-in-spotify-client
Hjælpeside-URL https://github.com/gaqzi/chrome-open-in-spotify-client
Understøttede Sprog en
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "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",
    "permissions": [
        "tabs",
        "webRequest",
        "webRequestBlocking",
        "*:\/\/open.spotify.com\/",
        "*:\/\/play.spotify.com\/"
    ],
    "background": {
        "page": "chrome-background.html"
    }
}