Last active
March 21, 2020 18:32
-
-
Save sharat94/79c0d2170b4224fde6f507b9d612210c to your computer and use it in GitHub Desktop.
The Right Swiper
This file contains 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 confirmBox = confirm('Start swiping right?'); | |
var count = 1; | |
var like = function(){ | |
if (confirmBox){ | |
document.querySelector('[aria-label="Like"]').click(); | |
console.log('Liked ' + count); count++; | |
setTimeout(like, 2000); | |
}}; | |
setTimeout(like, 2000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment