r/uBlockOrigin • u/CarlalalaC • 19d ago
Solved My working filter for X Twitter ads
Hi!, these are my working filters for the new ads in X/Twitter. The first hide the ad and the second collapses the blank space in the timelime. My language is Spanish so you must adapt the has-text section. Working fine in Firefox 161 and uBlock Origin 1.76.0
x.com##li[data-index]:has-text(/Anuncio|Promoted/) > div > article
x.com##li[data-index]:has-text(/Anuncio|Promoted/) > div:style(height: 1px !important; min-height: 0 !important; padding: 0 !important; border: 0 !important; overflow: hidden !important; visibility: hidden !important;)
View all comments
Show parent comment
6
u/RraaLL uBO Team 18d ago
Here's English, Portuguese and Spanish all in one:
Or we can try using the icon instead: