Created
August 10, 2018 08:42
-
-
Save dandyraka/8bcf5172e95decd493c857ae8bac02a1 to your computer and use it in GitHub Desktop.
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
var mybtn = document.getElementsByClassName('_42ft _4jy0 _4jy3 _517h _51sy'); | |
var i = 0; | |
var timer = setInterval(function() { | |
if( i < mybtn.length) { | |
mybtn[i].click(); | |
console.log("Click handler for button " + i + " fired"); | |
} else { | |
clearInterval(timer); | |
} | |
i = i + 1; | |
}, 5000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment