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

Latest Version

Version
1.4.1
Update
June 6, 2022
Size
4.4KiB
Developer
Category
Users
2,000+
Rating
3.81081 ★
Manifest Version
2
Web Store Status
Languages Support
English
See more
Permissions
Tabs
WebRequest
WebRequestBlocking
*://open.spotify.com/
*://play.spotify.com/
See more

Open in Spotify desktop client Extension

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
Read more

Source 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" }}
Read more

Similar Extensions

icon

Spotify Player Extension · Productivity 2,000+ 117 ★ 1.36MiB

icon

Open Spotify Desktop Extension · Accessibility 2,000+ 38 ★ 61.51KiB

icon

Open Spotify Desktop App Extension · Productivity 2,000+ 12 ★ 8.13KiB

icon

Spotify on Chrome: A mini Spotify player Extension · Fun 2,000+ 7 ★ 788KiB

icon

SpotiPlonk Extension · Productivity 2,000+ 5 ★ 18.87KiB

icon

Auto open in the Spotify app Extension · Productivity 2,000+ 5 ★ 41.94KiB

icon

Spotty Web Remote Control Extension · Fun 2,000+ 34 ★ 184KiB

icon

Redirect for Spotify Extension · Accessibility 2,000+ 8 ★ 5.78KiB

icon

Paradify - Youtube to Spotify Extension · Productivity 2,000+ 40 ★ 723KiB

icon

App for SMP Extension · Fun 2,000+ 66 ★ 38.48KiB

icon

Spotify New Releases Extension · Productivity 2,000+ 10 ★ 119KiB

icon

Spotify Launcher Extension · Productivity 2,000+ 4 ★ 439KiB

icon

Spotify Web Watcher Extension · Social & Communication 2,000+ 0 ★ 1.95MiB

icon

Click&listen for Spotify Extension · Productivity 2,000+ 7 ★ 233KiB

icon

Extension Player for Spotify Extension · Productivity 2,000+ 11 ★ 24.39KiB

icon

Webplayer Hotkeys - Shortcuts for web players Extension · Productivity 2,000+ 17 ★ 52.04KiB

icon

Playify Extension · Productivity 2,000+ 23 ★ 247KiB

icon

SpotifyTree Extension · Fun 2,000+ 38 ★ 122KiB

icon

Shuffify Controller Extension · Social & Communication 2,000+ 10 ★ 23.42KiB

icon

Spotify Web Now Playing Extension · Accessibility 2,000+ 0 ★ 17.12KiB

icon

Spotube - Youtube to Spotify extension Extension · Social & Communication 2,000+ 14 ★ 27.43KiB

icon

Spotless Extension · Productivity 2,000+ 53 ★ 421KiB

icon

Nice Playlist Generator Extension · Fun 2,000+ 28 ★ 33.84KiB

icon

Youtube on Spotify Extension · Fun 2,000+ 1 ★ 713KiB

User reviews

icon

Lukáš Zahradník (ID: 00000081c8ebb22f) Voted 5 ★ - Updated 04/19/2023 This is awesome.

icon

Александр Дружинин (ID: 000000728f31fffa) Voted 5 ★ - Updated 04/11/2023 Only that works!

icon

C (ID: 0000003a0768b86f) Voted 5 ★ - Updated 02/14/2023 Works beautifully for me on Windows. Thanks for a solution to an annoying problem

icon

perunas86 (ID: 00000009f50e5824) Voted 1 ★ - Updated 06/20/2022 not working

icon

Gwen Kortus (ID: 0000004cf2065813) Voted 3 ★ - Updated 09/11/2021 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.