Subfolders
Latest "Plugins" 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 » uBlock Origin

Hide comments from blocked users on Reddit with uBlock Origin

Reddit collapses comments from blocked users so you have to click to read them, but does not hide them.

Add this custom rule to uBlock origin to completely hide comments from blocked users.

! https://www.reddit.com - hide blocked user
www.reddit.com##shreddit-comment.relative:has(.text-neutral-content-weak:has-text(Blocked User))

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…

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

Filtering LinkedIn Posts, Notifications, and Comments by keyword with uBlock Origin

I use the uBlock Origin browser plugin to filter my LinkedIn Posts, Notifications, and Comments to hide anything containing objectionable topics. uBlock Origin allows you to add custom rules to block web content.

How to use and setup uBlock Origin is beyond the scope of this post. It's not hard, figure it out and then come back. What you want to know how to do is add your own custom rules.

Let's say, for purposes of these example, I want to block all mentions of someone named Grump.

The simplest version: block a single word

The following three rules hide Posts, Comments, and Notifications, respectively, that contain the word "grump", whether as a separate word, or as part of other words, such as "grumpier".

Posts: www.linkedin.com##div:has( > .ember-view.occludable-update:has(div.fie-impression-container:has-text(/grump/i)))
Comments: www.linkedin.com##.comments-replies-list > .comments-thread-entity > .comments-thread-item > .comments-comment-entity--reply.comments-comment-entity:has-text(/grump/i)
Notifications: www.linkedin.com##div[data-finite-scroll-hotkey-item]:has-text(/grump/i)

That's the basics. But…