/Facebook-Housekeeping

Facebook Housekeeping - Script to delete / remove History Search in Facebook Activity Log

Primary LanguageJavaScriptMIT LicenseMIT

Facebook-Housekeeping



Demo

demo



Overview

It seems that Facebook doesn’t want users to delete all past activities on the platform. In fact, it is not possible to delete all your activity with a single click. So, the only way is to click manually on every activity of you to review and then delete it. Considering that most of us are active users on Facebook for several years, this process apparently will take days. However, there is a fast-track to delete your Facebook history.

This is going to be a series of scripts to delete your Facebook's Activity log. First, I just want to test each kind of Activity Log, and then compile all in just one script.

Scripts:

  • Facebook-Delete-ActivityLog-SearchHistory.js.
  • Next ....



Start script - For new Facebook layout:

  1. Sign in.
  2. Go to activity log.
  3. Refresh page.
  4. Open DevTool.
Press F12.
  1. Go to console.
  2. Paste all code from Facebook-Delete-ActivityLog-SearchHistory.js
  3. Clear console
CTRL + L
  1. In console:
deleteFacebookActivityLog_SearchHistory();
  1. Wait for the process to finish.



Stop/Cancel script

You can stop app by enter:

stop();

OR

Reload current page (Ctrl+R)



Troubleshooting

If there are no more objects to delete, the script ends after the set number of attemps.

If facebook stop loading content:

click filter > activity log > Search History

OR

refresh page.

NOTE: If you refresh page, the script will be removed. You must paste code again.



License

Licensed under the MIT license.