Skip to content

Instantly share code, notes, and snippets.

@hype08
Created January 8, 2020 22:15
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 hype08/5586c39ab10ffcd1b5ab8b848332b731 to your computer and use it in GitHub Desktop.
Save hype08/5586c39ab10ffcd1b5ab8b848332b731 to your computer and use it in GitHub Desktop.
instalike
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