Bring back the old Last.fm » Discussions

Greasemonkey script for weekly charts on profile pages

 
    • tutal33t a dit :...
    • Utilisateur
    • 11 août 2008, 13h17m

    Greasemonkey script for weekly charts on profile pages

    Hey guys,

    I felt like coding a bit today and got started on a small greasemonkey script to display the weekly snapshot charts on user profiles, 'cause it really was bugging me and there didn't seem to be anything like it (strange though).

    I read here that a lot of people seem to feel the same, so here it is:
    http://userscripts.org/scripts/show/31560

    If you don't know what greasemonkey is, it's a firefox extensions to run user specified javascript on pages you want to, it's pretty much like the stylish extension for javascript:
    https://addons.mozilla.org/de/firefox/addon/748


    I know the code's pretty dirty and static, and I'm not even sure if it will work everywhere, there might be some language versions which don't because last.fm pages seem to have some extra code depending on which url you visit through.
    To be safe, visit through last.fm or lastfm.de.

    It works for sure with the standard last.fm style, the one I did (http://userstyles.org/styles/9510), but most probably with every style available.



    Feel free to tell me how you like it, if you spot an error or got any suggestions whatsoever.

    • Auras666 a dit :...
    • Utilisateur
    • 11 août 2008, 14h20m
    Thanks a lot for the weekly charts script!

    But I have a problem with the re-structered last.fm
    http://img3.imagebanana.com/img/ayic7vmr/Zuschneiden.jpg

    The recently heard tracks frame is not correct...

    could you help me?

    • greenwatch a dit :...
    • Utilisateur
    • 11 août 2008, 14h43m
    Beautiful! Thanks a million!!

    • tutal33t a dit :...
    • Utilisateur
    • 11 août 2008, 15h40m
    Auras666:

    That happens because you're using firefox 2, I'd suggest you upgrade to version 3 in the near future. :o

    If you can't (or don't feel like upgrading) I put up a version with fx2 fixes a few minutes ago: http://userstyles.org/styles/9534
    Didn't test it much though.

    • Auras666 a dit :...
    • Utilisateur
    • 11 août 2008, 15h45m
    Thank you, works now.

  • I use standart red last.fm and this script seems to do nothing at all on my page or my friends' pages. but it does show weekly charts on your page! what am I doing wrong?

    Modifié par WiHHi_Z3_PuX le 11 août 2008, 20h34m
    • tutal33t a dit :...
    • Utilisateur
    • 11 août 2008, 16h49m
    WiHHi_Z3_PuX: Oh wow, sorry, that's a real stupid mistake on my part. Forgot that last.fm usernames could have _s in them. Thanks for the feedback, fixed it in the new version.

  • now it is working and it is very, very good!

  • I think everyone on this site wants to know about this, but they don't know yet. Maybe the topic should be named "Weekly charts" in large friendly letters? It makes last.fm so much better!

    • tutal33t a dit :...
    • Utilisateur
    • 12 août 2008, 14h39m
    fyi: version 0.2 is out, adding tabs to switch between artists, tracks and albums.

    • Neoclipse a dit :...
    • Utilisateur
    • 17 août 2008, 12h26m
    Awesome work, both this script and your stylish theme! Thanks!

    People who strongly believe that they were penguins in another life!!

    A group for all the mighty Penguins out there!
  • is there a way to post weekly charts info in "about me" section so everyone could see?

    • maysiefers a dit :...
    • Utilisateur
    • 5 sept. 2008, 11h00m
    i love you man <3 THANK YOUUU!

    you made my day this is what i missed about last fm that made it exciting!

    • psichopate a dit :...
    • Utilisateur
    • 23 sept. 2008, 23h40m
    Awesome! Thank you, that was something I really missed from old style last.fm <33

    ^"^ the sound of her wings
    • Snorfle a dit :...
    • Abonné
    • 7 oct. 2008, 7h53m
    very nice, thanks

    • dhespfft a dit :...
    • Utilisateur
    • 9 oct. 2008, 18h02m
    finally gave in and switched from safari to firefox and installed this!
    thank you!

    Bring back the OLD
    • Vairee a dit :...
    • Utilisateur
    • 19 oct. 2008, 19h07m
    thank you so much! my weeklies are finally back :D

    • djukela a dit :...
    • Utilisateur
    • 20 oct. 2008, 22h55m
    thanx man,great!!!

    • iokangel a dit :...
    • Utilisateur
    • 17 fév. 2009, 22h46m
    This is so great! I loved having my weekly top artists. :)

    EDIT:
    I didn't know if you were aware of the overlapping text problem on the forums, so I thought I'd let you know.

    http://img213.imageshack.us/img213/5822/overtextbv8.png

    Additionally, on my friends, profile, etc pages there is just like, a huge screen full space of just grey at the bottom.

    This is still way better than the real last.fm. =P

    • a dit :...
    • Utilisateur
    • 20 fév. 2009, 16h57m
    thank you :)

  • it is not working anymore.

    • a dit :...
    • Utilisateur
    • 15 juin 2009, 17h16m
    they should bring it back...

    • hippiedrow a dit :...
    • Utilisateur
    • 18 juin 2009, 22h36m
    Wow, this is great. To be honest, when I installed this script, I was skeptical, as most of these scripts are dysfunctional. But this really works. It looks great as well.

    I put a link to the script on my profile page. Well done!

    this frozen earth of greats relative to true desire for notes and, it is which they stood still maintenance including but not limited to potatoes and carrots and other wonderful vegetables of root. we to search for forever harvest of quality during years, but nourishment and protection from the ashes of hunger, it give us. harvest O kind-hearted, to be blessed and could, it no not similarly on to correspondence and to triumph, it was which necessary to contemplate, but stoic of valor grounded into frozen earth of old.
    • Adthey a dit :...
    • Utilisateur
    • 30 nov. 2009, 16h52m
    Great!

Les utilisateurs anonymes ne peuvent pas poster de messages. Merci de vous connecter ou de créer un compte pour pouvoir intervenir dans les forums.