YouTube - 阻止自動播放預覽和頻道預告片

在所有YouTube頁面上阻止縮圖懸停預覽(WebP和視頻)並停止頻道預告片(視頻+音頻)。保留進度條和播放按鈕。無需登錄或權限,頁面載入時執行。

目前為 2025-11-14 提交的版本,檢視 最新版本

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

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

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

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

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

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

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

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

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

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

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

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

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

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

作者
miebie.1412
評價
0 0 0
版本
1.2.1
建立日期
2025-11-11
更新日期
2025-11-14
尺寸
27.2 KB
授權條款
MIT
腳本執行於

This script blocks YouTube's thumbnail hover previews (animated WebP & video) while preserving progress bars, play buttons, and static thumbnails. Works on all pages: homepage, subscriptions, watch, search, channels, etc.

No login required – works instantly without any settings.
No permissions. Runs at document-start.

⚙️ Key features:

  • CSS hides moving thumbnails and preview elements
  • JS removes an_webp & video-preview sources, pauses videos
  • MutationObserver + interval ensures complete blocking

What's New (v1.2.1)

  • Stop annoying channel trailers – instantly pauses video + silences audio
  • Faster & smoother – optimized code, no lag, auto-cleanup
  • Minor bug fixes and improvements

⚠️ Note:

  • Remember to enable Developer Mode in Extensions.
  • Enable Allow User Scripts in Extensions (if available), otherwise the script will not run.
  • On Safari: Use Violentmonkey (Tampermonkey not supported on macOS).

Install: Tampermonkey or Violentmonkey → Refresh YouTube.


Script chặn hiệu ứng xem trước khi hover thumbnail trên YouTube (ảnh động WebP & video), nhưng giữ nguyên thanh tiến độ, nút play và ảnh tĩnh. Chạy mọi trang: trang chủ, đăng ký, xem video, tìm kiếm, kênh...

Không cần đăng nhập – hoạt động ngay, không cần chỉnh cài đặt.
Không cần quyền. Chạy ngay khi tải trang (document-start).

⚙️ Tính năng chính:

  • CSS ẩn thumbnail động và overlay
  • JS loại bỏ nguồn an_webp & video-preview, dừng video
  • MutationObserver + kiểm tra định kỳ chặn triệt để

Cập nhật mới (v1.2.1)

  • Chặn trailer kênh phiền phức – dừng video + tắt tiếng ngay
  • Nhanh & mượt hơn – tối ưu code, không giật, tự dọn dẹp
  • Sửa lỗi nhỏ và cải thiện hiệu suất

⚠️ Lưu ý:

  • Nhớ bật Chế độ nhà phát triển trong mục Tiện ích.
  • Bật Cho phép tập lệnh của người dùng trong mục Tiện ích (nếu có), nếu không bật sẽ không cho phép script chạy.
  • Với Safari: Dùng Violentmonkey (Tampermonkey không hỗ trợ trên macOS).

Cài đặt: Tampermonkey hoặc Violentmonkey → Refresh YouTube.


Result (cursor included) / Kết quả (có con trỏ):

After