Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>Download Last.fm playlist as csv</title>
</head>
<body>
  <h1>Download Last.fm playlist bookmarklet</h1>
<ul>
  <li>Drag link to your Bookmarks toolbar</li>
  <li>Open your last.fm play listk</li>
  <li>Click on bookmarklet in Bookmarks toolbar</li>
  <li>Tested in Chrome and Firefox</li>
</ul>
  <p></p>
<a id="codeOut" href="javascript:(function(){var csv='',link,div;jQuery(&quot;#thePlaylist tr&quot;).each(function(i,e){if(i>0){var as=jQuery(&quot;a&quot;,jQuery(&quot;td&quot;,e)[2]).each(function(j,el){csv=csv+'&quot;'+el.innerHTML+'&quot;;&quot;'+el.href+'&quot;';if(j===0){csv=csv+';';}});csv=csv+&quot;\n&quot;;}});link=document.createElement(&quot;A&quot;);link.href='data:text/plain;charset=utf-8,'+encodeURIComponent(csv);link.download=&quot;playlist.csv&quot;;link.innerHTML='DOWNLOAD';jQuery(link).css({&quot;position&quot;:&quot;absolute&quot;,&quot;top&quot;:&quot;50%&quot;,&quot;left&quot;:&quot;50%&quot;,&quot;background&quot;:&quot;blue&quot;,&quot;color&quot;:&quot;white&quot;,&quot;z-index&quot;:1000,&quot;padding&quot;:&quot;10px&quot;});div=document.createElement(&quot;DIV&quot;);jQuery(div).css({&quot;position&quot;:&quot;absolute&quot;,&quot;top&quot;:0,&quot;bottom&quot;:0,&quot;left&quot;:0,&quot;right&quot;:0,&quot;background&quot;:&quot;rgba(0, 0, 0, 0.6)&quot;}).append(link);jQuery(&quot;body&quot;).append(div);})();">Download Last.fm play list</a>
</body>
</html>
Output 300px

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers