Skip to content

Instantly share code, notes, and snippets.

@jonleopard
Created June 21, 2018 12:36
Show Gist options
  • Select an option

  • Save jonleopard/60cee8c1371299a7779e6704572b23e3 to your computer and use it in GitHub Desktop.

Select an option

Save jonleopard/60cee8c1371299a7779e6704572b23e3 to your computer and use it in GitHub Desktop.
Twitter Like Delete
// For Broski
// Log into Twitter on the web
// open your Developer Console e.g. Developer -> Developer Tools -> Console
// and paste in this code:
var cnt=1;
var interval = setInterval(clearFavs, 1500);
function clearFavs() {
cnt+=1;
window.scrollTo(0,document.body.scrollHeight);
if (cnt>5) {
clearInterval(interval);
$('.ProfileTweet-actionButtonUndo.ProfileTweet-action--unfavorite').click();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment