Greasy Fork

Greasy Fork is available in English.

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

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

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

您需要先安装一个扩展,例如 篡改猴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.3.0
创建于
2025-11-11
更新于
2025-11-15
大小
29.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:

  • Blocks animated thumbnails, hover previews & channel trailers
  • Removes an_webp & video previews, pauses + mutes videos
  • Uses MutationObserver + interval for full coverage
  • Stops GIF auto-play & flashing in Posts section

What's New (v1.3.0)

  • Added GIF blocking in *Posts* (no more flashing)
  • Added Lao language (lo)
  • Faster dynamic content detection
  • Improved stability

⚠️ 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:

  • Chặn ảnh động, xem trước khi rê chuột & trailer kênh
  • Xóa an_webp & video preview, tạm dừng + tắt tiếng
  • Dùng MutationObserver + vòng lặp để chặn toàn diện
  • Ngăn GIF tự chạy & nhấp nháy khi chuyển slide trong *Bài đăng*

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

  • Thêm chặn GIF trong *Bài đăng* (không còn nhấp nháy)
  • Thêm ngôn ngữ Lào (lo)
  • Phát hiện nội dung động nhanh hơn
  • Tăng độ ổn định

⚠️ 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