Subfolders
Latest "Websites" Articles
Workshop » Reference Section » Grimoires » IT » Applications » Web Browsers » Websites » Facebook

uBlock Origin rule to hide posts of images that are mostly text (like tweets) from your Facebook feed

! works as of Oct 26, 2026 https://www.facebook.com
www.facebook.com##.html-div:has(img[alt="May be an image of text"])

This was designed as a solution for my Maxim Of Tweet Screenshots. Set up as a custom rule in uBlock Origin, this will hide posts containing images that are mostly text, such as tweet screenshots, from your facebook feed. It does get a lot of false positive, like blocking images of text-heavy book covers, concert announcement images, printed pages from inside books or magazines, but it's a small price to pay. I find blocking all tweet screenshots from my Facebook feed contributes materially to my peace of mind.

If you wish, to test it, you can add style so it hilights instead of hides: ! works as of Oct 26, 2026 https://www.facebook.com
www.facebook.com##.html-div:has(img[alt="May be an image of text"]):style(outline: 3px solid red !important; background-color: rgba(255, 0, 0, 0.2) !important;)

Then run it that…

Workshop » Reference Section » Grimoires » IT » Applications » Web Browsers » Plugins » uBlock Origin

A uBlock Origin custom rule to hide “Related Videos” (and more) on YouTube

If you're like me, you loathe and despise the toxic mental ordure that YouTube often plasters up and down the right side of each video page, such as POLITICAL DEMAGOGUERY in MIXED CAPS to PIQUE your OUTRAGE enough to KEEP YOU WATCHING YOUTUBE instead of doing something PRODUCTIVE! [insert thumbnail of someone looking amazed here.]

At a certain point, I started to notice that there was more likely to be things I didn't even want to know existed in that section than anything I actually wanted to see. So, I added a simple rule to the uBlock Origin browser plugin that hides that section of the page:

[code]!https://www.youtube.com www.youtube.com###related[/code]

And that's it. That's all you need to add. No more "related videos" section.

While I was at it, I added a rule to block the "suggested videos" thumbnails that appear at the end of videos, by…

Workshop » Reference Section » Grimoires » IT » Applications » Web Browsers » Plugins

Block Instagram share posts from Facebook’s “all” feed with uBlock Origin

Abstract:

With the browser plugin uBlock Origin, you can block shares from Instagram with the custom rule:

www.facebook.com##.html-div:has(a[href*="www.instagram.com"])

Note: Facebook changes their css often. This may not work for long.

Also, uBlock Origin is not always the fastest plugin, you may see the Instagram posts briefly on your screen before it removes them.

How to Block Instagram Shares from Facebook Using uBlock Origin: A Complete Guide

Social media platforms have become increasingly interconnected, with content from one platform frequently appearing on another. For Facebook users, this often means encountering Instagram shares in their news feed—sometimes from accounts they follow on both platforms, creating redundant content, and sometimes from accounts they don't follow on Instagram at all, courtesy of Facebook's algorithmic recommendations.

If you're looking to curate a cleaner Facebook experience by filtering out these Instagram cross-posts, browser extensions like uBlock Origin offer a powerful solution through custom…