Last active
February 14, 2016 11:17
-
-
Save thealscott/9845518 to your computer and use it in GitHub Desktop.
Spotify URI generator bookmarklet
This file contains 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
javascript:{var%20pathArray=window.location.pathname.split('/');var%20newPathname="spotify";for(i=1;i<pathArray.length;i++){newPathname+=":";newPathname+=pathArray[i];}window.location.replace(newPathname);};void(0); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Updated this to automatically redirect rather than give you a copypasta prompt.