frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

How I block all online ads

https://troubled.engineer/posts/no-ads/
82•StrLght•3h ago

Comments

mikestew•1h ago
HN title optimizer has once again stripped the “How” from the beginning of the title.
efilife•53m ago
what's the point of this?
DaveZale•1h ago
Brave browser helps a lot. I can't use some browsers due to the ad clutter. Some can handle the ads, some can't.
redrix•57m ago
Brave is great, but I just wish it wasn’t Chromium based.

It’s always been ironic to me that a Privacy browser is dependent on source code primarily controlled by a company that derives the majority of its revenue from ads… exactly what the browser itself was spun off to shield its users against.

keithnz•1h ago
basically, ublock origin on PC, tends to work well, I don't really see ads except for when the content creator plugs a product directly in their content.
Nextgrid•1h ago
SponsorBlock works really well against this.
keithnz•1h ago
I just installed this, looks good on the few videos I've tried!
Nextgrid•1h ago
Glad to hear your entertainment journey will now be free of cheap Chinese earpods, VPNs, website builders and meal kit boxes.
avhon1•1h ago
and if you find a video that hasn't had the ads tagged yet, the UI for it is pretty easy to figure out.
entropie•1h ago
AdGuard Extra (beta) browser extension blocks twitch adds very reliable.
tensor•1h ago
Whoa, if you use a VPN eventually instagram will stop showing you ads?!?! Is that really true? Has anyone else found this?
rovr138•1h ago
Not a vpn, but use a known public cloud IP address through a vpn (but you could set a socks proxy, etc).
lousken•1h ago
Also make sure to block ads on your mobile as well https://www.bleepingcomputer.com/news/security/predator-spyw...
beloch•1h ago
There's nothing too unexpected in this post. Firefox + uBlock is pretty much standard now. It's been impossible to recommend Chrome ever since Google moved to manifest v3, which can only be described as deliberate anti-privacy enshittification. The recaptcha solver is starting to become niche, since cloudflare has really taken over (for better or worse).

I would add one more useful tool though: A user-agent switcher[1]. There are still some websites that insist you must use Chrome (or sometimes Edge). They will block you if you try to use them with Firefox, even though they work perfectly well and sometimes even better on Firefox than they do on Chrome. A user-agent switcher gives you the option to simply uninstall Chrome for good.

e.g. My ISP provides a website for streaming live TV (e.g. sports) that claims to be incompatible with Firefox, but actually runs better (i.e. fewer glitches) on it than it does on Chrome. However, it refuses to load on Firefox unless you use a user-agent switcher.

Why do people write websites that refuse to run based on user-agent checks? By all means, warn users that you couldn't be arsed to test things on more than one browser, but why go that extra mile to brick your site when other browsers probably support it quite well?

[1]https://addons.mozilla.org/en-CA/firefox/addon/user-agent-st...

giancarlostoro•1h ago
I don't use adblock, I just close a website if its ads interrupt my browsing experience.
kgwxd•9m ago
How do you remember not to click all the links that have them in the future?
Larrikin•1h ago
I prefer poisoning my ad profile instead of passively blocking with Ad Nauseum https://adnauseam.io/ . It uses Ublock origin under the hood. I've got my click rate set to high but not 100%.
pluc•1h ago
It's a shame the web has become so predatory to neophytes.
OptionOfT•1h ago
Some applications tunnel in their ads over non-ad domains, making them unlockable.

For example IMDb. And proxying over mitmproxy actually breaks the whole app, because they do certificate pinning.

subscribed•42m ago
I think Space Weather started to do it too. I was fine with small ads ad the bottom but suddenly its two huge (full screen), unskippable ads.

AdGuard's log shows nondescript servers and suddenly a lot of IPv6 connections and then ads :(

donkey_brains•1h ago
This seems like a lot of work. I just point my router at AdGuard DNS and that takes care of all ads on every device on my network. No filter lists, nothing to host, completely free.

Only caveat is it doesn’t block ads served by the content provider itself e.g. some streaming services, but from what I hear those are difficult to block with any approach.

keithnz•24m ago
as per the response to my comment, try SponsorBlock
coffeecoders•1h ago
I have an Apple TV and I’ve been running iSponsorBlockTV [1] on my Synology box for a while. It auto-skips the sponsored segments and with Youtube premium, it gives me a clean, ad-free setup.

I can’t stand those in-video intros or sponsored promos, where I’m suddenly pitched a random VPN or productivity app.

[1]. https://github.com/dmunozv04/iSponsorBlockTV

tartoran•1h ago
Firefox + uBlock origin and i'm blessed with peaceful browsing experience.
buttocks•51m ago
NextDNS is sufficient on its own. $20 for a year of no ads (or smut if you want to block that too).
rmunn•16m ago
Funny story on porn blockers. Back when I attended college, the college I attended blocked porn sites at the DNS level. It was pretty good at its job, but I did notice one false positive: I was trying to access the website for the Extremely Reliable Operating System (whose URL at the time was eros-os.org, though that URL no longer works). The porn blocker blocked my access attempt; I had to click on the "email the sysadmins" link and send them an email saying "Hey, can you add this site to the DNS whitelist? Despite having "eros" in the URL it's got nothing at all to do with porn." They whitelisted it and I had no more false-positives the rest of my college career. But I still laugh about that one, more than two decades later.
nipperkinfeet•47m ago
I use uBlock on desktop and laptop with Dan host files. AdGuard DNS on Android, or Firefox Mobile with uBlock extension. Even Edge on mobile has extension support now.
kylecazar•42m ago
I am so reliant on YouTube Premium that I forget people even see ads on there. I watch an awful lot of long form interviews, lectures, podcasts -- most downloaded for offline. It's the easiest $8/month of all my subscriptions.
stephen_cagle•22m ago
Wait a minute, why is mine $13.99 a month?

But agree, totally worth it if you at all value your time.

baby_souffle•21m ago
> Wait a minute, why is mine $13.99 a month?

Only the earliest google music people are still grandfathered in at the insanely low rate. The rest of us have been "upgraded" to at least $14/mo.

stephen_cagle•8m ago
Damn, I just looked up how long I have been paying using https://payments.google.com/ . Looks like I've been paying for youtube music since October 2014. These grandfathered people must be really really early. :]
ternus•6m ago
If you don't care about music or background play, and all you want is to eliminate ads, YouTube Premium Lite is $8/month.

https://support.google.com/youtube/answer/15968883

kace91•9m ago
I’m the opposite. I’ve almost entirely given up on YouTube because I know that, even if I pay, I’m subjected to the consequences of ads.

Content creators have paid sections in the video itself, the format optimises grabbing your attention, some legitimate-presenting channels are just real state for product placement...

You can’t win in that platform.

jbaber•4m ago
A recent feature for paid subscribers is the ability to skip frequently skipped sections which de facto skips in-video ads.
crossroadsguy•28m ago
> but I've heard good things about NextDNS

I have used them both paid and free and they are not good. I will pick just one point - support. It's pathetic. Maybe because it's non existent. I stopped paying for it, started using free, then removed it altogether.

uBlock Origin really is that good as others are saying. I haven't really needed anything else. Ads in other apps? Well, that's a hit or miss but then a lot of my finance/investment related apps anyway don't work if I use any ad blocking on local network or device label, sadly. Tweaking around it is how I needed support with NextDNS and then realised I've been paying for something with essentially no support.

mr_windfrog•19m ago
I'm using Firefox + uBlock Origin, and this combo blocks ads perfectly for me. Anyone else using the same setup?
kgwxd•10m ago
Perfect combo, where it can be used.
Andaith•6m ago
+ ghostery + pihole.

I like his suggestion of VPN via cloud. I might set up something with wireguard or tailscale for that.

I don't really use youtube, but my family does, so If anyone knows a way to get a better ui experience as a google tv app I'd be keen to hear it?

strangelove026•2m ago
what does ghostery do for you on top of ublock origin?
treetalker•8m ago
1Blocker on iOS and macOS has been good. It also blocks in-app trackers.

I failed to recreate the 1996 Space Jam website with Claude

https://j0nah.com/i-failed-to-recreate-the-1996-space-jam-website-with-claude/
312•thecr0w•8h ago•255 comments

Mechanical power generation using Earth's ambient radiation

https://www.science.org/doi/10.1126/sciadv.adw6833
50•defrost•4h ago•17 comments

Uninitialized garbage on ia64 can be deadly (2004)

https://devblogs.microsoft.com/oldnewthing/20040119-00/?p=41003
20•HeliumHydride•3d ago•4 comments

Bag of words, have mercy on us

https://www.experimental-history.com/p/bag-of-words-have-mercy-on-us
46•ntnbr•3h ago•34 comments

The C++ standard for the F-35 Fighter Jet [video]

