11

Is there any way to unfollow all my contacts on LinkedIn at once (without removing them)?

0

1 Answer 1

20

Go the page that shows who you are following (LinkedIn) and run this code in the browser's developer console. It will go and click the unfollow button for you.

It also scrolls down the page so that more profiles load.

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);
}, 1000);
3
  • 1
    linkedin.com/feed/following will be the page with all the people you are following
    – Sojan Jose
    Commented Nov 27, 2017 at 13:33
  • Cache bug! imgur.com/gallery/NLFPWea Commented Nov 16, 2018 at 23:21
  • I noticed that sometimes you have to go on the "followers" tab since there's a cache bug (the followers tab also shows people you follow). Also, the scroll-to-load breaks randomly, so I added window.scrollTo(0,0); to improve reliability. Commented Nov 17, 2018 at 12:55

Not the answer you're looking for? Browse other questions tagged or ask your own question.