Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Something cool for the kids on the street...
function(index, value) { var el = $(this); var alpha = Math.floor((Math.random() * 8) + 3); setTimeout(function() { el.trigger('click'); }, (index * alpha) * 2500); });
/* Alternatively, you might try (index + alpha) * 1000 for a more natural sequence */

This comment has been minimized.

Copy link

KarimJedda commented Sep 4, 2015

Here, maybe you'll find this interesting:
setInterval(function(){$('.bt-request-buffed').click();$('html, body').animate({ scrollTop: $('#footer').offset().top - 500 }, 'slow');},5000);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.