In this article I will show you how to automatically unfollow all of your friends, at once and without installing any plugin.
Whatever the reason could be, in this way you will have the cleanest News feed timeline possible.
Free your mind from the clutter. Offline life is better.
Disclaimers
Disclaimer: It is needed a simple and short script which you should want to understand before running it, because it has the power to mess up with your Facebook account.
Disclaimer: Follow the steps at your own risk. I am not responsible for what your are doing. Are you?
Getting Started
There are three simple steps in between you and the clarity of your Facebook News feed. There is a short script involved, which you will copy and paste into the console of the Developer tools of your browser (Firefox, Chrome) while navigating into the News feed preferences.
In Short, what you will be doing:
- Get the script.
- Go to the News feed preferences.
- Run the script within the browser.
1. Get the script
Copy in your clipboard the code of the most recent version of the script from github, or try your luck with this one:
var doActions = [];
var pleaseUnfollowFriendsPlease = function () {
var unfollowFriend = function(idx) {
if (idx < doActions.length) {
doActions[idx].style.border = "thick solid red";
doActions[idx].click();
console.log('task:', idx+1, 'of', doActions.length);
setTimeout(unfollowFriend, 600, idx+1);
} else {
clearTimeout();
console.log('DONE. Go live your offline life.');
}
};
var idx=0;
[...document.querySelectorAll('div[class~="uiScrollableArea"] div[data-testid="profile_grid_block_picture"]')].forEach( (a) => { doActions[idx++] = a; });
unfollowFriend(0);
}
2. Go to the News feed preferences
-
Click account settings in the top right corner of any Facebook page (example: your home page).
- Select News Feed Preferences from the menu.
-
Click on Unfollow people and groups to hide their posts.
- Select Friends from the top left dropdown menu.
- Scroll down entirely until all of your friends are visible in the thumbnail.
3. Run the script within the browser
- Press
F12
to open the Developer tools window (Firefox, Chrome). - Select Console.
- Read the security concerns message that the Facebook developers left for you.
- Paste the script into the prompt of the console
- Type
pleaseUnfollowFriendsPlease()
, hit return, and wait until it’s done. - Click on
Done
.
Bonus
You know that time you’ve installed the Facebook app on your mobile phone? Well, all of your phone contacts got uploaded and stored forever online, somewhere. Respect the privacy of your contacts, and remove them from there!
- Go to https://www.facebook.com/mobile/facebook/contacts/
- Follow the steps to remove them all.
If this article was useful to you, please share it using your favorite way for doing it! If you have suggestions of improvement or you’ve found something wrong, please let me know!