Skip to content

Instantly share code, notes, and snippets.

@Samuell1
Created February 8, 2025 21:18
Show Gist options
  • Save Samuell1/d488da4de0ea0b52a27f91e7adad49a9 to your computer and use it in GitHub Desktop.
Save Samuell1/d488da4de0ea0b52a27f91e7adad49a9 to your computer and use it in GitHub Desktop.
instagram stories liker
let likes = 0;
let autoLike = setInterval(() => {
const heart = document.querySelector('svg[aria-label="Like"]');
const arrow = document.querySelector('svg[aria-label="Next"]');
if (heart) {
window.scrollTo(0, document.body.scrollHeight);
heart.parentNode.click();
likes++;
console.log(`You've liked ${likes} post(s)`);
}
if (arrow) {
arrow.parentElement.click();
}
}, Math.random()*(5000-1000+1)+10);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment