How to hide “What’s happening” trending topics on Twitter.com (and more, working July 2021)

Adam Greenough · 1st July 2021 · Filed under

Twitter can be a great source of connections, industry news and light-hearted fun (if you follow the right people!). Unfortunately, the “What’s happening” trending topics sidebar can be a constant source of misery that by now can be simply too much to bare. If you’d rather keep on top of your news and trends in a more mindful way rather than have it shoved in your face every time you browse your feed then here’s what you can do.

uBlock Origin

uBlock Origin (Chrome, Firefox, Edge) is a fantastic ad blocking tool which blocks a huge array of banner advertisements, analytics, tracking and even Twitter promoted posts and YouTube video ads.

As a bonus, it also comes with a nifty feature that allows you to set your own blocking rules.

Once installed, click the uBlock Origin button in your browser toolbar and select the ‘Dashboard’ icon (looks like three cogs). On the dashboard page, select ‘My Filters’ from the top bar.

The ‘My Filters’ page will show a large text box. You may find it empty or populated with custom rules you have already created. We’re able to add to this list to block any elements we please. Simply paste in your desired filters from below and select ‘Apply Changes’ when done.

Filter Rules

Twitter’s dynamically generated HTML & CSS classes can make targeting specific elements a little fiddly. Fortunately, there are a number of accessibility labels and other fingerprints we can target to purge the website of unwanted features.

Hide the ‘What’s happening’ sidebar on Twitter

Add the following filter rule to your uBlock configuration as per the instructions above.

! Hide the 'What's happening' sidebar on Twitter.com
twitter.com##*[aria-label="Timeline: Trending now"]

How to hide the ‘Topics to follow’ sidebar on Twitter

Add the following filter rule to your uBlock configuration as per the instructions above.

! Hide the 'Topics to follow' sidebar on Twitter.com
twitter.com##*[aria-label="Timeline: "]

Leave a Reply

Your email address will not be published. Required fields are marked *

  1. Dude says:

    Yaaaaah that’s so much better, thanks dude

  2. John says:

    Good man! To my surprise, it worked!

    Thank you.

  3. Nux says:

    Oh so much better. Thank you!

  4. Daniel Maloney II says:

    THANK YOU SO MUCH!

  5. anna says:

    If you want to block “Who to follow” this should work:

    twitter.com##*[aria-label=”Who to follow”]

    I pasted it into MyFilters in Adblock Plus and it did the trick!

  6. SD says:

    life saver right there, thank you!

  7. Brian Fitzgerald says:

    You absolute legend, thank you so much!

  8. Technomistress says:

    This is brilliant – thank you!!!

  9. carina says:

    oh thank you so much for this!!

  10. Praveen Kumar says:

    Thanks for this tip… also can u please help me how to also hide who to follow – its irritating

  11. LIMO says:

    It works!!! Thanks! So sick of being bombarded with toxic misinformation about doom and destruction that I can’t do anything about anyway. I just want to peacefully look at art created by the artists I follow, is that too much to ask? (according to twitter, apparently yes, it is…). Anyway thanks again!

  12. David Schwaiger says:

    Works great!

  13. Rajkamal Rao says:

    Thanks a lot for this trick. It works fine – and in this polarized environment, a God send.