Giter Club home page Giter Club logo

delete_scrobbles's Introduction

❌ Automatically delete scrobbles on Last.fm

Usage

Navigate to https://www.last.fm/user/YOUR_USERNAME/library and find the tracks you want to delete.

Open delete_scrobbles.js and replace DELETE_MATCHING with text that is contained in the scrobbles that you want to delete. For example, if you want to delete Radiohead scrobbles, do the following:

const DELETE_MATCHING = "Radiohead";

Then copy and past the script into your browser's JavaScript console.

To do

Turn this into a UserScript so you don't need to enter it via the JavaScript console.

delete_scrobbles's People

Contributors

alexdelorenzo avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

delete_scrobbles's Issues

Last.fm changed their front end, breaking `ALL_PAGES` setting

Setting ALL_PAGES to true doesn't work anymore.

In the past, Last.fm's Library feature was an SPA, and switching between pages happened in the same JavaScript session.

Now navigating pages results in reloading new pages when accessing them, which refreshes the JS session. This breaks ALL_PAGES.

Solutions can be using setValue() or something like localStorage or sessionStorage .

Or it can forgo running in the browser at all. This could be a simple script to automate using any scripting language and basic HTTP requests. Or it can use some kind of WebDriver a la Selenium or something else if Last.fm makes automation difficult.

Request: Ability to delete every item and automatically go onto next page

Hey, thanks for this, it's fantastic!

I was wondering if there's a way to select every track as I am currently just trying to purge my entire last.fm history. Also, I wanted to ask if there is some way this could auto refresh the page or move onto the next section of the list to be able to delete mass items automatically. This would really only be useful in my use case where I want to delete everything probably but it could be useful.

I tried to do the above things myself but I'm useless really. The refreshing may be possible using the secondary-nav-item--overview button but again I am useless.

Thank you in advance and no worries if you aren't able to do this or it's a waste of your time.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.