mass-unfollow-linkedin-connections

mass-unfollow-linkedin-connections

mass-unfollow-linkedin-connections

 

1) open https://www.linkedin.com/feed/following/

2) right click on this page click on inspect 

3) then go to console and paste code given below 

4) then clear console 

5) then paste code given below

(() => {
  let count = 0;
  function getAllButtons() {
    return document.querySelectorAll('button.is-following') || [];
  }
  async function unfollowAll() {
    const buttons = getAllButtons();

    for (let button of buttons) {
      count = count + 1;

      const name = button.parentElement.querySelector(
        '.follows-recommendation-card__name',
      ).innerText;
      console.log(`Unfollow #${count}:`, name);

      window.scrollTo(0, button.offsetTop - 260);
      button.click();

      await new Promise((resolve) => setTimeout(resolve, 100));
    }
  }
  async function run() {
    await unfollowAll();
    window.scrollTo(0, document.body.scrollHeight);
    await new Promise((resolve) => setTimeout(resolve, 1000));
    const buttons = getAllButtons();
    if (buttons.length) run();
  }
  run();
})();

 

let us know any kind of code or tool we will help you for the same 

Let's Get Connected

It's time to put an end to your woes! Consult with industry veterans from Pvsys Group. Get in touch with our highly experienced team of professionals to discuss your next project.

ChatBot