this post was submitted on 14 Aug 2026
135 points (97.2% liked)

Technology

87680 readers
3535 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 3 years ago
MODERATORS
all 41 comments
sorted by: hot top controversial new old
[–] the_q@piefed.social 86 points 2 weeks ago (5 children)

I found a trick to block Facebook ads without an extension...

[–] Bebopalouie@lemmy.ca 34 points 2 weeks ago (1 children)

Me too, I quit 15 years ago.

[–] stoy@lemmy.zip 13 points 2 weeks ago (1 children)

I never joined in the first place....

[–] Gamechanger@slrpnk.net 8 points 2 weeks ago (1 children)

I am sure there are dozens of us!

[–] lost_faith@lemmy.ca 8 points 2 weeks ago
[–] cmnybo@discuss.tchncs.de 22 points 2 weeks ago (2 children)

echo "127.0.0.1 facebook.com" >> /etc/hosts

[–] masterofn001@lemmy.ca 3 points 2 weeks ago (1 children)

For a hosts file, shouldn't that be 0.0.0.0?

[–] cmnybo@discuss.tchncs.de 5 points 2 weeks ago

They both work.

[–] breezeblock@lemmy.ca 8 points 2 weeks ago

Bots hate this one simple trick!

[–] Akasazh@lemmy.world 2 points 2 weeks ago

I mean I do too, but I've just gotten around to installing unlock on my in-laws laptop to save them from the deluge of ads and the misadventures of fake ads that are really scams.

As they are reluctant to stop using Facebook, it was the perfect solution.

[–] otter@lemmy.ca 2 points 2 weeks ago* (last edited 2 weeks ago)

Assuming that there isn't a better extension out there for people to switch to, this move might push some people into quitting Facebook completely.

If you're using uBlock origin, then you won't see ads anywhere else. Meanwhile on Facebook, every few posts will be an ad.

🚮

[–] Frellwit@lemmy.world 64 points 2 weeks ago* (last edited 2 weeks ago)

They just randomize the DOM. Which is a pretty terrible thing to do. So I can completely understand why they stop blocking ads on that terrible site.

[–] aceshigh@lemmy.world 33 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

That stinks. Today is Facebook. Tomorrow it’s a site you use. I guess that means I’ll have to figure out how to block this shit elsewhere.

[–] msage@programming.dev 3 points 2 weeks ago

No, Facebook is a different beast.

And nobody should be using it.

[–] TheFeatureCreature@lemmy.ca 16 points 2 weeks ago (2 children)

Oh, it's rather simple actually.

I have Facebook, Meta, and all their various domains blacklisted on my PiHole.

[–] Kaligalis@lemmy.world 12 points 2 weeks ago

When other corps see that Facebook ads are unblockable they will copy the mechanism and uBlock Origin will become useless.

[–] nymnympseudonym@piefed.social 4 points 2 weeks ago (1 children)
[–] masterofn001@lemmy.ca 5 points 2 weeks ago

Similarly, using a dnscrypt domain filter:

[–] Th3D3k0y@lemmy.world 13 points 2 weeks ago (1 children)

I thought the story was that they aren't individually hard to block, they just keep doing the same thing ublock was doing and directly countering the changes

[–] Neocorporation@lemmy.world 2 points 2 weeks ago* (last edited 2 weeks ago)

My guess would be almost all routinely updated Filterlists will continue to block Facebook ads, and probably even more relentlessly now.

[–] WesternInfidels@feddit.online 10 points 2 weeks ago

In my rich fantasy life, this announcement is just a ruse, to get Facebook to drop its guard.

Real life is never as good as my rich fantasy life though.

[–] melsaskca@lemmy.ca 10 points 2 weeks ago (3 children)

Facebook and youtube would crumble completely without ads. That's where the real money is.

[–] Sabata11792@ani.social 21 points 2 weeks ago

I want them to crumble.

[–] Buckshot@programming.dev 7 points 2 weeks ago (2 children)

I accidentally saw a youtube ad today. It was a fake product with ai video and voice over. Complete scam. It was several minutes unskippable so i assume that's expensive. They must be hoping to scam a lot of people. I had no idea it had gotten so bad.

[–] Kite@sh.itjust.works 7 points 2 weeks ago

The majority of the YouTube ads I get are for dick pills. I'm a 50 year old woman who watches critical role, videos on curly hair and chunky blanket knitting. Their algorithm sucks.

[–] Kellenved@sh.itjust.works 5 points 2 weeks ago

In the last couple weeks it’s constant Mormon ads lol, the church put a cute girl on YouTube hawking their fairy tale book and are blitzing the male demo

[–] dummyboymc23@lemmy.zip 4 points 2 weeks ago

Too bad for YouTube, there's a really nifty way around ads

[–] WereCat@lemmy.world 7 points 2 weeks ago

That’s why I block facebook entirely with DNS based blocking.

[–] Squizzy@lemmy.world 7 points 2 weeks ago (2 children)

Is the shotgun approach not useful? Every post has to contain "Ad" or "sponsored", could you not exclude every post that has those words?

I am an idiot speak slowly.

[–] Ice@lemmy.zip 20 points 2 weeks ago (1 children)

From the article

The same post talks about some of Facebook’s tactics for bypassing the adblockers. A user in the thread described trying to use uBlock's element picker to block the word "Sponsored" on ads, only to find Facebook splits the word into individual letters, each wrapped in its own line of code. A member of the uBO development team confirmed this isn't new, and that the technique has been in use for roughly five years. They also added that Facebook has at times gone further by randomizing letter order and inserting fake characters to throw off pattern-matching filters.

[–] Funkt4st1c@lemmy.world 4 points 2 weeks ago

You gotta wonder what the hell facebook execs are thinking, knowing that people who specifically go out of their way to block ads are the ones their engineers are fighting tooth-and-nail to show ads to.

Anyways my solution to this on youtube, anyways, is to click every ad i dislike, training my algorithm to advertise shit i dont want to me and bleeding money from them while promoting the creators i like/YouTube

[–] toph@feddit.uk 9 points 2 weeks ago* (last edited 2 weeks ago)

Facebook splits the text “Ad” in the code so you have an “A” and “d” defined separately and then through some magic make them appear together when rendered… and then they change the exact locations and naming frequently.

[–] Kaligalis@lemmy.world 5 points 2 weeks ago (1 children)

uBlock Origin really needs to find a way to define content-based rules for sites which use DOM randomization. After all, the ads still have places where they can go and ad content is structurally always very different from actual content.
If they let Facebook win, YouTube will do it next. And a year later, uBlock Origin will have stopped working on half the web.

[–] Traister101@lemmy.today 15 points 2 weeks ago (1 children)

"They" don't use Facebook anyway and all the people using their free labor acting as through they are paying customers finally got to them. I'm with the uBlock guys on dropping Facebook when it's such thankless painful work

[–] upandatom@lemmy.world 5 points 2 weeks ago

Right? Even people commenting here with "all ubo has to do..."

If it's so easy, go help them out!

[–] AverageEarthling@feddit.online 3 points 2 weeks ago

I only check FB at home. I have a separate Firefox profile just for it. Using Pihole. I almost never see ads. Maybe one or two will slip by. But I only spend maybe 10min on the site. 1-2 times a week.

[–] Bebopalouie@lemmy.ca 3 points 2 weeks ago

I thought I read a post on here earlier today that said that ublock will continue to block facerook ads?

[–] dubyakay@lemmy.ca 1 points 2 weeks ago (1 children)

I thought of a possible solution. The close to 7 figure engineers are probably vibe-coding and automating their scrambling algos already. uBO, or someone else, just needs to set up a pipeline with agentic AI analyzing the current block-blocking method to unscramble it. Release daily builds. Could be a site specific addon too, doesn't have to be a general adblock addon.

Fight AI with AI.

[–] Funkt4st1c@lemmy.world 9 points 2 weeks ago (1 children)

Or; dont block anything and wait for people to stop using meta products altogether :)

[–] BigDanishGuy@sh.itjust.works 4 points 2 weeks ago* (last edited 2 weeks ago)

I'm stuck using fucking facebook, messenger and whatsapp. Facebook and messenger are where all the non-techie people in my kids' sports communicate, and I've got some dear people far away that uses whatsapp.

I had deleted my account back before it was called meta, but had to get a new one. Fuck me if I'm going to install their app though.

If we could wean people off of meta it'd be great.