
Open in Spotify desktop client
大小:4.4KiB版本:v 1.4.1更新时间:2021-12-21
Instead of opening open.spotify.com links in the browser they will always be opened in Spotify
Open in Spotify desktop client 的使用方法详解,最全面的教程
Open in Spotify desktop client 描述:
用户数:2000
分类:生产工具插件
扩展大小:4.4 KiB
最后更新时间:2021-12-21
版本:v 1.4.1
Open in Spotify desktop client 插件简介:
这是来自Chrome商店的 Open in Spotify desktop client 浏览器插件,您可以在当前页面下载它的最新版本安装文件,并安装在Chrome、Edge等浏览器上。
Open in Spotify desktop client插件下载方法/流程:
点击下载按钮,关注“扩展迷Extfans”公众号并获取验证码,在网页弹窗中输入验证码,即可下载最新安装文件。
Open in Spotify desktop client插件安装教程/方法:
(1)将扩展迷上下载的安装包文件(.zip)解压为文件夹,其中类型为“crx”的文件就是接下来需要用到的安装文件
(2) 从设置->更多工具->扩展程序 打开扩展程序页面,或者地址栏输入 Chrome://extensions/ 按下回车打开扩展程序页面
(3) 打开扩展程序页面的“开发者模式”
(4) 将crx文件拖拽到扩展程序页面,
完成安装如有其它安装问题,
请扫描网站底部二维码与客服联系如有疑问请参考:
https://www.extfans.com/installation/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