Gandalf_The_Grey

Level 21
Verified
Since Twitter got a new interface design I can't seem to block promoted tweets (Uitgelicht in Dutch) anymore with the AdGuard extension or with uBlock Origin.
I have to reload the Twitter startpage many times before they get blocked in the end.
Also posed the issue on GitHub - AdGuard Filters - Issues:
Does anybody know a rule or a filter that could help?

Aantekening 2019-09-20 185633.png
 

Gandalf_The_Grey

Level 21
Verified
I solved my issue together with the maker of uBlock origin on Twitter.
I looked at his uBlock filters:
Code:
!twitter.com##article:has-text(/Promoted|Gesponsert|Реклама|Promocionado|Sponsorisé/):xpath(../..)
twitter.com##:xpath(//span[(text()='Promoted' or text()='Gesponsert' or text()='Реклама' or text()='Promocionado'or text()='Sponsorisé']/../../../../..)
twitter.com##[data-testid="trend"]:has-text(/Promoted|Gesponsert|Реклама|Promocionado|Sponsorisé/):xpath(..)
I saw that the Dutch word for Promoted (Uitgelicht) was not there.
After adding that to his filters my issue is gone :cool: