Last active
June 25, 2018 22:09
-
-
Save dongarchive/0608ad5607992a49a731f6dc90f03e8c to your computer and use it in GitHub Desktop.
linkedin-unfollow
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
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