Comments on Mirton's Scripts
20 comments
| Comment on Last Fm Artist with user Compatibility made Oct 6, 2008: | |
|
avg |
you don't have to credit me, and i'll help recode some more this weekend |
| Comment on Last Fm Artist with user Compatibility made Oct 6, 2008: | |
|
Mirton |
UPDATE 2:
This is only for artists for now. For albums it still takes the users from the Top listeners section on the album's page. |
| Comment on Last Fm Artist with user Compatibility made Oct 6, 2008: | |
|
Mirton |
Thanks a lot :)
Where would you like me to put acknowledgments? Description here? or as a comment in the code :) |
| Comment on Last Fm Artist with user Compatibility made Oct 6, 2008: | |
|
avg |
hey, i recoded a bunch of your script. check it out here. tell me if you like it or not and update so ican delete it. changes:
|
| Comment on Last Fm Artist with user Compatibility made Oct 5, 2008: | |
|
Mirton |
Thanks for the suggestions :) I changed the xpath query. The problem with the styles was that I wasn't adding all the CSS elements. It works now :) Yeah, the regex is a good idea, I used an ugly method to cast the return value from parseCompat into an integer, I multiplied it by 1 :P I added a comment with thanks and a link to your userscripst.org profile page :) |
| Comment on Last Fm Artist with user Compatibility made Oct 5, 2008: | |
|
avg |
and your xpath can be better:
now, instead of doing:
you can do:
|
| Comment on Last Fm Artist with user Compatibility made Oct 5, 2008: | |
|
avg |
as for your style issue, perhaps the styles need to be I did it for you, see if it works with this new css string:
|
| Comment on Last Fm Artist with user Compatibility made Oct 5, 2008: | |
|
avg |
hey nice script, 1 suggestion: for your parseCompat function, this might be better:
This also returns a number type instead of a string, so you can legally do math. |
| Comment on Last Fm Artist with user Compatibility made Oct 5, 2008: | |
|
Mirton |
UPDATE:
I did this for two reasons:
|
| Comment on Last Fm Artist with user Compatibility made Oct 5, 2008: | |
|
Mirton |
I added the percentege and the color compatibility bar which spans based on percentage.
http://img100.imageshack.us/img100/7616/tasteba... ( borrowed the percentage idea not code from Last.fm Compatibility Percentage by iriebob :) ) I also added compatibility check for albums, but now I can't seem to add the compatibility bar there :S |
| Comment on Last Fm Artist with user Compatibility made Oct 4, 2008: | |
|
Mirton |
Right you are :P. I changed the range to be *.6
|
| Comment on Last Fm Artist with user Compatibility made Oct 3, 2008: | |
|
paulthedog |
A little mistake... localized sites will be |
| Comment on Last Fm Artist with user Compatibility made Oct 3, 2008: | |
|
Mirton |
Thanks for pointing it out. Forgot about it. Its now fixed. I'm wondering to what values should I set the ranges.
|
| Comment on Last Fm Artist with user Compatibility made Oct 3, 2008: | |
|
paulthedog |
Fix compatibility with regional versions of last.fm
|
| Comment on Glumbert Add removal made May 27, 2008: | |
|
Mirton |
Now it also removes the LiveVideo Add on the right. |
| Comment on IMDB message board filter (WIP) made Nov 7, 2007: | |
|
markula |
sounds good |
| Comment on Pajacyk made Sep 6, 2007: | |
|
Mirton |
Link to the description of this charity. |
| Comment on Pajacyk made Sep 4, 2007: | |
|
Mirton |
anyone know how to delete Firefox cookies in javascript? That way I could modify the code to make as much as 3-4 clicks a day, so as not to raise any suspicion. We dont want them seeing 30 click an hour from the same IP ;) |
| Comment on Glumbert Add removal made May 31, 2007: | |
|
Mirton |
The Add is back again, so I updated the source. It should remove the add on the right. |
| Comment on Glumbert Add removal made May 21, 2007: | |
|
Mirton |
Looks like they removed the add so there is no need for this script :)
|
