Instead of opening open.spotify.com links in the browser they will always be opened in Spotify
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
Latest reviews
- (2023-04-19) Lukáš Zahradník: This is awesome.
- (2023-04-11) Александр Дружинин: Only that works!
- (2023-02-14) C: Works beautifully for me on Windows. Thanks for a solution to an annoying problem
- (2022-06-20) perunas86: not working
- (2021-09-11) Gwen Kortus: this is way to compliceted for my small brain it might work for other people but what is a FQND part of an URL? lost.
- (2021-01-22) Cyan Thayn: Great when it works, but sometimes it incorrectly thinks other links are Spotify links and just stops those pages from loading.
- (2020-07-27) Peter Maziak: Once I disabled this app then links started opening in Spotify. At least on Chrome/MacOS in 2020.
- (2020-06-24) Nils Ingvarsson: Sorry, but it didn't work. After installing, the browser won't even open the ordinary link. So it just made things even worse than before... Uninstalling.
- (2020-03-25) Curtis Powell: great app
- (2020-02-18) There's Always Another Way: does what it says it does, thanks!
- (2019-11-23) lollilol: It doesnt work for me, because i have to click "open in spotify" in the popup, but it disappears before i can do that. I dont know if the extension author can change that, is there maybe a fix? (Typing spotify: in the adressbar and clicking on "Open Spotify" doesnt work for me, i will get asked that again when i want to open another link)
- (2019-10-11) Konstantin Knaab-Hinrichs: recently Chrome has a popup for the user to accept forwardings to another app on the computer. The extension closes the page before we can accept this for all future links.
- (2018-11-30) Ross Topol: Great extension but you have to do a little hack to get it work on MacOS. If the extension appears to do nothing for you, type spotify: in the browser and hit Enter. Tick the box to allow Chrome to always open Spotify without asking. Finally, click Open Spotify to confirm. Should work after you do that.
- (2018-09-03) Berg Lloyd-Haig: Didn't work for me in Linux, need to click a confirmation box but can't because the newtab disappears before hand.
- (2018-07-20) Sam Friedman: Works, but doesn't close the tab afterwards.
- (2018-02-28) red9350: Still working in 2018 as of now
- (2017-11-30) Chris Liu: This was a good app, but is rendered obsolete with the Spotify client's own hooks.
- (2017-09-14) Haven: This was S**T it just takes you to the place that you added it
- (2017-05-29) default user: geez, thanks!
- (2017-03-05) Neil Angelo: It does not work.
- (2016-12-21) Hyen Tech: HOLY **** IT ACTUALLY WORKS
- (2016-12-05) Doesn't work (on Mac)
- (2015-12-09) Dominic Peters: Works for me. Wish it could also bring the desktop client to the foreground after opening the link.
- (2015-12-06) Andre Felippa: Not working... new tab disappears too fast
- (2015-11-18) Nicolas B.: This addon works perfectly. Great job! :)
- (2015-09-04) Joacim Svensson: Doesn't work
- (2014-07-11) Eric Hobbs: This is a great solution to a problem that shouldn't exist, Spotify should behave like this by default if you aren't logged into the web player.
Statistics
Installs
2,000
history
Category
Rating
3.8108 (37 votes)
Last update / version
2022-06-06 / 1.4.1
Listing languages
en