Skip to content

Instantly share code, notes, and snippets.

@cshier
Created December 5, 2014 20:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cshier/2e33cf31a03da2b1dbdf to your computer and use it in GitHub Desktop.
Save cshier/2e33cf31a03da2b1dbdf to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body>
<script id="jsbin-javascript">
javascript: (function () {
window.open('https://play.google.com/music/listen#/sr/'+window.getSelection().toString().replace('/',''),'gpmsearch');
})();
</script>
<script id="jsbin-source-javascript" type="text/javascript">javascript: (function () {
window.open('https://play.google.com/music/listen#/sr/'+window.getSelection().toString().replace('/',''),'gpmsearch');
})();</script></body>
</html>
javascript: (function () {
window.open('https://play.google.com/music/listen#/sr/'+window.getSelection().toString().replace('/',''),'gpmsearch');
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment