Dear All,
If you’ve been looking to tidy up your Facebook feed by unfollowing multiple people or pages at once, I’ve got a quick and effective solution for you. With just a simple script, you can streamline your news feed and focus on the content that matters most to you.
Steps to Unfollow on Facebook:
Open Facebook in Chrome: Make sure you're using the Chrome browser and are logged into your Facebook account.
Access News Feed Preferences:
- Click on the drop-down menu (usually found in the top right corner of the Facebook interface).
- Go to Settings & Privacy and select News Feed Preferences.
Select People or Pages:
- Click on People or Pages to see your list of followed accounts.
- Scroll down (or click See More) until your entire list is loaded.
Open the Browser Console:
- Press F12 on your keyboard to open the Developer Tools.
- Switch to the Console tab.
Run the Script:
Copy and paste the following script into the console and press Enter:
var unfollowButtons = document.querySelectorAll('div[aria-pressed="false"]'); unfollowed = 0; for(var i=0;i<unfollowButtons.length;i++) { setTimeout(function(element){ element.click(); unfollowed ++; console.log('Total unfollowed ' + unfollowed + ' out of ' + unfollowButtons.length) }, i*2000, unfollowButtons[i]) }
or
var unfollowButtons = document.querySelectorAll('div[aria-pressed="false"]'); unfollowed = 0; for(var i=0;i<unfollowButtons.length;i++) { setTimeout(function(element){ element.click(); unfollowed ++; console.log('Total unfollowed ' + unfollowed + ' out of ' + unfollowButtons.length) }, i*2000, unfollowButtons[i]) }
6. Monitor the Process:
- The script will start clicking on the unfollow buttons automatically. You can monitor the progress in the console where it will log the total number of unfollowed accounts.
Important Notes:
- Use with Caution: This script automates the unfollow process, so use it responsibly. Make sure you really want to unfollow these accounts as it might be hard to reverse the action quickly.
- Refresh: If you encounter any issues or need to start over, you can always refresh the page and rerun the script.
Feel free to share this tip with your friends if you found it helpful! If you have any questions or run into any issues, drop a comment below. Happy unfollowing!