I find the LinkedIn feed incredibly distracting. I feel I have to use it for networking, but all the feeds and ads take away my attention and- oh look, a video about cats! click. As I was saying. As a recovering workaholic myself, the last thing I need is more distractions and more information.

I’ve wasted a lot of time watching and clicking on completely unrelated stuff on the LinkedIn feed. I wonder how much it is costing companies in terms of lost time and productivity. Probably lots.

Unfortunately, the only plugin available to hide the LinkedIn feed doesn’t seem to work in 2017, so like the computer scientist I am, I decided to knock one up myself.

Here’s how to remove the LinkedIn Feed in 4 easy steps:

1) Install Custom Javascript for Websites plugin (or similar): Chrome: Custom Javascript for Websites Chrome Plugin Firefox: jsinjector Extension Safari: quickscript Extension Internet Explorer: (Can’t find an IE extension. Wait, why are you using IE?!)

2) Go to www.linkedin.com

3) If you’re using Chrome, click the cjs plugin button in the top-right (or whichever custom javascript injector plugin you use).

Then paste this snippet of code in - see below:

function hideLinkedInFeed() {
    var lifiElems=document.getElementsByClassName("occludable-update");
    if(lifiElems.length > 0) {
        for(var i=0; i<lifiElems.length; i++) { lifiElems[i].innerHTML='<div style="height:500px;" />'; };
    }
    var ads=document.getElementsByClassName("ad-banner-container");
    if(ads.length > 0) {
        for(var i=0; i<ads.length; i++) { ads[i].innerHTML = ''; }
    }
    window.setTimeout(hideLifiElems, 500);
}

hideLinkedInFeed();

4) Click Save in CJS.

And voila, no more LinkedIn feed or distracting ads!

Has this article helped you feel more focused at work? If so, why not share article this on Twitter? Or LinkedIn- oh, wait.

Click to Tweet: How to remove the noisy LinkedIn Feed: https://ctt.ec/2Ki2H+

At least Twitter gives you more control over what you see in the feed (though I also remove their feed too, because it’s not enough control for me personally).

And it goes without saying, all opinions expressed here are my own.

This is how the LinkedIn feed should look (see below). Ahh, that’s much better.

If you find any bugs with the code snippet, please contact me. It’s available under MIT license, just credit me if you use it.