https://www.youtube.com/watch?v=Gv4sDL9Ljww
189•AareyBaba•8h ago•188 comments

Dollar-stores overcharge customers while promising low prices

https://www.theguardian.com/us-news/2025/dec/03/customers-pay-more-rising-dollar-store-costs
256•bookofjoe•11h ago•413 comments

Google Titans architecture, helping AI have long-term memory

https://research.google/blog/titans-miras-helping-ai-have-long-term-memory/
394•Alifatisk•13h ago•139 comments

Work disincentives hit the near-poor hardest (2022)

https://www.niskanencenter.org/work-disincentives-hit-the-near-poor-hardest-why-and-what-to-do-ab...
27•folump•5d ago•5 comments

An Interactive Guide to the Fourier Transform

https://betterexplained.com/articles/an-interactive-guide-to-the-fourier-transform/
146•pykello•5d ago•19 comments

Show HN: Cdecl-dump - represent C declarations visually

https://github.com/bbu/cdecl-dump
8•bluetomcat•1h ago•2 comments

A two-person method to simulate die rolls (2023)

https://blog.42yeah.is/algorithm/2023/08/05/two-person-die.html
53•Fraterkes•2d ago•29 comments

Scala 3 slowed us down?

https://kmaliszewski9.github.io/scala/2025/12/07/scala3-slowdown.html
182•kmaliszewski•11h ago•107 comments

Vibe Coding: Empowering and Imprisoning

https://www.anildash.com/2025/12/02/vibe-coding-empowering-and-imprisoning/
5•zdw•5d ago•0 comments

How I block all online ads

https://troubled.engineer/posts/no-ads/
83•StrLght•3h ago•41 comments

What the heck is going on at Apple?

https://www.cnn.com/2025/12/06/tech/apple-tim-cook-leadership-changes
56•methuselah_in•9h ago•58 comments

Spinlocks vs. Mutexes: When to Spin and When to Sleep

https://howtech.substack.com/p/spinlocks-vs-mutexes-when-to-spin
30•birdculture•1h ago•5 comments

The Anatomy of a macOS App

https://eclecticlight.co/2025/12/04/the-anatomy-of-a-macos-app/
191•elashri•13h ago•56 comments

Build a DIY magnetometer with a couple of seasoning bottles

https://spectrum.ieee.org/listen-to-protons-diy-magnetometer
67•nullbyte808•1w ago•17 comments

Estimates are difficult for developers and product owners

https://thorsell.io/2025/12/07/estimates.html
149•todsacerdoti•7h ago•172 comments

Toyota Unintended Acceleration and the Big Bowl of "Spaghetti" Code(2013)

https://www.safetyresearch.net/toyota-unintended-acceleration-and-the-big-bowl-of-spaghetti-code/
7•SoKamil•1h ago•2 comments

The state of Schleswig-Holstein is consistently relying on open source

https://www.heise.de/en/news/Goodbye-Microsoft-Schleswig-Holstein-relies-on-Open-Source-and-saves...
515•doener•12h ago•238 comments

Nested Learning: A new ML paradigm for continual learning

https://research.google/blog/introducing-nested-learning-a-new-ml-paradigm-for-continual-learning/
78•themgt•11h ago•2 comments

Millions of Americans mess up their taxes, but a new law will help

https://www.wakeuptopolitics.com/p/millions-of-americans-mess-up-their
37•toomuchtodo•7h ago•16 comments

Minimum Viable Arduino Project: Aeropress Timer

https://netninja.com/2025/12/01/minimum-viable-arduino-project-aeropress-timer/
18•surprisetalk•5d ago•7 comments

Java Hello World, LLVM Edition

https://www.javaadvent.com/2025/12/java-hello-world-llvm-edition.html
165•ingve•14h ago•58 comments

Evidence from the One Laptop per Child program in rural Peru

https://www.nber.org/papers/w34495
96•danso•6h ago•84 comments

Building a Toast Component

https://emilkowal.ski/ui/building-a-toast-component
92•FragrantRiver•4d ago•33 comments

Proxmox delivers its software-defined datacenter contender and VMware escape

https://www.theregister.com/2025/12/05/proxmox_datacenter_manager_1_stable/
59•Bender•4h ago•1 comments

Context plumbing

https://interconnected.org/home/2025/11/28/plumbing
13•gmays•5d ago•3 comments

Show HN: Spotify Wrapped but for LeetCode

https://github.com/collinboler/leetcodewrapped
24•collinboler2•7h ago•9 comments