你正在訪問的內容是外部程式的映像位址,僅用於使用者加速訪問,本站無法保證其可靠性。當前的連結位址(單點即可複製)為 https://greasyfork.org.cn/zh-CN/scripts/540759-steam-hide-topics-comments-from-blocked-users,源站連結 點此以跳轉

Steam: Hide Topics & Comments from Blocked Users

Hides topics and comments from blocked users in Steam discussions.


點此查看下載連結位址https://update.greasyfork.org.cn/scripts/540759/Steam%3A%20Hide%20Topics%20%20Comments%20from%20Blocked%20Users.user.js

安装此脚本?
作者
Spuner
日安装量
0
总安装量
1
评分
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