last.fm links to local lastfm

Last update on Jun 26, 2008

Replaces any "[www.]last.fm" link by the desired local "www.lastfm.xx" link


I made it because my company firewall blocks both last.fm and lastfm.fr so I needed a way to always point to another one (like .jp for instance).

It's made for modifying those links found everywhere else than inside lastfm, like forums and other blogs where people post their lastfm profile or chart link.

Maybe this can be usefull to someone so I upload it here.

I used some help from one of Naja's scripts.
This is my first userscript so if you see something incorrect or strange, don't refrain from commenting, thank you ! :)
Also, it is a very basic userscript (only replaces HREF) and I feel my code is overly complex for such a simple task. If you have some advice, you are welcome.


Works with Opera.
It should work with other browsers but I did not try it myself.




You could comment on this script if you were logged in.

0 comments Feed-icon