Skip to content

Instantly share code, notes, and snippets.

@grant
Created October 1, 2014 04:13
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 grant/60628950bce5b57c7328 to your computer and use it in GitHub Desktop.
Save grant/60628950bce5b57c7328 to your computer and use it in GitHub Desktop.
Ello friender
setInterval(function () {
$('li:not(.friend--active) button[data-capture="friendClicked"]').click();
function doClick (el, time) {
setTimeout(function () {
el.click();
}, time);
}
$('li:not(.friend--active) button[data-capture="friendClicked"]').each(function(i){ doClick($(this), i * 500);});
setTimeout(function () {
$('.followers li').eq(0).find('a').eq(4).attr('href').click();
}, 300);
}, 500);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment