Skip to content

Instantly share code, notes, and snippets.

@thehowl
Created February 11, 2022 11:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thehowl/ae503313776b9857ebe7941aedb30fb8 to your computer and use it in GitHub Desktop.
Save thehowl/ae503313776b9857ebe7941aedb30fb8 to your computer and use it in GitHub Desktop.
Script to unfollow people from last.fm when you have recovered your account after 5 years and in the meantime a followbot had taken over.
Array.from(document.querySelectorAll(".user-list-inner-wrap")).filter(x => x.querySelector(".user-follow") === null).forEach(x => x.querySelector('.follower-btn-following').click())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment