Skip to content

Instantly share code, notes, and snippets.

@fgnass
Created September 8, 2011 14:18
Show Gist options
  • Save fgnass/1203506 to your computer and use it in GitHub Desktop.
Save fgnass/1203506 to your computer and use it in GitHub Desktop.
Amazon-to-SoundCloud Bookmarklet
<html>
<body style="font:14px Helvetica Neue">
This bookmarklet converts all Amazon search links on a page into SoundCloud links. Useful when listening to <a href="http://byte.fm">byte.fm</a>.
<p>
To install, add this link to your bookmarks toolbar: <a href="javascript:for(var i=0,a;a=document.links[i++];a.href=(a.href||'').replace(/amazon.*rds=(.*?)&.*/,'soundcloud.com/search?q=$1'));">⤻☁</a>
</p>
</body>
</html>
@fgnass
Copy link
Author

fgnass commented Sep 8, 2011

To install the bookmarklet, view this Gist on bl.ocks.org.

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