YouTube Comment Toggle

Hides or shows the comment section per channel with a dedicated toggle button.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

作者
tac-tac-go
今日安裝
0
安裝總數
16
評價
1 0 0
版本
1.1
建立日期
2026-02-16
更新日期
2026-02-16
尺寸
4.2 KB
授權條款
MIT
腳本執行於

YouTube Comment Toggle

Silence the noise or join the conversation with a single click.

This lightweight userscript adds a "Show/Hide Comments" toggle button specifically for YouTube. Unlike global comment blockers, this script remembers your preference per channel, allowing you to curate your experience.


🚀 Features

  • Per-Channel Persistence: Hidden channels stay hidden; visible ones stay visible. Even after refreshing.
  • CSS-Based Stability: Uses high-priority CSS rules to ensure the comment section doesn't "flicker" or reappear during page navigation.
  • Minimalist UI: The toggle button blends seamlessly into the YouTube interface (right next to the Subscribe button).
  • Privacy First: No external tracking. Your blacklist is stored locally in your browser.

🛠️ How to Use

  1. Install the script.
  2. Open any YouTube video.
  3. Look for the "🔇 Hide Comments" button near the channel name.
  4. Click it to instantly hide the comment section for that specific creator.
  5. Want to see them again? Just click "📢 Show Comments".

📝 Technical Note

This script uses GM_getValue and GM_setValue for storage. It is optimized for the YouTube Single Page Application (SPA) architecture, ensuring the button correctly updates even when navigating between videos.