Matt Stenson

This is the personal site of Matt Stenson. I'm a programmer, nerd, mountain biker, dirt biker and outdoors enthusiest. I'll blog about different stuff here. I like open software and privacy focused tools.

Cleaning Facebook and Twitter With UBlock

Reading Time: 1 min

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"]