Created
May 29, 2011 18:52
-
-
Save mason-stewart/998038 to your computer and use it in GitHub Desktop.
Automatically show new tweets on Twitter.com
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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); |
Nice! Thanks for the script :).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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);