Search
  • Julian Newman

Focus your LinkedIn on prospects: How to get only targeted notifications

Updated: Jun 29, 2020



If you’re like me and have tons of random people as contacts on LinkedIn, the main problem you run into is that you’re missing posts by your clients and key prospects.

Here’s an example of an opportunity you might be missing:

  1. A prospect posts about an important milestone for their company.

  2. You email the prospect about this milestone.

  3. You start a conversation that leads to a sale.

The solution isn’t to delete contacts but rather to bulk unfollow the ones that aren't relevant right now. And what is unfollowing? Unfollowing means that you stay connected but don't get any newsfeed stories or notifications about that contact.


After unfollowing everyone, you can then refocus your attention on important people; follow only your clients and prospects.



How to bulk unfollow on LinkedIn

This solution is slightly technical but anyone can do it by following these steps.


Step 1: Visit this page: linkedin.com/feed/following.

Step 2: Open Developer Tools in Chrome, and right-click on → Inspect. Switch to the console tab.

Step 3: Paste the below text into the console and press enter.

You will need to reload the page and repeat the process a few times until the Following Count reaches zero.


  1. function isHidden(el) {

  2. if(el) return (el.offsetParent === null);

  3. else return false;

  4. }

  5. TotalUnfollowed = 0;

  6. var LoadingAnimation = document.getElementsByClassName("initial-load-animation")[0];

  7. var CatchLoadingAnimation = setInterval(function(){

  8. if(isHidden(LoadingAnimation) == true) {

  9. clearInterval(CatchLoadingAnimation);

  10. /* START: RUN AFTER PAGE LOAD COMPLETE */

  11. /* SHOW STATUS AND CONFIRMATION ELEMENT */

  12. var LiUnfollow = document.createElement("div");

  13. LiUnfollow.id = "LiUnfollow";

  14. LiUnfollow.innerHTML = "<div style=\"color: aliceblue; background-color: #005E93; border-bottom: 1px solid #ced0d4; padding: 7.5px; text-align: center;\">LinkedIn Unfollower</div><div name=\"Confirmation\"><div style=\"font-size: 14px; color: #4b4f56; text-align: center; margin: 7.5px; display: block; cursor: default;\">Ready To Unfollow Everyone?</div><div style=\"background-color: #005E93; border-top: 1px solid #ced0d4; padding: 7.5px;\"><button type=\"button\" name=\"Continue\" style=\"background-color: #f6f7f9; color: #4b4f56; border: 1px solid #ced0d4; padding: 0 8px; line-height: 27.5px; font-weight: normal; font-family: -apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 14px; \">Yes</button><button type=\"button\" name=\"Close\" style=\"background-color: #f6f7f9; color: #4b4f56; border: 1px solid #ced0d4; padding: 0 8px; line-height: 27.5px; font-weight: normal; font-family: -apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 14px; margin-left: 7.5px;\">No</button></div></div><div name=\"Status\" style=\"display: none;\"><div style=\"font-size: 14px; color: #4b4f56; margin: 7.5px; display: block; cursor: default;\"><div name=\"Message\" style=\"display: none;\">Unfollowed Successfully!</div>Total Unfollowed: <span name=\"TotalUnfollowed\">0</span></div><div style=\"background-color: #005E93; border-top: 1px solid #ced0d4; padding: 7.5px;\"><button type=\"button\" name=\"Stop\" style=\"background-color: #f6f7f9; color: #4b4f56; border: 1px solid #ced0d4; padding: 0 8px; line-height: 27.5px; font-weight: normal; font-family: -apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 14px;\">Stop</button></div></div>";

  15. LiUnfollow.style = "width: 300px; height: auto; background: #f6f7f9; z-index: 9999999999; position: fixed; top: calc(50% - 100px); right: calc(50% - 150px); border: 1px solid #ced0d4; border-radius: 2px; font-family: -apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: medium; font-weight: normal;";

  16. document.body.appendChild(LiUnfollow);

  17. /* ONCLICK EVENTS */

  18. /* NO BUTTON */

  19. if(document.querySelectorAll("#LiUnfollow [name=Close]")[0]) document.querySelectorAll("#LiUnfollow [name=Close]")[0].onclick = function() {

  20. document.querySelectorAll("#LiUnfollow")[0].outerHTML = "";

  21. };

  22. /* YES BUTTON */

  23. if(document.querySelectorAll("#LiUnfollow [name=Continue]")[0]) document.querySelectorAll("#LiUnfollow [name=Continue]")[0].onclick = function() {

  24. document.querySelectorAll("#LiUnfollow [name=Confirmation]")[0].style.display = "none";

  25. document.querySelectorAll("#LiUnfollow [name=Status]")[0].style.display = "block";

  26. UnfollowFunction = setInterval(function() {

  27. var UnfollowButton = document.querySelectorAll("ul > li [data-control-name=\"actor_follow_toggle\"].is-following");

  28. for(var i = UnfollowButton.length - 1; i>=0; i--) {

  29. TotalUnfollowed++;

  30. UnfollowButton[i].click();

  31. document.querySelectorAll("#LiUnfollow [name=TotalUnfollowed]")[0].innerHTML = Number(document.querySelectorAll("#LiUnfollow [name=TotalUnfollowed]")[0].innerHTML) + 1;

  32. }

  33. }, 1000);

  34. ScrollToBottom = setInterval(function() {

  35. window.scrollBy(0, 12.5);

  36. }, 15);

  37. function CheckPageEnd(LastHeight) {

  38. var CurrentHeight = document.body.scrollHeight;

  39. if(!(CurrentHeight > LastHeight)) {

  40. clearInterval(ScrollToBottom);

  41. clearInterval(UnfollowFunction);

  42. document.querySelectorAll("#LiUnfollow [name=Message]")[0].style.display = "block";

  43. document.querySelectorAll("#LiUnfollow [name=Stop]")[0].innerHTML = "Close";

  44. } else setTimeout(function() {

  45. CheckPageEnd(CurrentHeight);

  46. }, 7.5*1000);

  47. }

  48. CheckPageEnd(0);

  49. }

  50. /* STOP BUTTON */

  51. if(document.querySelectorAll("#LiUnfollow [name=Stop]")[0]) document.querySelectorAll("#LiUnfollow [name=Stop]")[0].onclick = function() {

  52. clearInterval(ScrollToBottom);

  53. clearInterval(UnfollowFunction);

  54. document.querySelectorAll("#LiUnfollow")[0].outerHTML = "";

  55. };

  56. /* END: RUN AFTER PAGE LOAD COMPLETE */

  57. }

  58. }, 1000);


After this, go back to your LinkedIn and search for contacts that work with or could work with your company. On their profiles, click on → More, then click → Follow. Now you'll only see posts by people that truly interest you.


70 views0 comments