Created
October 23, 2011 17:34
-
-
Save Intrepidd/1307618 to your computer and use it in GitHub Desktop.
Facebook delete all apps, quite uggly.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Assuming you have Jquerified the page | |
// http://www.learningjquery.com/2009/04/better-stronger-safer-jquerify-bookmarklet | |
function deleteApp(tab, index) { | |
tab[index].click(); | |
setTimeout(function() { | |
$jq("input[name=remove]").click(); | |
setTimeout(function() { | |
$jq("input[name=ok]").click(); | |
if (tab[index + 1]) { | |
deleteApp(tab, index + 1); | |
} | |
}, 2000); | |
}, 2000); | |
} | |
deleteApp($jq(".fbApplicationsList li .fbSettingsListItemDelete input"), 0); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment