NOTICE: Currently Stig's Last.fm Album Linkr might not be working for some running it via Greasemonkey on Firefox. It looks like it is a bug in recent version of Greasemonkey, and my current plan is to wait and see if Greasemonkey gets a quick update or some other smart work-around is found: github.com/greasemonkey/greasemonkey/issues/3035
- - -
The primary function of this script, is to add "album-headers" with album-links in Recent Tracks and Library Scrobbles lists on last.fm profiles. Besides that it's generally nice information to have on scrobbles, this can for example also be helpful if you want to find or upload album cover art-work, especially if it is a new or rare album not (yet) available on the artist's album-overview page on last.fm.
When two or more tracks from same "album" has been played successively, an album-header row will be inserted above.
The script also has two "bonus features":
"Linkifying" the "About Me" section on user profiles, so any URLs written on profiles becomes active links.
Optionally add an Album Collage from tapmusic.net to user profiles. This extra feature is somehow redundant to the possible "native" album collage further down on profile pages (Though users might here choose to have a list instead of a collage on their profile), so by default this script-feature is disabled. You can enable the 2x6 album collages via a configuration menu in your browser, as illustrated here in Google Chrome with Tampermonkey and in Firefox with Greasemonkey:
This script is primarily tested (daily use) with Firefox/Greasemonkey (including Greasemonkey 4 on Firefox 57+), but quick tests with Chrome/Tampermonkey, Edge/Tampermonkey and Opera/Violentmonkey also looks fine. Also it has only been tested on the English last.fm site. Please, do let me know if it doesn't work on some of the localized lastfm.* sites.