Clear up your LinkedIn feed
Here's my bookmarklet to remove various LinkedIn posts. Use Method 1 from Wikipedia on Bookmarklets to install.
javascript:(function(){let e=document.querySelectorAll('div.occludable-update');for(let i=0;i<e.length;i++){let s=e[i].querySelector('span.update-components-header__text-view');if(s){let t=s.textContent;if(t.includes('likes this')||t.includes('loves this')||t.includes('celebrates this')||t.includes('finds this')||t.includes('supports this'))e[i].remove()}}})();
Or maybe you can just drag binLikes to your browser's bookmarks on the toolbar.
Tap it when you're on LinkedIn. No guarantees that this will work for you. And I'm sure it will stop working sometime. But it works for me, right now.
My experience – I load up a page with my LinkedIn feed, hit the bookmark, and posts with those labels vanish. LinkedIn loads (loads) more, sometimes slowly, and often I tap the bookmarklet again. I'm left with adverts (naturally), posts from contacts, and posts my contacts have commented on.
I can inspect the LinkedIn page to identify a div
around a post, and a span
around the text that indicates this post I something I can't be bothered to look at. Bookmarklets and selectors are easy but fiddly to write. So as we're in 2025, this stared with a prompt, to Claude 3.7 Sonnet:
I want a bookmarklet that removes all <div>s with a class of "occludable-update", where a contained <span> with class "update-components-header__text-view" contains text "likes this"
Claude gave me options and minimised the simplest to go in a bookmarklet. A bit of fiddling from me (once I'd used it) to get rid of more, and we have it.
Claude gave me another option to keep running it for 60s throwing away newly-loaded qualifying posts. I'll put that below if it's useful to me without being too disruptive.
This is a response to this: Top of my feed: a post by an MP calling for "mass deportations".
Comments
Sign in or become a Workroom Productions member to read and leave comments.