Skip to content

Instantly share code, notes, and snippets.

@brandondurham
Created February 7, 2014 21:02
Show Gist options
  • Save brandondurham/8871778 to your computer and use it in GitHub Desktop.
Save brandondurham/8871778 to your computer and use it in GitHub Desktop.
javascript:
__cnt__=0;
__buttons__=jQuery(".content-main .user-actions-follow-button");
__length__=__buttons__.length;
__interval__=setInterval(function () {
el=jQuery(__buttons__[__cnt__]);
if (__cnt__ === __length__) {
alert("All done!");
clearInterval(__interval__);
}
el.click();
__cnt__++;
}, 200);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment