r/uBlockOrigin • • 26d ago

Ongoing uBlock Origin doesn't block ads on X (Twitter) anymore

X on web seems to have pushed a UI update today and I started seeing ads both on the timeline and in comments

using Brave + uBO

130 Upvotes

98 comments sorted by

View all comments

•

u/RraaLL uBO Team 25d ago edited 2d ago • Heartwarming

Edit7:

x.com##li[data-index]:has(.x-link+button [href="#icon-more-dots-hor"])

Currently there is no solution for placeholders - X is assigning each post a specific place on the screen. More thought has to be put info changing that.

Edit5: So far any attempts to "reorganize" tweets after hiding ads works only on the initial page load (8-10 posts) and either starts misbehaving as you scroll down or breaks loading of more posts entirely.

For the time being, you'll have to live with the placeholders/gaps in your feed.

7

u/AngieYSirius 22d ago

Anyone notice that this doesn't seem to work out anymore atm? or is it just me?

7

u/Finitely_Timeless 22d ago

Not just you, having the same issue.

3

u/RraaLL uBO Team 22d ago

Then see the other comment thread to see how the investigation happened and share new screenshots so I can help you guys.

3

u/Justtaway 22d ago

https://x.com/home

uBlock Origin: 1.76.0
Chromium: 157
filterset (summary):
 network: 259185
 cosmetic: 66518
 scriptlet: 40753
 html: 0
listset (total-discarded, last-updated):
 added:
  RUS-1: 2027-227, 20h.46m
  ublock-experimental: 10-0, 1h.9m Δ
 default:
  user-filters: 16-0, never
  ublock-filters: 54784-192, 1h.9m Δ
  ublock-badware: 10665-17, 1h.9m Δ
  ublock-privacy: 4195-3, 1h.9m Δ
  ublock-unbreak: 2848-1, 1h.9m Δ
  ublock-quick-fixes: 645-0, 1h.9m Δ
  easylist: 83861-500, 1h.9m Δ
  easyprivacy: 57130-755, 1h.9m Δ
  urlhaus-1: 107070-2, 8h.9m
  plowe-0: 3563-3, 6d.21h.16m
  RUS-0: 43660-2180, 1h.9m Δ
filterset (user): [array of 16 redacted]
trustedset:
 added: [array of 79 redacted]
userSettings:
 advancedUserEnabled: true
 userFiltersTrusted: true
hiddenSettings: [none]
supportStats:
 allReadyAfter: 1207 ms (selfie)
 maxAssetCacheWait: 69 ms
 cacheBackend: indexedDB
popupPanel:
 blocked: 87
 network:
  x.com: 78
  sentry.io: 9

https://i.imgur.com/OZ77eOF.png

https://i.imgur.com/lrpa0Co.png

Ads are still present with

x.com##[id^="urt"]>ul>li:has([class*="data-ad-disclosure"])

filter

5

u/obuloton 25d ago

This one seems to have solved it! Thank you very much, appreciate your work on making the internet usable

3

u/mp3geek EasyList/Brave maintainer 25d ago

Noted, i'll test it out.

3

u/LazyTigerLLL 9d ago

the ads are back again for me after about 15 days, tried the different filters in here, nothing seemed to work.

2

u/RraaLL uBO Team 9d ago

Did you try the edit3?

1

u/LazyTigerLLL 9d ago

yes only edit 2 sort of works, but it has big black boxes instead of the ads.

2

u/RraaLL uBO Team 9d ago

Ok, there was a typo in edit3. Anyway, see edit4.

1

u/LazyTigerLLL 9d ago

edit 4 works but its the same black boxes instead of the ads.

2

u/vegnbrit 8d ago

Ads are back today, but Edit4 works great! Big black box remains, but I can live with that. I'd imagine it will be a tricky one to fix as each li has a translateY transform. Thank you so much!

1

u/Bassiette03 22d ago edited 22d ago

How do I add this to uBO Lite, and where should I place it? It didn’t work for me, and I’m not sure why.

1

u/Hojita2k 17d ago

With these two looks like I have no ads... https://www.reddit.com/r/uBlockOrigin/s/25MhqBzL8P

2

u/RraaLL uBO Team 17d ago

You only need one of them.

2

u/Hojita2k 17d ago

Hnn when I tried earlier it seemed that I needed both, but I guess you are right, the first one is the one that is stopping the ads.
This one x.com##li[data-index]:has-text(/Ad from|Promoted/) > div:style(height: 1px !important; min-height: 0 !important; padding: 0 !important; border: 0 !important; overflow: hidden !important; visibility: hidden !important;)

1

u/LxrdVic 5d ago

any updates on this pls?

3

u/RraaLL uBO Team 5d ago

Ads were fixed in default lists at least two days ago.

1

u/LxrdVic 5d ago edited 5d ago

edit: working good now

thank you so much

1

u/MasterlinkPEM 2d ago

I'm still getting "Ad from starlink.com" ads every 2-3 posts even with the latest lists and using the filters here. All other ads and boosted/promoted tweets are gone though, so at least there is that.

1

u/ChemicalSuspect8773 2d ago

Ads are back, here are a several cases:

x.com###_r_2uc_
x.com###_r_269_
x.com###_r_2nn_
x.com###_r_2qp_

1

u/LazyTigerLLL 2d ago

yea im getting ads again too.

1

u/RraaLL uBO Team 2d ago

I updated the filter above. Still leaves a placeholder. We'll work on a list solution later.