Greasy Fork

Greasy Fork is available in English.

YouTube - 阻止自动播放预览和频道预告片

在所有YouTube页面上阻止缩略图悬停预览(WebP和视频)并停止频道预告片(视频+音频)。保留进度条和播放按钮。无需登录或权限,页面加载时运行。

当前为 2025-11-14 提交的版本,查看 最新版本

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

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

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
miebie.1412
评分
0 0 0
版本
1.2.4
创建于
2025-11-11
更新于
2025-11-14
大小
26.4 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.4)

  • Block annoying channel trailers completely – no loading, no playback, no 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.4)

  • Block trailer kênh phiền phức hoàn toàn – không tải, không phát, không âm thanh
  • 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