I like to occasionally go through my Twitter feed and read interesting posts or articles in the tech space.

People love to complain about the vitriol on Twitter, so I’ll skip that. What really grinds my gears is scrolling through interesting Tweets only to have to scroll past a huge “Promoted” Tweet that I’m never going to click on.

I decided to find a way to block those. I poked around and found an answer here but it required a bit of massaging to actually work, and most of it is unnecessary.

If you have uBlock origin, click on the badge in the URL bar and then click on the collection of gears towards the right to open the dashboard. Once in the dashboard, click on the “My filters” tab and add this line:

twitter.com##:xpath(//span[(text()='Promoted')]/../../../../..)

There you have it. This will break at some point once the Twitter police found out I’ve given up their secret. From then on, enjoy a better Twitter experience!