Ten Lines of Code to Block Ads From Linkedin
Posted3 months ago
github.comTechstory
calmpositive
Debate
0/100
Ad BlockingBrowser ExtensionsLinkedin
Key topics
Ad Blocking
Browser Extensions
Linkedin
A GitHub repository shares a simple JavaScript code snippet to block ads on LinkedIn, with minimal discussion on the post.
Snapshot generated from the HN discussion
Discussion Activity
Light discussionFirst comment
N/A
Peak period
1
Start
Avg / period
1
Key moments
- 01Story posted
Oct 11, 2025 at 5:02 PM EDT
3 months ago
Step 01 - 02First comment
Oct 11, 2025 at 5:02 PM EDT
0s after posting
Step 02 - 03Peak activity
1 comments in Start
Hottest window of the conversation
Step 03 - 04Latest activity
Oct 11, 2025 at 5:02 PM EDT
3 months ago
Step 04
Generating AI Summary...
Analyzing up to 500 comments to identify key contributors and discussion patterns
ID: 45552682Type: storyLast synced: 11/17/2025, 10:03:25 AM
Want the full context?
Jump to the original sources
Read the primary article or dive into the live Hacker News thread when you're ready.
In the end, i just went for busting the promoting content every 0.5s, which surprisingly seem to work out of the box (until it won't anymore with the next release). It just worked from the start in the console and I went down a rabbit hole with premature optimization being the root of all evil and all that (this is not AI-generated... I can assure you).
^1: it works with Chrome on my machine™ ^2: https://developer.chrome.com/blog/scrollend-a-new-javascript... ^3: https://developer.mozilla.org/en-US/docs/Web/API/Intersectio...