Steam: Hide Topics & Comments from Blocked Users

Hides topics and comments from blocked users in Steam discussions.

作者
Spuner
今日安裝
0
安裝總數
0
評價
0 0 0
版本
1.0
建立日期
2025-06-25
更新日期
2025-06-25
尺寸
3.0 KB
授權條款
未知
腳本執行於

This userscript automatically hides topics and comments in Steam discussions that were posted by users you have blocked. It helps clean up the discussion interface by removing unwanted content from view.

What the script does:

Hides topics labeled with “Topic created by a blocked user”.
Hides comments marked with “User is blocked”.
Automatically tracks dynamic content updates (such as infinite scrolling or tab changes) and applies the filters in real time.
Logs the number of hidden elements in the browser console (e.g., [Steam Blocker] Topics hidden: X, [Steam Blocker] Comments hidden: Y).

How it works:

Uses a MutationObserver to watch for DOM changes and applies the filtering rules as new elements load.
Searches for specific labels in the topic and comment sections to identify blocked users.
Hides the corresponding DOM elements by setting display: none.

Technical details:

Requires no additional permissions.
Does not perform any network requests.
Loads at document-start for maximum efficiency.
Active only on URLs matching https://steamcommunity.com/app/*/discussions*.

Compatibility:

• Tampermonkey
• Violentmonkey
• FireMonkey
• Not tested on mobile browsers

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址