Skip to content

Instantly share code, notes, and snippets.

@dongarchive
Last active June 25, 2018 22:09
Show Gist options
  • Save dongarchive/0608ad5607992a49a731f6dc90f03e8c to your computer and use it in GitHub Desktop.
Save dongarchive/0608ad5607992a49a731f6dc90f03e8c to your computer and use it in GitHub Desktop.
linkedin-unfollow
var buttons = $("button"),
interval = setInterval(function(){
var btn = $('.is-following');
console.log("Clicking:", btn);
btn.click();
if (buttons.length === 0) {
clearInterval(interval);
}
}, 1000);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment