Last.fm Bulk Edit is a browser userscript that enhances Last.fm's website functionality to enable bulk editing of scrobbles. It operates as a userscript that runs on Last.fm pages, adding a 'Bulk edit scrobbles' menu item to artist, album, and track pages. When activated, it fetches all scrobbles for the selected entity (handling pagination), groups them by album/album artist combinations, and presents an enhanced edit form that allows modifying multiple scrobbles simultaneously. The application also enhances Last.fm's automatic edits page with sorting and filtering capabilities, adds album names to scrobble overview pages, and creates timestamp links in scrobble listings. Built with TypeScript and webpack, it uses a modular architecture with separate features for different enhancements, a custom modal system for dialogs, and sophisticated retry logic for network requests.