Skip to content

Instantly share code, notes, and snippets.

@Way
Last active March 20, 2018 22:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Way/ece772f244d0075eba43de6ccb7129cd to your computer and use it in GitHub Desktop.
Save Way/ece772f244d0075eba43de6ccb7129cd to your computer and use it in GitHub Desktop.
Disconnect apps where you used facebook to login #deleteFacebook
// Go to https://www.facebook.com/settings?tab=applications and open Devtools > Console.
// run until you die...
setInterval(function(){
// find and click delete of the first app
document.getElementById('delete-icon').click()
// wait until the confirm modal pops up
setTimeout(function(){
// find and click the confirm button to delete the app
document.getElementsByClassName('uiButton')[1].children[0].click()
}, 1000)
}, 1000)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment