Skip to content

Instantly share code, notes, and snippets.

@vmandic
Created February 1, 2017 17:09
Show Gist options
  • Save vmandic/cd070e8cc72b15ebb82a11b3201f6dee to your computer and use it in GitHub Desktop.
Save vmandic/cd070e8cc72b15ebb82a11b3201f6dee to your computer and use it in GitHub Desktop.
Autolikes loaded instagram post from the browser dev tools.
document.querySelectorAll("span.coreSpriteHeartOpen").forEach(function(h, i){
setTimeout(function(){h.click()}, (i*1000)+Math.random()*4000)
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment