Extra caution is recommended when installing recently uploaded/updated scripts (read more)
Be sure you trust any scripts you install
Last.fm - Percentage
Display percentage statistics on user profile
This script is configurable. Edit the script with your favorit editor, and go to the line that says /* CONFIGURATION HERE */. The two variables below works as this: ndecimals is the number of decimal you want to see. Default is 1. percentage_treshold is the lowest percentage you want to see. Default is 0.5%.
Did this script help you? Please donate, but don't feel forced to :) 
2007-03-22 1.2 * Meh, forget to fix somethings. * The percentage wont overflow the bar now. 2007-03-22 1.1 * Pulled myself together and fixed this one * Added two variables for configuration: * ndecimals: this is the number of decimals shown. change this to -1 if you don't want to round the numbers at all. that would be probably be stupid. * percentage_treshold: this is the smallest percentage you want shown. change this to 0 if you want all percentages to show, no matter how small 2005-08-14 1.0
You could comment on this script if you were logged in.


login to vote
doesn't show track titles for me, have a couple of other last.fm userscripts installed though.
login to vote
I think a neat addition to this script would be separate percentages for the weekly charts, so that it shows a percentage of only the total tracks played in the date range that the chart is in.
I realize this might be a little weird to code, but it's just an idea. Thanks for the great script, and M Lenzen, I like that you added support for smaller percentages.
login to vote
If anyone's intereset I posted my changes here:
http://userscripts.org/scripts/show/2365
login to vote
Oh yea, the script is great btw.
login to vote
I found that whole percentages weren't detailed enough for me, if anybody else is interested, so I changed the percentage line to:
var percentage = Math.round((played / tracksplayed) * 1000) / 10;
and changed the cutoff to .1%
login to vote
Cool, though sometimes the percentages don't fit into the dark gray bar. Take a look at the 1 % artists in the "overall" listing here: http://www.last.fm/user/Malesca/
login to vote
Nice one.