Last active
July 23, 2019 07:23
-
-
Save icodesign/b98c30dd94a930bca192b5691415f219 to your computer and use it in GitHub Desktop.
iTunes Connect TestFlight Auto Scroll
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
function help() { | |
var count = 0; | |
var total = 40; | |
var id = setInterval(scroll, 10000); | |
scroll(); | |
function scroll() { | |
console.log("scrolling to bottom: " + count); | |
if (count === total) { | |
clearInterval(id); | |
} else { | |
count++; | |
$('.tf_body').animate({scrollTop: document.querySelector(".tf_body").scrollHeight},"fast"); | |
} | |
} | |
} | |
help(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment