Skip to content

Instantly share code, notes, and snippets.

@bragboy
Created August 30, 2016 13:23
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 bragboy/c4bb28dd5d116e3e9824f2bb0fb5125c to your computer and use it in GitHub Desktop.
Save bragboy/c4bb28dd5d116e3e9824f2bb0fb5125c to your computer and use it in GitHub Desktop.
var globalLoop = 0;
looper = function(){
if(globalLoop < 5){
setTimeout(function() { braga() }, 30000);
}
}
clicker = function(){
console.log("Time: "+(globalLoop+1));
$('i.svg-icon.icon-prop-outline-blue').click();
$('html, body').scrollTop( $(document).height() - $(window).height() );
globalLoop += 1;
looper();
}
clicker();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment