Skip to content

Instantly share code, notes, and snippets.

@dougblackjr
Created March 26, 2018 13:15
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 dougblackjr/e7aed45583accd7c6a500af5cf4f13e1 to your computer and use it in GitHub Desktop.
Save dougblackjr/e7aed45583accd7c6a500af5cf4f13e1 to your computer and use it in GitHub Desktop.
Unfavorite All tweets

WHY

If you're like me, you favorite a ton of tweets. Employers can go through and see those, and you may not want that.

RUN

Navigate to your favorites page on your profile: https://twitter.com/i/likes

Open your JS console.

Run this code.

Let it sit for a long time.

setInterval(function() {
$('html, body').animate(
{
scrollTop: $(document).height()-$(window).height()
}
);
$('.ProfileTweet-actionButtonUndo').click();
}, 1000);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment