3 ms·
From what I understand, the twitter mobile web client uses react and from a quick look at the source, they're using css modules which means the class names are
by vincentriemer 10y ago
From what I understand, the twitter mobile web client uses react and from a quick look at the source, they're using css modules which means the class names are generated at build time.
Considering that most ad blockers work by identifying ads through class names, it would explain why uBlock origin wouldn't work on the mobile site.
- Sindisil 10y agoMakes sense. Thanks.
- mintplant 10y agoThis uBlock rule should do the trick, despite the use of CSS modules: mobile.twitter.com##div:has(:scope > div[role="article"] > div[data-testid="tweet"] > div > div:last-child:nth-child(3):nth-of-type(3)) https://github.com/uBlockOrigin/uAssets/issues/351 https://github.com/uBlockOrigin/uAssets/issues/351