Skip to content

Instantly share code, notes, and snippets.

@thealscott
Last active February 14, 2016 11:17
Show Gist options
  • Save thealscott/9845518 to your computer and use it in GitHub Desktop.
Save thealscott/9845518 to your computer and use it in GitHub Desktop.
Spotify URI generator bookmarklet
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);
@thealscott
Copy link
Author

Updated this to automatically redirect rather than give you a copypasta prompt.

@jellu2
Copy link

jellu2 commented Feb 14, 2016

how?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment