Skip to content

Instantly share code, notes, and snippets.



Last active Mar 27, 2018
What would you like to do?
Remove all Facebook apps at once. Blogpost:
// collect all links to remove the apps
var delete_links = document.querySelectorAll('#delete-link');
//click all collected links
for (var i = 0; i < delete_links.length; i++) {
//wait five seconds for the confirmation boxes to load
//and click all confirmation boxes to remove the apps
setTimeout(function() {
var confirm_links = document.querySelectorAll('.dialog_content [name=ok]');
for (var i = 0; i < delete_links.length; i++) {
}, 5000);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment