Steam: Hide Topics & Comments from Blocked Users

Hides topics and comments from blocked users in Steam discussions.

目前為 2025-06-25 提交的版本,檢視 最新版本

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
Spuner
評價
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