Skip to content

Instantly share code, notes, and snippets.

@plexus
Created February 3, 2013 11:51
Show Gist options
  • Save plexus/4701485 to your computer and use it in GitHub Desktop.
Save plexus/4701485 to your computer and use it in GitHub Desktop.
// Revoke / delete all Facebook apps that have access to your account.
// 1. Log in to FB
// 2. go to https://www.facebook.com/settings?tab=applications
// 3. Open javascript console (in Chrome : Ctrl-Shift-J / ALT-⌘-J)
// 4. Paste this snippet
function deleteApps($$) {
$$('input[title="Remove"]')[0].click()
setTimeout( function() {
$$('input[name=delete_app_actions]')[0].click()
$$('input[name=ok]')[0].click()
}, 500 )
setTimeout( function() {
deleteApps($$)
}, 750)
}
deleteAll($$)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment