Created
June 5, 2018 15:17
-
-
Save rahul286/ba6623ea68ac505fea55d30c9b166ffc to your computer and use it in GitHub Desktop.
LinkedIn Unfollow All
This file contains hidden or 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
# goto https://www.linkedin.com/feed/following/ | |
# in JS console run | |
var buttons = $("button"), | |
interval = setInterval(function(){ | |
var btn = $('.is-following'); | |
console.log("Clicking:", btn); | |
btn.click(); | |
if (buttons.length === 0) { | |
clearInterval(interval); | |
} | |
window.scrollTo(0,document.body.scrollHeight); | |
}, 100); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment