Skip to content

Instantly share code, notes, and snippets.

@rahul286
Created June 5, 2018 15:17
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save rahul286/ba6623ea68ac505fea55d30c9b166ffc to your computer and use it in GitHub Desktop.
Save rahul286/ba6623ea68ac505fea55d30c9b166ffc to your computer and use it in GitHub Desktop.
LinkedIn Unfollow All
# 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