Yateendra A log of everyday life

How To Unfollow All Friends On Facebook At Once

Hello everyone! You automatically follow people who you’re friends with. If you want to Unfollow all friends at once, this trick will surely work for you. This trick works only on desktop view of Facebook.

Here are the steps to follow -

Step #1 From following navigation options select ‘News Feed Preferences’

Step #2 Select People under Feed Preference popup. Friends name will appear, scroll down to load all friend names. You are currently following all friends as you can see in picture -

Step #3 Right click mouse and select ‘Inspect element ‘ tool. Under this click on ‘Console’. Now paste following javascript code in it, and press Enter.

var inputs = document.getElementsByClassName('_42ft _4jy0 _4jy3 _517h _51sy'); 
for(var i=0; i<inputs.length;i++) 
  { 
  inputs[i].click(); 
  }

Step #4 Done ! all your friends will be Unfollowed within just a few seconds as you can see -

If you go through friend list and unfollow selectively it will take much more time, but if you you want to follow all friends again then repeat the same procedure it will take a few seconds. In similar way you can unfollow all groups and pages.

How it works?

Browser follows the given javascript’s for loop and clicks all the follow button which are having same class names.

Thanks! Hope you liked this post, share and make it reach more people !