Skip to content

Instantly share code, notes, and snippets.

@mason-stewart
Created May 29, 2011 18:52
Show Gist options
  • Save mason-stewart/998038 to your computer and use it in GitHub Desktop.
Save mason-stewart/998038 to your computer and use it in GitHub Desktop.
Automatically show new tweets on Twitter.com
// Sometimes, when I'm in my office but not sitting at my computer, I want to glance over at new tweets
// in my feed at http://twitter.com. I find myself annoyed with having to click "Show X new tweets"
// button that pops up. Running this in the console solves my problem.
setInterval(function(){$("#new-tweets-bar").click()}, 5000);
@fabienengels
Copy link

It seems there is no more id on element, instead you have to use the class this way :
setInterval(function(){$(".new-tweets-bar").click()}, 5000);

@devonwaldon
Copy link

Nice! Thanks for the script :).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment