Last.fm Original Tag Chart

Restores the "subway map" chart on new Last.fm report pages

目前為 2025-01-10 提交的版本,檢視 最新版本

作者
Nathan Blume
評價
0 0 0
版本
1.8.3
建立日期
2024-01-20
更新日期
2025-01-10
尺寸
21.8 KB
授權條款
MIT
腳本執行於

Description

This userscript runs on Last.fm report pages dated 2023 and newer and restores the "subway map" or "noodle" tag timeline chart for weekly, monthly, and yearly reports. It does not run on the bright legacy pages (pre-2023) since these still display the original chart.*

Technical Details

The chart is built using d3 v4 and a hand-made recreation of the original SVG chart layout. The original charts are made using highcharts, but I was unable to find a way to utilize that engine in the browser. I think d3 was able to reproduce it adequately. It also utilizes jquery, jquery-address, and wait-for-key-elements.

Note

*As of January 2025, pre-2023 pages no longer display a Tag Timeline chart. If this turns out to be a permanent change I'll restore those charts in future versions of this script. There is also an issue with content overlapping on the 2023 yearly chart, a unique page. If that doesn't get fixed officially it'll also get fixed by an update to this script.