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.
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.
A counter example: I got caught out by the deprecation/sunsetting of anonymous "old.reddit.com" yesterday but it turns out uBlock can filter out the ads, boilerplate, sidebars, join/login buttons etc on the main site. It's actually faster and more usable than the old site now.
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(../../../../../../../../../../../../../../../../../../../..)
Going from memory, but that's how many elements are in the tree between what I wanted to be hidden and where the matching text/elements actually lived.
But can't they just use an xpath expression to test the computed text content of a node, like `/path/to/ad/div[contains(., 'sponsored')]`? In that expression, there could be any number of nested elements inside the terminal `<div>` and it wouldn't matter. (And you'd probably have to use a regex test to account for tricky white space.)
Worth a white paper to see which costs less energy, using Apple's built in LLM, or downloading and displaying all the FB ads using radio, playback, and screen animation energy.
If the computational requirement is within the realm of another normal day to day task, and if it cannot generally achieved with another cheaper approach, it would be contradictory to say it is staggering.
I would agree if this was an easily solvable problem with classical approaches. Clearly it is not, since even uBlock is giving up.
At any rate, "staggering" is relative. White-labeled web browsers becoming the most common GUI engine would have made an engineer's eyes water 20 years ago.
Apple Intelligence? I mean, you're only processing for the time your "AI|browser|agent" is acting as a firewall between you and Meta. Cache locally after processing and filtering. Use alongside the accessibility API. LLMs can, in many cases, reliably solve CAPTCHAs. I find it difficult to imagine they cannot defeat Meta ad blocking countermeasures.
> I hope they get all the ADA suits they deserve for this.
So what you're saying is: you want Facebook to pay out something like $200M which is such a small amount it won't even realize, $170M will go to lawyers, everybody else gets $1.30.
The approach they should have taken is to start whitelisting the components that are not ads.
Think of how the structure of Meta is gonna work, there's some team in charge of ads who has a sub team now in charge of messing with the ads to stop them being blocked.
If you start whitelisting everything that isn't an ad you move the problem into an area the team in charge of blocking the ads don't have control over.
Highly unlikely the team in charge of stopping ad blocking has swing to then start changing the code of every other element on the page to break your non-ad white listing.
Over a decade ago, web framework and web site generation tooling had already ruined any kind of automated anything, as the frameworks and tools started using what amount to GUIDs for identifiers. I suppose the charitable take on why is as only machines needed to read it, and css styles and div IDs had become token gibberish anyway, so semantics were irrelevant.
Whether selecting for ads or content, one had to figure different ways of getting after it, whitelisting was already off the table.
We'd found "structure" could work, but had to be fuzzy and adaptive as marketing shuffles pages around constantly, not just on the whole, but for A/B runs and personalized "experiences".
So that seems back to, hey, models could help.
(Though none of them, to date, attain as high success as latest hand coded "reader" tools, worth inspecting for how this could be generalized.)
This entire thread reads like a game of cat-and-mouse. People trying to block intrusive ads, and FB reaching into the depths of code and making it nearly impossible for anyone to do so en masse.
I've been there. Tried to uncheck all the boxes on their ad platform; used all manners of ad blockers, etc; used incognito mode; used Tor; etc. etc. etc.
At some point, you realize that the only way to not get served ads on Facebook -- and thereby not benefit the company itself -- is to get rid of it completely. Delete your account, get off that blasted site, and enjoy some moments of peace IRL.
Having been a very early adopter of FB (since ~2004), I deleted my account and am clean + sober + much happier since 2016.
(Not to say that I'm completely out of the FB ecosystem. Unfortunately, my fam is still on WhatsApp... and I've been trying to convince them to migrate to Signal...)
It saved me net an hour or more or mindless scrolling every day. Every single day. Not to mention the benefits of no more FOMO, better mental health, etc. AND left me with more time to actually accomplish things I wanted to do but somehow thought I never had the time.
The thing is: you have to find + allocate time and attention (= your most precious resource) to the things that matter most to you.
Since then I've been working on my online learning (30+ courses done, including several DL/ML certifications), read more books, and most importantly, focused on my health by working out nearly every day.
Small wins individually, but they have compounded greatly over time.
I've tried to write a tampermonkey script to at least block the Reels, but even that's hella difficult.
The solution is truly to just never be on Facebook, but - our local PTA only distributes news via Facebook. (There may be a Whatsapp group I don't know about, which isn't better.) So does the local library. If the township publishes things elsewhere, I don't know about it.
I use a service to convert some pages' feeds to RSS, which is semi-reliable, but doesn't work well and is a paid service if you want more than two feeds - I wish I could hand-roll something myself.
Facebook is trying so hard to defeat adblockers that the actual website is borderilne unusable. I have found in the past year or so that pages just get hung on "loading" transitional screens way more often, even in normal circumstances.
They need to surrender this whole anti-adblocker crusade because it will kill them in the long run (along with the billion other problems FB has)
Most activity on Facebook is via phone. I bet Facebook would prefer to get rid of the website entirely; the age of adding Facebook like buttons and comment sections to websites is long past. I can't think of anything that works on the website better than the phone app.
Same. FBP has been effectively perfect for over a decade now. I don't understand how uBlock Origin can't just take what FBP is doing and apply it there.
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.
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.
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.
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.
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.
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.
Cost issues aside yeah image embedding tech is really good and can already do tasks like this, LLMs with native image understanding are even better at it.
Reasons this wouldn't work are you'd really need to get it to a good enough and small enough model to run low energy use and very fast to not impact browsing. The other issue is it'll be a fixed target for a period of time so the ads could be tweaked to find how to get them through it.
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".
I wonder how far we are away from AI being required to link to the TPM in a way that the OS and hardware people can have full authority on what you can use.
We're not that far off. But it will not just be for AI, but all software. Mobile OSes has already normalized the expectation that you don't control what can run on your own devices.
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.
Facebook has made itself indispensable in a number of areas that are in the public interest and should be treated as a public good for these purposes.
Ads are pollution, and Facebook is forcing people to choose between ingesting pollution and using facebook marketplace, or throwing their used but functional goods in the garbage.
the immediate fix to this is to stop using facebook. If your local government are using it to publish whatever useful infromation, it may be possible to sue them on the grounds that publishing their public 'good' on a private platform exclusively is against some kind of public records law.
Alternatively, eventually they will publish where the audience is, if the audience is not on facebook then they will publish somewhere else.
> the immediate fix to this is to stop using facebook.
Sure, but that relegates my old but perfectly functional macbook to the trash. There's literally no functional alternative to fb marketplace for getting used goods re-used at any kind of scale.
> IMO you shouldn't get to be in charge of a company just because it became successful.
In a macro sense, the prerogative there is really up to the public. Companies only exist in the first place because the public has granted them the legal and social framework to exist, and the public can adjust that framework as they so choose.
In a more specific sense, the math there changes once a company makes itself indispensable to the public good. There are any number of analogies I could run with, but I'll go with the analogy of a landfill. Suppose all the landfills in your city have been privatized, have a habit of burning garbage, and employ armed thugs to prevent any visitors to the landfill from wearing masks. If you've got a truckload of garbage to dispose of, you can either ingest burning garbage fumes, or dump it on the side of the road somewhere. It's absolutely in the public's interest to regulate the landfills' behaviour to prevent them from both burning garbage and from stopping people from wearing masks when they visit the landfill.
I haven't used fb for years, but yesterday I was considering going there to only repost anti-meta news stories to try to get as many of my followers to quit as possible.
But I'm not convinced it will have an effect. And I'd have to use fb.
I have to admit that I never got to visit facebook in all my life, since my browser add-ons made it so the site would never properly load. I'm not sure whether I've been missing out or dodging a bullet.
If anybody want to take a crack at fixing and maintaining the issue, while the team has been worn out to the treads, they are still open to pull requests [0], here is the statement that is alluded to in the article:
>paintboth1234 uBO Team wrote:
>The project is FOSS. Anyone else who wants to deal with this disgusting site is free to make pull requests with working solutions themselves.
Unfortunately, adblocking may need to move up one level to visual perception of renderee html or client-side AI heuristics about what is probably an ad. Removal may not be possible, but a masking overlay should still be.
Also good to note that even if you were somehow able to block ads on Facebook, that only stops the visible output. The aggressive data collection continues as you scroll and interact with content.
Very simple: just block all Meta domains at your local DNS. Nobody needs Meta. And if there is something you desperately need to see on one of their platforms temporarily switch your DNS.
Maintain a list of recent ads blocked in that browsing session and redirect all the ads blocked during that session from previous sites visited, especially autoplaying videos, every time someone clicks on a Facebook link.
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. Ad margins are razor thin, you'll do this for $0.00001 profit per impression. And your buyer might be doing the same thing to their customer. It's all a huge mess.
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.)
uBlock filter list authors are however also not going to spend as much effort as they have been spending on Facebook on every random site that is currently covered by generic rules that catch entire ad networks.
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.
Advertisers don't trust websites to display their ads. If a site takes full control of their ads experience and hosts everything first-party I agree it's hard to block (site can keep changing things to thwart the ad blocker), but then it's also hard for the advertisers to see whether they're being ripped off. Which means most won't advertise on the site, and the site makes much less money than if they remain in the current ad ecosystem (even counting that some ads will be blocked).
(I used to work in this area, but my knowledge is ~4y out of date)
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).
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.
> 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.
This is to an extent why facebook can make the ads harder to block, they control the ad infrastructure (or at least some of it) as well as the app infrastructure.
For many sites that is not the case, running adtech infrastructure is not even close to their primary business and taking the task on individually isn't worth the admin cost. Companies wanting to advertise don't just come along and say “my product is aligned with your content, could I pay for one of your advert slots?” because they don't want to just target the people who are actively looking at relevant content. They want to follow people who look at relevant content around like little stalkers, so the adverts can be put in front of you even when you've moved on to looking at less relevant content - and that requires tracking between sites which a smaller individual site can not do on its own or have the clout to negotiate a good exchange with other sites with.
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.
Sorry, still don't understand. The dom is not complete until JavaScript has run, no? So the ublock extension can do dom traversal on the rendered page, but the proxy can only operate at the request level. I assume your not running a headless browser on your squid box, lol. I'm aware that a proxy can tweak html and js, but the js will be challenging to analyse statically. If you're only blocking requests to ad domains, then presumably most people would just block them in DNS. So i still don't understand what the proxy gains you.
I mean the ultimate solution is block fecebook entirely and any and all its other companies/domains, but I think the best approach is not to block ads, but to block everything and only let the text and other useable html code out, that can’t be countered as your filter is not going after specific match they try to hide behind some long tags, rather than blocking all and just pass the readable useful buttons.
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.
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.
A counter example: I got caught out by the deprecation/sunsetting of anonymous "old.reddit.com" yesterday but it turns out uBlock can filter out the ads, boilerplate, sidebars, join/login buttons etc on the main site. It's actually faster and more usable than the old site now.
Small win.
>I got caught out by the deprecation/sunsetting of anonymous "old.reddit.com" yesterday
It appears to still be up for me. ??
"anonymous" is the key word. old.reddit still works (though it seems to get progressively jankier), but it's now requiring a login.
It was activated for my region yesterday and it did wonders for breaking my reddit addiction.
Then I tried the normal view and ... wow, so many auto-playing video ads disguised as regular posts.
You now have to be logged in to reddit to use it.
It's A/B tested across IP ranges, geolocated regions, etc. I got it super early and it sucks being locked out for the past 2-3 weeks now.
Not sure there's been a hard date publicly set but they are sunsetting it
How do you filter it out? Do you select each element individually?
Best move you could have possibly done.
“A strange game. The only winning move is not to play.”
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:
What's with the xpath selector? Is that just matching deeply nested elements?
Going from memory, but that's how many elements are in the tree between what I wanted to be hidden and where the matching text/elements actually lived.
But can't they just use an xpath expression to test the computed text content of a node, like `/path/to/ad/div[contains(., 'sponsored')]`? In that expression, there could be any number of nested elements inside the terminal `<div>` and it wouldn't matter. (And you'd probably have to use a regex test to account for tricky white space.)
> so it's very hard to write selectors against
This sounds perfectly matched for an on-device LLM?
The power cost of doing this widely would be staggering, surely?
Worth a white paper to see which costs less energy, using Apple's built in LLM, or downloading and displaying all the FB ads using radio, playback, and screen animation energy.
Local models are not the same as the giant ones in data centers. They're in about the about the same ballpark as running a AAA game on max settings.
Sure, it's more computationally-expensive than running an HTML selection, but it's also not "staggering" by any reasonable stretch.
I think “staggering” is a pretty accurate way of putting it if blocking ads is in the same ballpark as running a AAA game on max settings.
If the computational requirement is within the realm of another normal day to day task, and if it cannot generally achieved with another cheaper approach, it would be contradictory to say it is staggering.
I would agree if this was an easily solvable problem with classical approaches. Clearly it is not, since even uBlock is giving up.
At any rate, "staggering" is relative. White-labeled web browsers becoming the most common GUI engine would have made an engineer's eyes water 20 years ago.
Blocking ads should not make my fans spin at full blast.
Yeah, it's pretty awful that Facebook has made it such a demanding task.
"Honey, I want to buy a gamer PC. This one is too slow to block Facebook ads."
Depending on the model, I’m guessing it’s dwarfed by just about any electron app
Apple Intelligence? I mean, you're only processing for the time your "AI|browser|agent" is acting as a firewall between you and Meta. Cache locally after processing and filtering. Use alongside the accessibility API. LLMs can, in many cases, reliably solve CAPTCHAs. I find it difficult to imagine they cannot defeat Meta ad blocking countermeasures.
EFF: Adversarial Interoperability - https://www.eff.org/deeplinks/2019/10/adversarial-interopera...
> I hope they get all the ADA suits they deserve for this.
So what you're saying is: you want Facebook to pay out something like $200M which is such a small amount it won't even realize, $170M will go to lawyers, everybody else gets $1.30.
That seems like how it might pan out.
Could you not just go after the deeply nested spans? I assume they aren't messing up everything else like that.
Based on inspect element on their homepage, they probably are.
The approach they should have taken is to start whitelisting the components that are not ads.
Think of how the structure of Meta is gonna work, there's some team in charge of ads who has a sub team now in charge of messing with the ads to stop them being blocked.
If you start whitelisting everything that isn't an ad you move the problem into an area the team in charge of blocking the ads don't have control over.
Highly unlikely the team in charge of stopping ad blocking has swing to then start changing the code of every other element on the page to break your non-ad white listing.
Over a decade ago, web framework and web site generation tooling had already ruined any kind of automated anything, as the frameworks and tools started using what amount to GUIDs for identifiers. I suppose the charitable take on why is as only machines needed to read it, and css styles and div IDs had become token gibberish anyway, so semantics were irrelevant.
Whether selecting for ads or content, one had to figure different ways of getting after it, whitelisting was already off the table.
We'd found "structure" could work, but had to be fuzzy and adaptive as marketing shuffles pages around constantly, not just on the whole, but for A/B runs and personalized "experiences".
So that seems back to, hey, models could help.
(Though none of them, to date, attain as high success as latest hand coded "reader" tools, worth inspecting for how this could be generalized.)
>Highly unlikely the team in charge of stopping ad blocking has swing...
OT but I think I learned a new term today.
Swing. In oil and gas we would call that suction so for future reference:
Swing = Suction
Can't they mimic the structure of legit content to get passed on the whitelist?
The ad team runs the whole business at meta. If theres an issue they dont have control over theyll just take control of that part of the code.
Blacklisting facebook.com at the DNS level has worked pretty well for me.
That works, but is not really blocking the ads.
I agree. We should call that "blocking the bads" since the overwhelming majority of things served from that domain are bad.
facebook ads are indeed blocked.
you sure about that?
Controversial opinion:
This entire thread reads like a game of cat-and-mouse. People trying to block intrusive ads, and FB reaching into the depths of code and making it nearly impossible for anyone to do so en masse.
I've been there. Tried to uncheck all the boxes on their ad platform; used all manners of ad blockers, etc; used incognito mode; used Tor; etc. etc. etc.
At some point, you realize that the only way to not get served ads on Facebook -- and thereby not benefit the company itself -- is to get rid of it completely. Delete your account, get off that blasted site, and enjoy some moments of peace IRL.
Having been a very early adopter of FB (since ~2004), I deleted my account and am clean + sober + much happier since 2016.
(Not to say that I'm completely out of the FB ecosystem. Unfortunately, my fam is still on WhatsApp... and I've been trying to convince them to migrate to Signal...)
YMMV
Gold advice. People should get out of there and enjoy more of their free time!
Indeed.
It saved me net an hour or more or mindless scrolling every day. Every single day. Not to mention the benefits of no more FOMO, better mental health, etc. AND left me with more time to actually accomplish things I wanted to do but somehow thought I never had the time.
The thing is: you have to find + allocate time and attention (= your most precious resource) to the things that matter most to you.
Since then I've been working on my online learning (30+ courses done, including several DL/ML certifications), read more books, and most importantly, focused on my health by working out nearly every day.
Small wins individually, but they have compounded greatly over time.
I've tried to write a tampermonkey script to at least block the Reels, but even that's hella difficult.
The solution is truly to just never be on Facebook, but - our local PTA only distributes news via Facebook. (There may be a Whatsapp group I don't know about, which isn't better.) So does the local library. If the township publishes things elsewhere, I don't know about it.
I use a service to convert some pages' feeds to RSS, which is semi-reliable, but doesn't work well and is a paid service if you want more than two feeds - I wish I could hand-roll something myself.
Facebook is trying so hard to defeat adblockers that the actual website is borderilne unusable. I have found in the past year or so that pages just get hung on "loading" transitional screens way more often, even in normal circumstances.
They need to surrender this whole anti-adblocker crusade because it will kill them in the long run (along with the billion other problems FB has)
Most activity on Facebook is via phone. I bet Facebook would prefer to get rid of the website entirely; the age of adding Facebook like buttons and comment sections to websites is long past. I can't think of anything that works on the website better than the phone app.
>I bet Facebook would prefer to get rid of the website entirely
For some parts they did. I tried Facebook Dating, and it's only available on phones.
Also, to save you the trouble, don't use Facebook Dating. It is, to use a technical term, a fermented shitpile.
> it will kill them in the long run...
Now, that's something I would love to see in my lifetime.
I use a browser extension called F.B. Purity. It's worked across multiple browsers for years.
https://www.fbpurity.com/
There's a concern that the developer of FB-purity passed away: https://www.reddit.com/r/facebook/comments/1tw2sf9/real_conc...
Oh dear. Hope he's ok. I got a lot of value out of FB-purity.
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
Same. FBP has been effectively perfect for over a decade now. I don't understand how uBlock Origin can't just take what FBP is doing and apply it there.
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.
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.
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.
Makes me even more excited for Ladybird to be released.
Safari was the first to cripple adblockers and went further than ManifestV3, but it seems their reputation will never catch up to that.
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.
You're trying to stop ads because they're malicious but you think they'd be honest with their alt text?
Ignoring that users care deeply about images so a browser that did this would be considered broken from the get go.
I wonder what percentage of images even has meaningful alt-text.
If it doesn't have alt text it can't have been that important as an image, I guess.
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.
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.
I was under the impression that America had very few legal restrictions on ads at all.
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.
Apple sells ads too; increasingly across its surfaces.
You anticipate a large language model to understand visual queues for an advertisement?
Cost issues aside yeah image embedding tech is really good and can already do tasks like this, LLMs with native image understanding are even better at it.
Reasons this wouldn't work are you'd really need to get it to a good enough and small enough model to run low energy use and very fast to not impact browsing. The other issue is it'll be a fixed target for a period of time so the ads could be tweaked to find how to get them through it.
Cues, not queues. And yes that sounds workable.
This is the first and only use-case for LLMs that I am genuinely excited about.
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".
I wonder how far we are away from AI being required to link to the TPM in a way that the OS and hardware people can have full authority on what you can use.
We're not that far off. But it will not just be for AI, but all software. Mobile OSes has already normalized the expectation that you don't control what can run on your own devices.
Best solution is to never use any of those useless apps ever again.
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.
The immediate fix to this is regulatory action.
Facebook has made itself indispensable in a number of areas that are in the public interest and should be treated as a public good for these purposes.
Ads are pollution, and Facebook is forcing people to choose between ingesting pollution and using facebook marketplace, or throwing their used but functional goods in the garbage.
the immediate fix to this is to stop using facebook. If your local government are using it to publish whatever useful infromation, it may be possible to sue them on the grounds that publishing their public 'good' on a private platform exclusively is against some kind of public records law.
Alternatively, eventually they will publish where the audience is, if the audience is not on facebook then they will publish somewhere else.
> the immediate fix to this is to stop using facebook.
Sure, but that relegates my old but perfectly functional macbook to the trash. There's literally no functional alternative to fb marketplace for getting used goods re-used at any kind of scale.
Craigslist?
IMO you shouldn't get to be in charge of a company just because it became successful.
Facebook is allowed to make ads show on their own product.
I hate their product, but it's theirs.
> IMO you shouldn't get to be in charge of a company just because it became successful.
In a macro sense, the prerogative there is really up to the public. Companies only exist in the first place because the public has granted them the legal and social framework to exist, and the public can adjust that framework as they so choose.
In a more specific sense, the math there changes once a company makes itself indispensable to the public good. There are any number of analogies I could run with, but I'll go with the analogy of a landfill. Suppose all the landfills in your city have been privatized, have a habit of burning garbage, and employ armed thugs to prevent any visitors to the landfill from wearing masks. If you've got a truckload of garbage to dispose of, you can either ingest burning garbage fumes, or dump it on the side of the road somewhere. It's absolutely in the public's interest to regulate the landfills' behaviour to prevent them from both burning garbage and from stopping people from wearing masks when they visit the landfill.
Man, am I happy that I deleted my Facebook. No regrets.
Oh the irony: https://ibb.co/NnxGJyr1
that's not irony.
I haven't used fb for years, but yesterday I was considering going there to only repost anti-meta news stories to try to get as many of my followers to quit as possible.
But I'm not convinced it will have an effect. And I'd have to use fb.
This doesn't set a good precedent unfortunately... Hello to that Google guy that just got tasked to do the same with Youtube.
I dread the day YT finally decides it is cost effective to embed ads directly in video stream. I think Twitch is/was experimenting with it.
Why not just use Fluff Busting Purity?
https://www.fbpurity.com/
One of four extensions I run, I hope they never give up. A while back they mentioned it being harder and harder to maintain.
I have to admit that I never got to visit facebook in all my life, since my browser add-ons made it so the site would never properly load. I'm not sure whether I've been missing out or dodging a bullet.
You have missed nothing.
If anybody want to take a crack at fixing and maintaining the issue, while the team has been worn out to the treads, they are still open to pull requests [0], here is the statement that is alluded to in the article:
>paintboth1234 uBO Team wrote:
>The project is FOSS. Anyone else who wants to deal with this disgusting site is free to make pull requests with working solutions themselves.
[0] https://www.reddit.com/r/uBlockOrigin/comments/1vgcjg5/about...
Unfortunately, adblocking may need to move up one level to visual perception of renderee html or client-side AI heuristics about what is probably an ad. Removal may not be possible, but a masking overlay should still be.
Also good to note that even if you were somehow able to block ads on Facebook, that only stops the visible output. The aggressive data collection continues as you scroll and interact with content.
But the filterlist does not come from uBo, it comes from Easylist?
Very simple: just block all Meta domains at your local DNS. Nobody needs Meta. And if there is something you desperately need to see on one of their platforms temporarily switch your DNS.
1786479420 | uBlock Origin no longer supporting Facebook | https://reddit.com/r/uBlockOrigin/comments/1vgcjg5/about_dis... | https://news.ycombinator.com/item?id=49263846
1786534107 | uBlock Origin Is Giving Up the Fight to Keep Ads Off Facebook | https://digitalescapetools.com/2026/08/ublock-origin-stops-c... | https://news.ycombinator.com/item?id=49270726
1786535709 | uBlock Origin stops dealing with Facebook any longer | https://www.reddit.com/r/uBlockOrigin/comments/1vgcjg5/about... | https://news.ycombinator.com/item?id=49270977
So basically Facebook ads won and we are doomed
>and we are doomed
Only if you're so hopelessly addicted to Facebook that you just have to roll over and take this. You always have the option to just not use Facebook.
Nah. I never see Facebook ads. Easy peasy.
My setup: separate profile for Facebook. Targeted advertising turned off. FB domains blocked on main profile.
Not perfect, but it works.
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.
Well clearly you'll need to stop using Google search too
Kagi search allows you to block whole domains, which is pretty great.
Isn't there a browser plugin to do that for Google too?
We've been circling that since "thing reddit" became the most optimum search.
Original reddit post: https://www.reddit.com/r/uBlockOrigin/comments/1vgcjg5/about...
Hot take: uBlock origin could insert even MORE ads into Facebook? Discouraging people to use Facebook, and also make some money on the side.
(this is a joke obviously, but boy that would be fun and against the T&C)
Maintain a list of recent ads blocked in that browsing session and redirect all the ads blocked during that session from previous sites visited, especially autoplaying videos, every time someone clicks on a Facebook link.
That would be funny.
I'm not saying this is a rallying call to help but...
I use the “natural” method for blocking Facebook ads.
This is a perfect use case for AI, no?
a killer use case of ai would be an AI adblocker !!
I don't understand why websites don't just take ownership of ads. Then it will be impossible to block them.
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. Ad margins are razor thin, you'll do this for $0.00001 profit per impression. And your buyer might be doing the same thing to their customer. It's all a huge mess.
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.)
Well facebook just beat the ad blockers without working together with their ad customers
It's ironic how trust would solve the issue and ads would become impossible to remove. Trust comes at a huge premium of course.
Really shows how shady the whole industry is, even to itself.
uBlock can filter arbitrary elements from a website, no chance that every company spends as much as facebook on making writing rules hard
uBlock filter list authors are however also not going to spend as much effort as they have been spending on Facebook on every random site that is currently covered by generic rules that catch entire ad networks.
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.
Advertisers don't trust websites to display their ads. If a site takes full control of their ads experience and hosts everything first-party I agree it's hard to block (site can keep changing things to thwart the ad blocker), but then it's also hard for the advertisers to see whether they're being ripped off. Which means most won't advertise on the site, and the site makes much less money than if they remain in the current ad ecosystem (even counting that some ads will be blocked).
(I used to work in this area, but my knowledge is ~4y out of date)
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).
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.
> 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.
This is to an extent why facebook can make the ads harder to block, they control the ad infrastructure (or at least some of it) as well as the app infrastructure.
For many sites that is not the case, running adtech infrastructure is not even close to their primary business and taking the task on individually isn't worth the admin cost. Companies wanting to advertise don't just come along and say “my product is aligned with your content, could I pay for one of your advert slots?” because they don't want to just target the people who are actively looking at relevant content. They want to follow people who look at relevant content around like little stalkers, so the adverts can be put in front of you even when you've moved on to looking at less relevant content - and that requires tracking between sites which a smaller individual site can not do on its own or have the clout to negotiate a good exchange with other sites with.
If you're on facebook, I don't take you're need for privacy or security seriously. I'm fine with this. Stop giving Zuckerberg more money and power.
The best way to do this is block Facebook entirely.
This barf bag of a company is making the internet a war zone. If at all possible, the best you can do is to never touch their toxic mess.
Blocking ads sounds like a job for AI
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.
I'm keen to see this simple script, and to understand why it's simple given that ublock origin finds it hard.
Ublock origin doesnt use javascript. The script just involves a tree traversal of the dom and removal of any node that says ad.
The issue is facebook obfuscates selectors so you cant easily do it the way ublock prefers.
Sorry, still don't understand. The dom is not complete until JavaScript has run, no? So the ublock extension can do dom traversal on the rendered page, but the proxy can only operate at the request level. I assume your not running a headless browser on your squid box, lol. I'm aware that a proxy can tweak html and js, but the js will be challenging to analyse statically. If you're only blocking requests to ad domains, then presumably most people would just block them in DNS. So i still don't understand what the proxy gains you.
It's easy, just block every Facebook owned domain there is. Works for me.
Where do you get the list of "every Facebook owned domain"? Can you share?
A quick search on Kagi turns up a ton of them. Here you go: https://github.com/jmdugan/blocklists/blob/master/corporatio...
I mean the ultimate solution is block fecebook entirely and any and all its other companies/domains, but I think the best approach is not to block ads, but to block everything and only let the text and other useable html code out, that can’t be countered as your filter is not going after specific match they try to hide behind some long tags, rather than blocking all and just pass the readable useful buttons.