Created
January 8, 2020 22:15
-
-
Save hype08/5586c39ab10ffcd1b5ab8b848332b731 to your computer and use it in GitHub Desktop.
instalike
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
let likesGiven = 0; | |
setInterval(() => { | |
let like = document.querySelector('article span.glyphsSpriteHeart__outline__24__grey_9'), | |
arrow = document.querySelector('a.coreSpriteRightPaginationArrow'); | |
if (like) { | |
like.click(); | |
likesGiven++ | |
} | |
arrow.click(); | |
console.log(`You've liked ${likesGiven} post(s)!`); | |
}, 100000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment