jahed.dev

Hide Twitter's Sidebar with uBlock Origin

Twitter's sidebar is just plain annoying. Promoted posts, ads, the same follow recommendations. It's useless. A distraction. Luckily it's pretty easy to hide it with uBlock Origin.

Go to your uBlock Origin settings and enter these lines under "My filters".

twitter.com##[data-testid="sidebarColumn"]
twitter.com##main > :first-child:style(width:600px !important;)

This will hide the sidebar and adjust the timeline column to be properly centred.

If you do want to see trends and search for tweets, use the "Explore" page.

This may break in the future if Twitter changes its layout, but it works for now.

Thanks for reading.