Skip to content

Instantly share code, notes, and snippets.

@aspirez4
Forked from renestalder/README.md
Created September 30, 2019 09:15
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 aspirez4/9498906aecc449956af4f076f294b224 to your computer and use it in GitHub Desktop.
Save aspirez4/9498906aecc449956af4f076f294b224 to your computer and use it in GitHub Desktop.
Unfollow all on Facebook

Facebook: Unfollow people and pages

  1. Open news feed preferences on your Facebook menu (browser)
  2. Click people or pages
  3. Scroll down (or click see more) until your full list is loaded
  4. Run the script in your browser console

Facebook will block this feature for you while you use it, depending on how much entities you try to unfollow. It automatically unblocks in a couple of hours and you will be able to continue.

var unfollowButtons = document.querySelectorAll('[data-followed="1"]'); for(var i=0;i<unfollowButtons.length;i++){ unfollowButtons[i].click(); } alert(unfollowButtons.length+' people are now unfollowed! ');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment