Skip to content

Instantly share code, notes, and snippets.

@cdtweb
Last active August 1, 2018 23:26
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 cdtweb/5088071923fce9d0abcf0892eac4a8a5 to your computer and use it in GitHub Desktop.
Save cdtweb/5088071923fce9d0abcf0892eac4a8a5 to your computer and use it in GitHub Desktop.
JS delete your tweets
// This may or may not work for you
// Browse to the 'tweets' page on your profile
// Copy & paste into the browser console and hit enter
// Interval set to 10s to hopefully avoid rate limiting
// You may need to prove you are not a robot
setInterval(function() {
// scroll to bottom of screen
window.scrollTo(0, document.body.scrollHeight);
// click all the delete buttons
$('li.js-actionDelete > button').each(function(e){
this.click();
// click the confirm delete button
$('button.delete-action').click();
});
}, 10000);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment