|
Script Summary:
Highlights artists that you listen to on other users' profiles. |
this script has 1 topic, 14 posts |
This script has no reviews. |
*Works with latest (July update) Last.fm layout.*
On other users' profiles, this script highlights artists in their Overall Top Artists lists that you listen to also. The CSS code used to 'highlight' these artists is easily customizeable through the JavaScript.
*Known Issues:*
- Will only work on profiles which have the Top Weekly Artists chart (i.e. all active profiles).
- Only retrives data from your top 50 artists (so it doesn't include artists you rarely listen to).
If you find any other bugs, or have any problems, please "send me a message via Last.fm":http://www.last.fm/inbox/composepm.php?to=Isca_Riot&submi
Thanks to "XERiON":http://www.last.fm/user/XERiON/ for advice on making this script compatible with other custom CSS styling. Also to "iten":http://www.last.fm/user/iten/ who fixed the script for the old site layout, which I have now merged to make it compatible with the new site.
*How to Modify the Style:*
In the Firefox menu, go _Tools_ > _Manage User Scripts..._ Choose _Last.fm - Highlight Same Artists_ from the list, and then click the _Edit_ button. This should open the JavaScript in a text editor. Near the top of the JavaScript you should see this line:
*var style = "font-weight: bold;";*
The part within the quotation marks (" and ") is the CSS Style - edit this to whatever you want. For example, _color: red;_ or _color: #FF0000;_ will make the highlighted artists displayed in red colour rather than bold. To learn more about CSS, visit "HTML Dog":http://www.htmldog.com/ , which has beginner guides to and detailed references for CSS.
Note: There is also an "alternative version":http://userscripts.org/scripts/show/4813 by "Joel Armstrong":http://userscripts.org/people/8177, if you prefer. :)





