Skip to content

Instantly share code, notes, and snippets.

@yashodhank
Last active December 20, 2015 16:50
Show Gist options
  • Select an option

  • Save yashodhank/7021e93c481acf9cd0d6 to your computer and use it in GitHub Desktop.

Select an option

Save yashodhank/7021e93c481acf9cd0d6 to your computer and use it in GitHub Desktop.
This script automates one by one deletion of Facebook Posts for any number of years using iMacros Plugin for Firefox / Chrome
VERSION BUILD=8881205 RECORDER=FX
TAB T=1
SET !ERRORIGNORE YES
URL GOTO=https://www.facebook.com/yashodhan.kulkarni/allactivity?privacy_source=activity_log&log_filter=cluster_11
WAIT SECONDS=5
URL GOTO=javascript:window.scrollBy(0,80000)
TAG POS=1 TYPE=A ATTR=aria-label:"Allowed on Timeline"
TAG POS=2 TYPE=SPAN ATTR=TXT:Delete
WAIT SECONDS=1
TAG POS=1 TYPE=BUTTON FORM=class:_s ATTR=TXT:Delete<SP>Post
WAIT SECONDS=2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment