YouTube Chat Enhancement

Multi-color automated user highlighting;Non-native user blocking;Flexible UI operations and feature selection;Removal of distracting pinned messages;Spam cleanup/flagging;Message count statistics;Improved @mention experience

Install this script?
Author's suggested script

You may also like YouTube Live Borderless.

Install as user style
Author
xzy D
Daily installs
1
Total installs
25
Ratings
1 0 0
Version
19.2
Created
2025-03-27
Updated
2025-07-15
Size
39.9 KB
License
MIT
Applies to

Entirely AI-Generated, I tried many times.

Purpose:

Existing scripts primarily modify overall styles rather than enhance chat experiences. This AI-driven project explores an alternative improvement direction. While slightly information-dense, it addresses core needs. With zero coding skills, fine-tuning details is challenging—hopefully, others can refine this groundwork someday.

Features:

Enhanced Recognition - Auto-colors messages from specified usernames.
Flexible Moderation - Non-native blocking method for targeted users.
Anti-Spam Measures - Automated detection and processing of spam floods.
Pinned Message Removal - Eliminates distracting sticky messages.
User-Centric Design - All features come with toggle switches; no forced adoption.
Recent Updates (v13-19):

v13: Compatibility fix with "Super Fast Chat" (set const ENABLE_CHAT_MESSAGES_BOOSTED_STAMPING = false if highlighting conflicts occur).
v17: Double-click to toggle modes; dual blocking modes (mark/hide).
v17.4: Optimized processing order (blocked users undergo spam checks first); improved deletion logic; reduced MESSAGE_CACHE usage.
v17.5: Readded 10-minute pinned message auto-removal.
v18: Click usernames to auto-@ in input field (color menu now triggered by profile images; avoids YouTube's native block/report menu interference).
v19: ctrl+left click userID(open user channel). Partial bilingual support (AI-translated; accuracy not guaranteed).
v19.1 ctrl+left click profile images (change for nonamed troll user)
Operation Guide:

Left-click user icon to open menus (fixed overly sensitive text-area triggers).
Edit/block users via menu options. Changes apply to browser storage (manual export via DevTools possible; no built-in export).
Clear button + confirmation resets all local script data (rare feature among similar scripts).

Button Functions (Hover for tooltips):

🚩 標: Click to highlight targeted users/messages for 1 minute. Click again to disable.
📌 頂: Toggle auto-removal of pinned messages.
🌟 亮: Color-code specified users. Double-click to cycle name/message/both highlighting.
⛔ 封: Add strikethrough+italics to blocked users. Double-click to toggle full message hiding.
@: Mention: Temporarily highlight users mentioned by pinned accounts (uses same highlighting rules).
🧹 洗: Mark spam with strikethrough. Double-click to hide entirely.
🔢 數: Auto-track user message frequency.
☑ Toggle: Show/hide control buttons.

Optimization Tip:

Pair with "YouTube Live Borderless" to maximize screen space for simultaneous video/chat viewing.