This app runs inside the BotSurf browser. Don't have it yet? Get the app or extension now!

Last.fm Web Scrobble History Chart

Social Media Tools · All
0 installs · Verified BotGentz app
Launch App
Opens in BotSurf — try it free, no account needed.
CategorySocial Media Tools
PlatformAll
Pricing Free
Installs0
Download BotSurf to use — free
No account needed for free apps. Once BotSurf is open, find this app in Apps from the + menu.

About this app

WHAT IT DOES

This tool visualizes your Last.fm scrobble history in a clean, interactive panel. It extracts artist names, track titles, album names, scrobble timestamps, and play counts from the page. The panel displays scrobbles as a scrollable list or compact view with time-based filtering (day, week, month, all). A bar chart shows daily listening trends over time, and top artists are displayed as tags with play counts. Summary statistics show total scrobbles, unique tracks, unique artists, and the current time range. Quick "Open" links let you navigate to artist or track pages on Last.fm with one click.

WHERE IT RUNS

The script activates on Last.fm pages (last.fm), including scrobble history pages, profile pages, and track listings. It automatically detects scrobble data using multiple extraction strategies that work across different Last.fm layouts. The panel appears as a draggable overlay that stays accessible as you browse your listening history.

HOW TO USE

Navigate to your Last.fm scrobble history page. The panel will appear showing your recent scrobbles. Use the time range dropdown to filter by day, week, month, or all time. Toggle between "List" and "Compact" view modes. The summary shows total scrobbles, unique tracks, and unique artists. The trend chart shows daily play counts for the selected time period. Top artists are displayed as clickable tags showing play counts. Click the "Open" button on any track to open its Last.fm page in a new tab. Set the "Refresh (s)" input via settings to control how often the script checks for updates (default 60 seconds). The "Refresh" button manually updates the data.

THE TECHNICAL MECHANISM

The script employs a multi-strategy DOM extraction approach for Last.fm's scrobble interface. It first attempts structured selectors targeting known class names like .scrobble-item, .chartlist-row, and .recent-track, then falls back to heuristic detection of scrobble containers based on content patterns including "plays", "scrobble", and "listened" indicators. Track extraction uses dedicated track elements or first non-numeric text lines. Artist extraction uses artist elements or "by [Artist]" patterns. Album extraction uses album elements when available. Play counts are extracted from text patterns like "X plays" or "X scrobbles", defaulting to 1 when not found. Timestamp extraction handles relative time patterns ("X minutes ago", "X hours ago", etc.) and converts them to Date objects. Time-based filtering uses Date comparison with day/week/month/all options. Daily trend aggregation groups scrobbles by date using ISO date strings and counts total plays per day. Top artist aggregation uses Object maps to sum play counts per artist. The chart format toggle controls whether full track details or compact track+artist views are displayed. All settings are persisted using GM_setValue.

THE PANEL

The panel is fully draggable by its header and remembers its position on the page across sessions. It can be collapsed to a small bubble using the minimize button, then restored by clicking the bubble. The panel resizes automatically to fit its content and can be closed with the Escape key or by clicking the close button. The panel's position and state persist globally, so it returns to the same location on subsequent visits.

PLEASE NOTE

Requires the free BotGentz extension to run. Last.fm may update its site structure, which could affect the script's ability to detect scrobble data — updates will be released as needed. All scrobble data is read from the page and displayed locally; nothing is transmitted externally. The script reads data from the visible page and does not access any data beyond what is visibly presented. The script does not modify your Last.fm account or scrobble history. Time-based filtering uses the timestamps displayed on the page and may not reflect the full history if the page doesn't contain older scrobbles. The script is for informational purposes only and is not affiliated with Last.fm.

Similar Apps

Log in to BotGentz

Suggest an App

Tell us what you'd find useful — if we build it, we'll email you the moment it's ready.