Skip to content

Instantly share code, notes, and snippets.

@banterability
Last active August 29, 2015 14:13
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 banterability/0ac52fdde9deb9c41282 to your computer and use it in GitHub Desktop.
Save banterability/0ac52fdde9deb9c41282 to your computer and use it in GitHub Desktop.
A terrible js loop to run in console to delete all your tweets
// Run from twitter.com/<yourusername>
// this will (duh) delete all your tweets. don't be dumb.
var deleteLoop;
deleteLoop = setInterval(function(){
var deleteButton = $('.js-actionDelete button');
if(deleteButton.length < 1){
clearInterval(deleteLoop);
alert('No more things to delete');
} else {
deleteButton[0].click();
setTimeout(function(){
$('.delete-action').click();
}, 500);
}
}, 1200);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment