Some Greasemonkey scripts for Last.fm

OK, I just took the time to try Greasemonkey, and it’s cool as I expected. I started fiddling whith some scripts downloaded at the -well made- central greasemonkey scripts repository, and made the following:

  1. Last.fm with Google
  2. Last.fm with Amazon
  3. Last.fm with Allmusic
  4. Last.fm titles with Google
  5. Last.fm titles with Allmusic

You may download them on userscripts.org.

I’m quite happy with them now (though Amazon clutters the charts a tad too much IMHO).

Many thanks to kepp for his help in tracking the glitches & providing solutions.

14 thoughts on “Some Greasemonkey scripts for Last.fm

  1. Right. Ideally, I’d like to have the image of the blue G of the Google logo. Meanwhile, you can easily edit the file yourself and change line 68 like this:

    newLink.appendChild(document.createTextNode("(Google)"));

    to

    newLink.appendChild(document.createTextNode("(G)"));

  2. Great contribution! Thanks, I have copied and pasted these artist names to google very long time. I also made tiny modifications to adapt this script to my habbits (quotes for artist name, and open link in new tab) + one minor bug fix (url encoding for symbols like & and maybe couple of more).
    Maybe someone finds it useful, so I try to copy these lines now, but I don’t know how does it work here.

    newLink.setAttribute(“href”, “http://www.google” + localeTLD + “/search?q=\”” + escape(artistName) + “\””);
    newLink.setAttribute(“target”, “_blank”);

Leave a Reply

Your email address will not be published. Required fields are marked *