Cleaning Facebook and Twitter With UBlock

Ublock Origin has a handy feature that allows you to build custom fields in addition to their standard ad blocking abilities. Here’s a few rules I set up the other day to clean up annoying parts of Facebook and Twitter.


For Twitter I wanted to get rid of all their trends stuff but keep my feed.

twitter.com##div[aria-label="Timeline: Trending now"]

Hide Twitter Who To Follow

twitter.com##aside[aria-label="Who to follow"]

Hide Twitter Explore Tab

twitter.com##a[aria-label="Search and explore"]


For Facebook I wanted to completely do away with the news feed as the news feed is complete garbage for me. I can still use marketplace and get into groups and messenger if needed.

Hide Facebook Stories

facebook.com##div[data-pagelet="Stories"]

Hide Facebook Feed

facebook.com##div[role="feed"]

Hide Weird Facebook Video Chat Thing

facebook.com##div[data-pagelet="VideoChatHomeUnit"]

Leave a Reply

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