Minecraft Blogs / Article

Quality of Life uBlock Filters

  • 168 views, 1 today
  • 2
  • 0
KateYagi's Avatar KateYagi
Level 25 : Expert Engineer
18

PlanetMinecraft


Might add filters for other platforms too idk.

The UI here is a little cluttered, but thankfully the naming conventions for elements are very legible, making it easy to filter unwanted elements and content using uBlock or functionally similar plugins like Stylus. This article will use the uBlock filter syntax.

Hiding the leveling system


The level system... eh. It's another social media number your eyes pass over and could potentially worry about, consciously or subconsciously. I don't like the idea of thinking "I'm nearly at [​arbitrary milestone in an infinite series of milestones]" Like a very abstract version of Sisyphus pushing a boulder up hill to keep engagement up.

Personally I just hide the green bar, I don't mind seeing the level itself. I'll add others later, it's 10:49 pm rn.

www.planetminecraft.com###level_bar

Hiding counters on emeralds, diamonds, favs, ect.


Don't really see much use in having this info as a cumulative number. Already get notifications for this.

! emerald count
www.planetminecraft.com##.score_container > .score_box > .score
! diamond, fav and comment count
www.planetminecraft.com##.txtlrg.stat
! views, downloads, ect... (Something I've actually caught myself obsessing over. Absolutely hate the feeling of being hypnotized by a number)
www.planetminecraft.com##.resource-statistics


Hiding the online status indicator


I don't like knowing this information about others, and it is especially clutter on my own profile where I know I'm currently online. Seems like just having recent activity should be enough. Maybe that's all the indicator means but it feels like it implies there's a script keeping track of when someone has an active session and I don't like that.

www.planetminecraft.com##.online-status.indicator

Hiding submissions by keyword.


This might be a bit difficult to grasp without knowing regex, but same principal as before. Use the has-text psudo-class to check for text, but here's some useful regex stuff:

- use \b to make sure the text isn't part of a word. I think "OP" demonstrates this well. Many words like pOPular, prOPane, or OPponent contain OP.
- use i after the final / to make it capitalization agnostic. Meaning it doesn't matter if it's spelled "Minecraft, but", "minecraft, but", "MINECRAFT, BUT", or "mInEcRaFt, BuT", this will catch it.

planetminecraft.com##li.resource:has-text(/\bminecraft but\b/i)
planetminecraft.com##li.resource:has-text(/\bminecraft, but\b/i)
planetminecraft.com##li.resource:has-text(/\bOP\b/i)


Hiding elements that use the .webp image format


This one's a bit complicated to explain, but I dislike the .webp format and google's insistence upon it despite .jxl surpassing it in every use case. It's a purely economic decision favoring their own projects that wastes astronomical amounts of bandwidth, storage space, processing power, (in all 3 wasting electricity) and robs the users of the many features available to the .jxl format that aren't present in .webp, and we need to take direct action as users of the internet.

! I think this is working btw, avatars were webp when I made this and now they aren't.
www.planetminecraft.com###tab_image_gallery
Tags

Create an account or sign in to comment.

Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome