frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Facebook ads are so hard to block that uBlock Origin stopped filtering them

https://www.neowin.net/news/facebook-ads-are-so-hard-to-block-that-ublock-origin-stopped-filtering-them/
80•bundie•1h ago

Comments

jcfrei•56m ago
Once LLMs get fast enough at processing real-time images Apple (or anybody really) can just roll out a browser rendering engine that just masks all ads. It will take a few years but the browser ad-business is in it's terminal phase.
Eddy_Viscosity2•48m ago
This is the first and only use-case for LLMs that I am genuinely excited about.
AlexandrB•6m ago
Such naïveté. The much more likely scenario is that AI is used to add or replace ads in a website in a way that's now impossible to remove. Running your own AI on the browser will be disallowed to "ensure a safe browsing experience".
monooso•46m ago
Given that Safari doesn't even have a built-in ad-blocker, I doubt Apple will be leading the charge on this.

Such a move would also presumably be incompatible with Apple's highly lucrative search engine deal with Google.

gdulli•29m ago
It's amazing how people think Apple has a clean reputation because they've added a thin layer of indirection to their participation in the surveillance ecosystem.
metahost•39m ago
Apple sells ads too; increasingly across its surfaces.
vintermann•30m ago
Yes, it's a near-universal legal requirement that humans be able to tell if something is an ad or not. So once they sabotage that, they're in hot water.
AlexandrB•4m ago
Is there any enforcement of this? Like at all? All the review bots and bots promoting random crap on reddit say otherwise. Traditional media still pays lip-service to this, but only barely.
concinds•21m ago
Safari was the first to cripple adblockers and went further than ManifestV3, but it seems their reputation will never catch up to that.
pllbnk•21m ago
The race of ending personal computing is there. I am sure big players want to control entire stack and users just sitting in front of dumb monitors consuming their ads.
threetonesun•11m ago
If we're just talking about image based ads it would be easier to simply denylist every image on a page and only render alt-text until the user clicks to reveal it.

Worth noting though that Apple injects ads into the News app, which is just a webview, so it's certainly not them that will do this.

pavel_lishin•8m ago
I wonder what percentage of images even has meaningful alt-text.
sentrysapper•4m ago
You anticipate a large language model to understand visual queues for an advertisement?
triceratops•2m ago
Cues, not queues. And yes that sounds workable.
mdrzn•55m ago
Original reddit post: https://www.reddit.com/r/uBlockOrigin/comments/1vgcjg5/about...
drcongo•51m ago
It's easy, just block every Facebook owned domain there is. Works for me.
The-Old-Hacker•48m ago
I use a browser extension called F.B. Purity. It's worked across multiple browsers for years.

https://www.fbpurity.com/

damidekronik•46m ago
I was gonna say that uBlock still works for me on facebook, but yea I forgot I had purity quietly working for me for all those years
ImHereToVote•42m ago
I don't understand why websites don't just take ownership of ads. Then it will be impossible to block them.
inigyou•40m ago
Because the ad ecosystem has two sides. I used to think my ISP could just magically support IPv6 and didn't need routing protocols or peering agreements, too. (They support it now)

Websites with ads need to satisfy the ad buyers. This means running a bunch of JavaScript that's adversarial to the website and fingerprints both the website and the browser to determine where and to whom the ad is actually shown. It's like a cloudflare bot challenge is happening behind the scenes. Of course all this stuff doesn't happen on the website's own domain, or the website could manipulate it.

And the ad that's originally delivered might not actually be the ad, but might be a script that fetches the real ad from a different server, if the incentives line up that way. Imagine you have a contract to advertise on a site, but someone else wants to advertise on the same site and pays you to forward their ad. It's all a huge mess.

ImHereToVote•31m ago
It's ironic how trust would solve the issue and ads would become impossible to remove. Trust comes at a huge premium of course.
inigyou•21m ago
Really shows how shady the whole industry is, even to itself.
stochastic-parr•21m ago
uBlock can filter arbitrary elements from a website, no chance that every company spends as much as facebook on making writing rules hard
nticompass•41m ago
Man, am I happy that I deleted my Facebook. No regrets.
baggachipz•41m ago
Oh the irony: https://ibb.co/NnxGJyr1
SirFatty•39m ago
that's not irony.
drnick1•40m ago
Blacklisting facebook.com at the DNS level has worked pretty well for me.
wompapumpum•32m ago
you sure about that?
amazingamazing•20m ago
That works, but is not really blocking the ads.
snapplebobapple•13m ago
I agree. We should call that "blocking the bads" since the overwhelming majority of things served from that domain are bad.
prmoustache•4m ago
facebook ads are indeed blocked.
akersten•37m ago
They do this by adding a ton of useless markup and splitting words like "ad" into single-letter spans with random class names and 8-layer deep nests of `<div>` so it's very hard to write selectors against. One has to wonder how that div soup affects accessibility as I find it very unlikely that this content is presented nicely to assistive tools. I hope they get all the ADA suits they deserve for this.
c-hendricks•13m ago
Last I tried writing custom rules for Facebook was years ago, but they did have proper aria attributes, and uBlock origin does have selectors for text content. These are from 2020:

  facebook.com##span:has-text(Suggested for You):xpath(../../../../../../../../../../../../../../../../../..)
  facebook.com##div[aria-label="Sponsored"] span[aria-label="Sponsored"]:xpath(../../../../../../../../../../../../../../../../../../../../..)
  facebook.com##div[aria-label="Sponsored"]:xpath(../../../../../../../../../../../../../../../../../../../..)
neuralkoi•13m ago
I recently found this out the hard way. Instagram’s web app has a super annoying popup. To click the comments button for a post, your cursor has to pass over the username, which just happens to launch a profile preview with the “follow” button exactly where the comments button was, causing you to unintentionally follow the account.

I tried to block this popup with uBlock Origin to no avail. No matter what element I selected, it was still there. Finally fixed the problem by deleting my Instagram account.

greenleafone7•7m ago
Best move you could have possibly done.
srcnkcl
XorNot•27m ago
My solution to this was just to stop using Facebook.

Though evidently someone's cut a deal because Facebook groups is all over Google search results these days.

ufmace•17m ago
Well clearly you'll need to stop using Google search too
lucrbvi•19m ago
It would be fun to train a small vision neural network to recognize ads instead of relying on HTML or network requests. I don't know if anyone has done this yet.
amazingamazing•18m ago
Assuming you insist on using facebook you can proxy it, using a simple script that removes all ads prior to serving. The problem of course is that this is not cheap. Easier to just not use facebook.
greenleafone7•6m ago
Best solution is to never use any of those useless apps ever again.
gregoriol•4m ago
So basically Facebook ads won and we are doomed
hollow-moe•2m ago
This doesn't set a good precedent unfortunately... Hello to that Google guy that just got tasked to do the same with Youtube.
gwbas1c•5m ago
I think that just goes to prove that content providers and ad providers could defeat ad blockers if they worked together. (And perhaps made the ads less offensive so people don't have motivation to block them.)
benj111•3m ago
Trust?

In ye old days, you had newspapers who sold ads, and had to at least satisfy their customers. What the newspaper advertised reflected on the newspaper, and where the advertiser advertised, reflected on the advertiser. Now we have a situation where no one is accountable. Spammy ad sites are a thing, because there isn't that direct relationship between advertiser and website.

Ekaros•22m ago
Most sites are not in business of running ad marketplace. They are in content production and SEO(as in pulling views). I don't think at scale they could operate it would be worth to be ad marketplace. Or would they get the customers(advertisers).
cookiengineer•16m ago
> Most sites are not in business of running ad marketplace.

You don't have to run a marketplace. Back then, people were calling via phone to put an ad into the newspaper. The same concept can still apply today.

You can just place an ad _where you actually want it_ instead of having a shitty decision engine decide it for you. Marketing budgets are messed up all over the place since social media, because they're really inefficient in finding the customers that actually wants to buy their stuff.

If you don't believe me, just take a look at facebook, they're trying to shove ads up your feed 99% of the time. It's a feed of ads, not a feed of "friends" anymore. Good luck trying to catch the 1% of posts that were actually the reason why you used the platform in the first place.

nemomarx•8m ago
Content based ads work fine for this. If you have a site about some topic, advertisers for that audience can just pay you some amount to put their ad in your posts or embed an image.

Networks are only necessary if you want to run new ads for every year or tie into their browsing history or other algorithmic stuff. But if someone wants to pay you 3k to run a banner ad for a few weeks that would be pretty easy to just embed.

•
5m ago
“A strange game. The only winning move is not to play.”
JumpCrisscross•12m ago
> so it's very hard to write selectors against

This sounds perfectly matched for an on-device LLM?

benj111•8m ago
Could you not just go after the deeply nested spans? I assume they aren't messing up everything else like that.

2026 Eclipse Webcams

https://jonty.github.io/2026_eclipse_webcams/
144•zoenolan•1h ago•38 comments

What sort of maths are LLMs good at?

https://gowers.wordpress.com/2026/08/12/what-sort-of-maths-are-llms-good-at/
130•ColinWright•3h ago•57 comments

Show HN: Woxi - Open-source Mathematica / Wolfram Language reimplementation

https://woxi.ad-si.com
118•adius•3h ago•11 comments

Delphi 13 Community Edition Is Now Available

https://blogs.embarcadero.com/delphi-13-community-edition-is-now-available/
48•layer8•2h ago•34 comments

LinkedIn CringeBot 3000

https://www.cringebot3000.com/
371•theanonymousone•6h ago•144 comments

High-Res Photo Shows Sand-Capped Butte Rising from Mars Plain of Polygons

https://petapixel.com/2026/08/04/amazing-high-res-photo-shows-a-butte-rising-from-mars/
63•bookofjoe•6d ago•4 comments

Facebook is paying controversial creators to produce rage-bait content

https://www.abc.net.au/news/2026-08-06/ragebait-how-facebook-is-paying-controversial-creators/106...
291•robtherobber•3h ago•159 comments

Facebook ads are so hard to block that uBlock Origin stopped filtering them

https://www.neowin.net/news/facebook-ads-are-so-hard-to-block-that-ublock-origin-stopped-filterin...
81•bundie•1h ago•52 comments

The hardest working font in Manhattan (2025)

https://aresluna.org/the-hardest-working-font-in-manhattan/
281•dcminter•5d ago•41 comments

Compression is prediction

https://ngrok.com/blog/compression-is-prediction
594•nikolay•17h ago•243 comments

Worms: The Future of Yesterday's Worms Today

https://worm.net/
103•doener•5d ago•35 comments

I built a jellyfish laboratory in my backyard [video]

https://www.youtube.com/watch?v=MILwxfQBm6Q
16•surprisetalk•6d ago•1 comments

Launch HN: Discovered Materials (YC P26) – AI agents to discover new materials

https://discoveredmaterials.com/research/
32•advaith08•5h ago•8 comments

WorldClaw Agentic 3D open-world generation at scale

https://tencent-hunyuan.github.io/Hunyuan3D-WorldClaw/
253•EwanG•15h ago•76 comments

U of Michigan drops first-semester grades to ‘curb mental health crisis’

https://www.wsj.com/us-news/education/university-of-michigan-grades-mental-health-1a5701d4
91•cwwc•21h ago•184 comments

A shell exclamation mark is not for yelling. Be lazy

https://refp.se/articles/your-shell-and-the-lazy-exclamation-mark
119•refp•5d ago•59 comments

OpenAI’s head of ethics leaves less than a year after joining

https://www.ft.com/content/e49dfb75-f841-4466-a577-f7aaff8779a0
478•ilamont•1d ago•448 comments

Stealing Reasoning Traces from Proprietary LLM APIs

https://stolen-thoughts.com/
653•quantumgarbage•1d ago•293 comments

llama.cpp

https://llama.app
295•kristianpaul•8h ago•126 comments

US hires over 2k video gamers as air traffic controllers

https://www.cbsnews.com/news/video-gamer-air-traffic-controllers-faa-recruitment-sean-duffy/
154•shagie•14h ago•117 comments

CFTC declares market emergency, orders Kalshi to continue to operate in New York

https://www.cftc.gov/PressRoom/PressReleases/9281-26
167•michaefe•13h ago•133 comments

Mojo 1.0

https://www.modular.com/blog/modular-26-5-mojo-1-0-is-here
408•dayanruben•20h ago•208 comments

Bluesky's active user base is shrinking as its focus expands beyond the app

https://techcrunch.com/2026/08/11/blueskys-active-user-base-is-shrinking-as-its-focus-expands-bey...
65•newusertoday•17h ago•120 comments

Nvidia Nemotron 3.5 Lightning and NeMo Switchyard

https://blogs.nvidia.com/blog/nemotron-lightning-switchyard-rtx-dgx/
243•droidjj•17h ago•123 comments

The Human Is the Loop

https://brentfitzgerald.com/posts/the-human-is-the-loop/
145•burnto•11h ago•69 comments

Grok Bot

https://x.ai/bot
319•rvz•20h ago•296 comments

How we used to get jobs: A newspaper classifieds story

https://ironicsans.ghost.io/how-we-used-to-get-jobs/
156•speckx•19h ago•122 comments

Show HN: iPhone app takes simultaneous images from 2 lenses, fuses into 1 photo

https://photosynthesis.camera
305•sajomes•3d ago•287 comments

The lifesaving secret hidden inside a horseshoe crab's blue blood

https://whdh.com/news/the-lifesaving-secret-hidden-inside-a-horseshoe-crabs-blue-blood-and-the-ra...
94•andsoitis•11h ago•26 comments

Making holograms with a pen plotter

https://blog.jordan.matelsky.com/Penplotter-holography/
172•DemiGuru•18h ago•18 comments