frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ten Lines of Code to Block Ads from LinkedIn

https://github.com/revuedepresse/whatever-may-or-may-not-work/blob/main/whatever-may-or-may-not-happen.js
1•thierrymarianne•2h ago

Comments

thierrymarianne•2h ago
I've even learned a thing or two that I'd like to share since they went against my initial intuition: - I thought relying on the `scrollend` event ^2 would work to clean up the viewport... and it didn't (for some reason, the listener was periodically removed, quite annoying and I assume it could be to prevent memory leaks). - Same thing when (trying to) use the intersection observer API ^3, which can actually be used to measure how long elements have been made visible to a user like ads for example or most likely I just didn't understand how it could be done . However it incidentally allowed me to pinpoint with the debugger some function belonging to a minified lib using itself the intersection observer API when my own customization failed (not so gracefully) via the error stacktrace.

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...

Meta Superintelligence's surprising first paper

https://paddedinputs.substack.com/p/meta-superintelligences-surprising
1•skadamat•1m ago•0 comments

Bitcoin Whale Shorted $1.1B Right Before Tariffs

https://cryptonews.com/news/early-bitcoin-whale-shorted-1-1b-right-before-tariffs-now-up-27m-how-...
1•somewhatrandom9•5m ago•0 comments

You can use almost anything as a key file for encrypted storage device (2024)

https://ounapuu.ee/posts/2024/11/20/keyfiles/
1•sipofwater•7m ago•1 comments

22% Jump in Electricity Rates Dominates New Jersey Governor's Race

https://www.nytimes.com/2025/10/09/business/new-jersey-electricity-prices-governor-election.html
5•JumpCrisscross•7m ago•2 comments

Kalshi hits $5B valuation

https://techcrunch.com/2025/10/10/kalshi-hits-5b-valuation-days-after-rival-polymarket-gets-2b-ny...
2•JumpCrisscross•9m ago•0 comments

Apple says goodbye to the Clips app

https://techcrunch.com/2025/10/11/apple-says-goodbye-to-the-clips-app/
1•JumpCrisscross•9m ago•0 comments

Show HN: I built a local-first timeboxing app that never leaves your computer

https://focusbox.dev/
1•akarnam37•10m ago•0 comments

Show HN: Scout – micro-game teaser for a map-based cycling RPG

https://ridewithgps.com/scout
1•zackham•10m ago•1 comments

US moves to cancel one of the largest solar farms

https://www.ft.com/content/7a3cd922-88ed-4188-86ab-ba09fbe24d42
3•doener•11m ago•0 comments

Geoblocking Multiple Localities with Nginx

https://aphyr.com/posts/395-geoblocking-multiple-localities-with-nginx
1•sulami•11m ago•0 comments

We Found a Hidden Camera in the Bathroom of Our Airbnb

https://www.nytimes.com/2025/10/09/travel/airbnb-refund-camera-bathroom.html
1•danso•12m ago•1 comments

Metascience Since 2012: A Personal History

https://goodscience.substack.com/p/metascience-since-2012-a-personal
1•AcesoUnderGlass•14m ago•0 comments

What will it take to get to net-zero emissions in California?

https://www.sciencedirect.com/science/article/pii/S0301421525003556
1•PaulHoule•16m ago•0 comments

CamoLeak: Critical GitHub Copilot Vulnerability Leaks Private Source Code

https://www.legitsecurity.com/blog/camoleak-critical-github-copilot-vulnerability-leaks-private-s...
1•greyadept•18m ago•0 comments

At this rate, the price of gold could soar to $10K per ounce in just 3 years

https://fortune.com/2025/10/11/gold-price-outlook-10000-debasement-trade-dedollarization/
1•teleforce•19m ago•0 comments

The Scale Issue

https://spectrum.ieee.org/special-reports/scale/
1•rbanffy•20m ago•0 comments

Show HN: Minichessgames.com

https://minichessgames.com/
1•patrickdavey•21m ago•0 comments

IBM Ships Homegrown "Spyre" Accelerators, Embraces Anthropic for AI Push

https://www.nextplatform.com/2025/10/10/ibm-ships-homegrown-spyre-accelerators-embraces-anthropic...
2•rbanffy•21m ago•0 comments

Show HN: Build websites with AI, no coding required

https://instantsite.app
1•emanuilv•22m ago•1 comments

How close are we to solid state batteries for electric vehicles?

https://knowablemagazine.org/content/article/technology/2025/next-gen-car-batteries-get-closer-to...
1•rbanffy•27m ago•0 comments

All-in-One Church Management System for Smaller Churches

2•rcullins•28m ago•1 comments

How This Chinese Startup Is Crushing Dyson's Empire [video]

https://www.youtube.com/watch?v=p9aGvX917bg
1•thelastgallon•31m ago•0 comments

Heroin Addicts Often Seem Normal

https://justismills.substack.com/p/heroin-addicts-often-seem-normal
4•surprisetalk•33m ago•1 comments

Moving Compute Intensive Lambdas from AWS to Vercel

https://www.moneyonfire.com/resources/aws-vercel
1•LambdaAndLatte•33m ago•0 comments

Intersections Are Changing the Roads Forever [video]

https://www.youtube.com/watch?v=SFtDqUVHH6o
1•surprisetalk•33m ago•0 comments

Amplituhedra and Origami

https://arxiv.org/abs/2410.09574
1•westurner•46m ago•0 comments

Diane Keaton, Oscar-Winning 'Annie Hall' Star, Dies at 79

https://variety.com/2025/film/news/diane-keaton-dead-annie-hall-1236546710/
2•timr•50m ago•0 comments

Arab states deepened military ties with Israel while denouncing Gaza war

https://www.icij.org/news/2025/10/arab-states-deepened-military-ties-with-israel-while-denouncing...
4•wslh•52m ago•1 comments

Tools Amplify Culture – Platform Engineering

https://platformengineering.org/blog/tools-amplify-culture-the-real-key-to-developer-productivity
1•gaurav324•53m ago•0 comments

Recent Node.js Features That Replace Popular NPM Packages

https://nodesource.com/blog/nodejs-features-replacing-npm-packages
2•jakub_g•54m ago•0 comments