YouTube聊天室增強

多色自動化著色用戶;非原生封鎖用戶;UI操作和功能選擇自由度;移除礙眼置頂;清理/標示洗版;發言次數統計;強化@體驗等

安装此脚本?
作者推荐脚本

您可能也喜欢YouTube Live Borderless

安装为用户样式
作者
Dxzy
日安装量
0
总安装量
5
评分
1 0 0
版本
18
创建于
2025-03-27
更新于
2025-05-04
大小
28.0 KB
许可证
MIT
适用于

全部由AI生成製作
目的:
所見的腳本都是改變整體樣式而非改進聊天體驗,所以借助AI展示另一種改進方向,
訊息量稍大也不怕…不過不是我的專業很難微調,希望哪天可以躺著享用別人的成果。
功能:
增進辨識度。指定暱稱的發言自動上色。
考量靈活度。非原生方法封鎖指定暱稱發言。
應付網路惡習。洗版檢測,自動處理。
移除聊天室置頂。
不需要的不強塞給使用者。功能皆有切換開關。

近期更新要點:
13 如果要同時使用super fast chat和此腳本、高亮自己的發言將有「bug」,需要修改 const ENABLE_CHAT_MESSAGES_BOOSTED_STAMPING = false。
17 切換模式改為雙擊、封鎖用戶也有雙模式。
17.4 調整判斷順序,被封鎖的用戶也會先經洗版檢查;改進了刪除的實行,應該能恢復預設樣式了;只有完全不在任何名單的用戶,刪除會刪掉他所有發言。兩個MESSAGE_CACHE下調。
17.5 添加回去定時移除置頂(十分鐘)。
18 新增點擊用戶ID會自動@用戶於輸入欄的功能。(觸發色彩選單改為點擊用戶頭像;避免大部分的位置彈出YT預設封鎖及檢舉選單,但對話末端可以)

操作說明:
左鍵點選聊天室用戶ID和對話的前半段就會叫出選單,(文字開關觸發過寬的問題已修復)
選擇顏色或編輯、封鎖,開啟編輯選單後點擊單個項目,就會從瀏覽器儲存中移除。(開發者工具也是可以複製到別的profile,不打算添加匯出)
清除按鈕+再次確認,可以清掉腳本的本地儲存資料。(我是沒見過幾個腳本有在給你管善後的)

點選"☑"用來隱藏功能切換開關,「懸停顯示說明文字」。
標:點擊標後點擊用戶,觸發一分鐘強調該用戶及發言的效果。再次點擊「關閉」。
頂:切換移除置頂
亮:高亮指定用戶、「左鍵雙擊」切換暱稱/對話/兩者高亮。
封:封鎖用戶對話添加刪除線+斜體字,「左鍵雙擊」切換全句隱藏。
@:固定高亮的用戶@提及其它用戶時,臨時性高亮,「樣式和切換同亮」。
洗:檢測到洗版消息加上「刪除線」標示。「左鍵雙擊」切換全句隱藏。
數:自動化統計發言次數。

最低限度只要搭配YouTube Live Borderless,最大化利用空間展示影片與聊天室。

All content is AI-generated and produced.(Only the English instructions are translated, the script is still in Chinese.)

Purpose:

Most existing scripts focus on altering overall styles rather than enhancing the chat experience. This project leverages AI to demonstrate an alternative improvement direction. Even with slightly higher message volume, it’s manageable—though fine-tuning isn’t my expertise. Hopefully, I can someday enjoy others’ polished versions effortlessly.

Features:

Improved visibility: Automatically colors messages from specified nicknames.
Flexibility: Non-native method to block messages from specific users.
Tackling spam habits: Detects spam and auto-processes it (e.g., strike-through).
Removes pinned chat messages.
User-centric design: All features come with toggle switches—no forced additions.
Recent Updates:

13. If using both Super Fast Chat and this script, set const ENABLE_CHAT_MESSAGES_BOOSTED_STAMPING = false to avoid a self-message highlighting "bug."

17. Toggle modes now use double-click; user blocking also supports dual modes.

17.4. Adjusted priority: blocked users first undergo spam checks. Improved deletion execution (default styles should now restore). Only users not on any list have all their messages deleted. Reduced MESSAGE_CACHE values.

17.5. Re-added timed removal of pinned messages (10-minute interval).

18. New: Clicking a user ID auto-inserts @username in the input field. (Color menu now triggers via profile picture clicks; avoids YouTube’s default block/report menu popups—except at message ends.)

Usage Guide:

Left-click a user ID or the first half of a message to open the menu. (Fixed: text toggle width issue.)
Choose color, edit, or block. In edit mode, clicking an item removes it from browser storage. (Dev tools can copy data to other profiles; no export feature planned.)
"Clear" button + confirmation resets all local script data. (Few scripts offer cleanup like this.)
Toggle Icons (Hover for tooltips):

✓: Hide/show toggle switches.
Tag: Click tag → click user to highlight their messages for 1 minute. Click "Close" to disable.
Pin: Toggle pinned message removal.
Highlight: Colorize specified users. Double-click to cycle modes (nickname/message/both).
Block: Adds strikethrough + italics to blocked users. Double-click to toggle full message hiding.
@: Temporarily highlights users mentioned by fixed-highlighted accounts (style matches "Highlight").
Spam: Marks spam with strikethrough. Double-click to toggle full message hiding.
Count: Auto-counts user messages.
Integration:

Minimally, pair with YouTube Live Borderless to maximize video and chat space.