this post was submitted on 26 Sep 2026
4 points (100.0% liked)

Forums

129 readers
1 users here now

The community for forum-lovers and for people to post their forums in general.

founded 1 year ago
MODERATORS
 

Hiding comments from blocked users on Steam forums with Ublock Origin

#Steam #Forums #deshittification

Steam has a similar problem as Discord, where comments from someone you blocked appear as a collapsed comment with an alluring "show" button, tempting the user into seeing, maybe out of anxiety or curiosity, triggering contents. This could lead to some unpleasant situations that blocking itself should already solve.

Luckily, Steam's forums have a relatively simple code, and Valve doesn't update their platform's UI every other month ~~unlike Patreon~~, so if browsing the place on a browser with Ublock Origin, or with some other tool that supports UBO's custom filter system, the following filter should suffice for a decent while:

steamcommunity.com##div[id^="deleted_comment_"]

Explaining, the filter checks any id element that starts (^=) with deleted_comment_ (how comments from blocked users are tagged) in a given div code block.

Since, as far as I'm aware, the combination <div id="deleted_comment_(whatever)" (whatever)> doesn't appear anywhere else, it shouldn't cause any conflicts. But in case it does and the results are undesired, the following filter should check only for comments in discussion pages:

steamcommunity.com##:matches-path(/^\/app\/[^\/]+\/discussions\/[^\/]+\/[^\/]+/) div[id^="deleted_comment_"]

(And I swear I lose some days of my life span every time I have to deal with regex...)

Yet to dig other cases, but hope it helps already!

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here