Greasy Fork

Greasy Fork is available in English.

YouTube - Block Autoplay Preview

Blocks thumbnail hover previews (WebP & video) on all YouTube pages. Keeps progress badges and play buttons.

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

您需要先安装一个扩展,例如 篡改猴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.1
创建于
2025-11-11
更新于
2025-11-11
大小
2.7 KB
许可证
MIT
适用于

English
This script completely blocks YouTube's thumbnail hover previews (animated WebP & video) while fully preserving:

  • Progress badges (watched percentage)
  • Play button overlay
  • Static thumbnail images

Works on all YouTube pages: homepage, subscriptions, watch, search, channels, etc.
No permissions required. Runs instantly at page load.

Key features:

  • CSS: Hides moving thumbnails and preview overlays
  • JS: Blocks an_webp & video-preview sources, pauses videos
  • MutationObserver: Monitors DOM changes
  • Interval check: Ensures no previews appear

Installation: Install via Tampermonkey or Violentmonkey → Refresh YouTube.


Tiếng Việt
Script chặn triệt để hiệu ứng xem trước video khi hover thumbnail trên YouTube (cả ảnh động WebP và video), nhưng vẫn giữ nguyên:

  • Badge tiến độ (phần trăm đã xem)
  • Nút play trên ảnh
  • Ảnh thumbnail tĩnh

Hoạt động trên mọi trang YouTube: trang chủ, đăng ký, xem video, tìm kiếm, kênh, v.v.
Không cần cấp quyền. Chạy ngay từ khi trang tải.

Tính năng chính:

  • CSS: Ẩn thumbnail động và overlay
  • JS: Chặn nguồn an_webp & video-preview, tạm dừng video
  • MutationObserver: Theo dõi DOM thay đổi
  • Kiểm tra định kỳ: Đảm bảo không có preview lọt lưới

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


Result (cursor included): After