If you're an avid Facebook user, you've probably saved countless posts, videos, and links to revisit later. But sometimes, these saved posts accumulate and become overwhelming. You may decide to unsave them all at once rather than manually unchecking each one, especially if you've amassed a large collection. Here's a step-by-step guide to bulk unsaving all your saved items on Facebook.
Warning:
Before proceeding, note that this method will unsave all the displayed items on the page permanently. Once unsaved, the items will no longer appear in your saved list. There’s no way to retrieve them unless you manually save each post again. Please use this method with caution.
Also, You might need to use allow pasting
and hit the Enter key if Facebook warns you before applying any JavaScript commands in the console.
Step-by-Step Guide
Step 1: Scroll Through Your Saved Items
- Head over to your Facebook saved items section. This can be accessed by clicking the saved section on the left-hand side of the homepage on the desktop version.
- Scroll down to load and display all the saved items that you want to unsave. Facebook only loads a few items at a time as you scroll, so ensure you've loaded everything you wish to unsave.
Step 2: Open the Developer Console
To start the bulk unsaving process, you’ll need to use your browser’s developer console. Here’s how to do that:
- On Google Chrome: Press
Ctrl + Shift + J
(Windows) orCmd + Option + J
(Mac) to open the console. - On Firefox: Press
Ctrl + Shift + K
(Windows) orCmd + Option + K
(Mac).
Once the console is open, you can start running the necessary JavaScript commands.
Step 3: Open the Context Menu for Each Item
You’ll first need to open the contextual menu (the three dots beside each saved post) for every item on the page. This is where Facebook allows you to unsave individual posts.
Copy and paste the following command into the console and press Enter:
Array.from(document.querySelector('[role=main]').querySelectorAll('[aria-label="More"]')).slice(1).map(e => e.click())
This command finds all the “More” buttons on the page and opens the contextual menu for each saved item.
Step 4: Unsave Each Item
Once the contextual menus have been opened for each saved post, it’s time to bulk unsave them. For that, run the following command in the console:
Array.from(document.querySelectorAll('[role=menuitem]')).map(e => e.click())
This command clicks on the "Unsave" option in every contextual menu that has been opened, removing the items from your saved list.
Important Reminder:
All the items that are displayed on the page will be unsaved permanently. Ensure that you’ve reviewed the items before proceeding with this method.
Final Thoughts
This method saves you the hassle of manually unsaving items one by one. Just remember to scroll through and load all the saved items before running the script to ensure nothing is left behind. Also, since this method affects only the currently displayed items, you may need to scroll and repeat the process if you have a lot of saved posts.
By following these steps, you can easily declutter your Facebook saved items and keep only what truly matters!
You can follow me on GitHub, LinkedIn, YouTube for getting more content like this. Also, my website is always available for you!
Cover: Photo by Nghia Nguyen on Unsplash
Top comments (0)