Total Pageviews

Wednesday, August 2, 2017

Bulk unfollow people on LinkedIn

If you are using chrome go the page that shows who you are following (LinkedIn) and run this code in the chrome developer console. It will go and click the unfollow button for you. I had to scroll down on the page first so all the profiles would load before I ran the script.
  1. var buttons = $("button"),
  2. interval = setInterval(function(){
  3. var btn = $('.is-following');
  4. console.log("Clicking:", btn);
  5. btn.click();
  6. if (buttons.length === 0) {
  7. clearInterval(interval);
  8. }
  9. }, 1000);