Created
September 19, 2025 16:54
-
-
Save warrenseine/31f3e7cad7d4a859a2385b42b4553048 to your computer and use it in GitHub Desktop.
Open Spotify links in app
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Open Spotify links in app | |
// @namespace http://tampermonkey.net/ | |
// @version 2025-04-18 | |
// @description Open Spotify links in app | |
// @author Warren Seine | |
// @match https://open.spotify.com/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=spotify.com | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
window.open(`spotify://${document.location.href.replace('https://open.spotify.com/', '')}`) | |
window.close() | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment