miebie.1412 / YouTube - Block Autoplay Preview Thumbnail and Channel Trailer

Published:

Version: 1.2.1+3e7a14f updated

Summary: Blocks YouTube thumbnail hover previews (WebP & video) and stops channel trailers (video + audio). Keeps progress bars, play buttons, and static images. Works on all pages, no login or permissions needed, runs at document-start.

Groups:

Homepage: https://openuserjs.org/users/miebie.1412

Support: https://openuserjs.org/scripts/miebie.1412/YouTube_-_Block_Autoplay_Preview_Thumbnail_and_Channel_Trailer/issues

License: MIT

Antifeature: unspecified

This script blocks YouTube's animated thumbnail hover previews (animated WebP & video), while preserving progress bars, play buttons, and static thumbnails.
Works across the entire site: Home, Subscriptions, Watch, Search, Channel pages, and more.

Save bandwidth, reduce distractions, and enjoy a smoother YouTube experience
No login required — works instantly, no configuration needed
No permissions — Runs at document-start stage

📢 What's New (v1.2.1)

  • Refreshed the script icon with a glossy animated GIF appearance
  • Improved 50+ language translations, descriptions (accuracy & clarity)
  • Added explicit MIT license notice to source code
  • Grouped GIF blocked logs every 3s with 🌈 emoji
  • GIFs on Channel Featured/About pages now freeze via canvas replacement
  • Improved detection for ytd-post-renderer + ytd-backstage-post-renderer

⚙️ Key Features:

  • Completely blocks all animated previews (thumbnail hover, channel trailers, GIFs in posts, etc.)
  • Automatically pauses and mutes hidden preview videos (an_webp, avif, etc.)
  • 100% coverage (powered by MutationObserver), while preserving red progress bars

📥 Installation Method:

  • First time? Install Tampermonkey / Violentmonkey / Greasemonkey
    Click Install this script → Force refresh YouTube (Ctrl + F5 / Ctrl + Shift + R)
  • Tip: On Safari / macOS, use Violentmonkey (Tampermonkey also works but requires extra setup)

⚠️ Important Notes:

  • Brave users: If you encounter “An error occurred. Please try again later (Playback ID)” while switching Theater Mode ↔ Fullscreen Mode,
    Disable Shields for youtube.com or use a different userscript manager (Violentmonkey / Tampermonkey recommended)
  • If you experience black screen / delay / wrong thumbnail or audio while watching Shorts, this is a YouTube‑side issue
    → Simply reload the page or exit and re-enter the video
  • Hovering may still add videos to watch history (due to YouTube server-side changes in late 2024)
    → For full control, pause watch history
  • Enable Developer Mode and Allow User Scripts (if available), otherwise the script may not run

💬 Feedback:

  • Feel free to report issues, suggest features, or submit bug reports!

此脚本可屏蔽 YouTube 鼠标悬停时的动态缩略图预览(动画 WebP 和视频),同时完整保留进度条、播放按钮和静态缩略图。
适用于整个网站:首页、订阅页、观看页、搜索页、频道页等均覆盖。

节省流量,减少干扰,畅快浏览 YouTube
无需登录 — 安装即用,无需任何设置
无需任何权限 — 在 document-start 阶段运行

📢 更新内容 (v1.2.1)

  • 更新了脚本图标,使其呈现光泽感的动态GIF外观
  • 改进了50多种语言的翻译与描述(准确 & 清晰)
  • 在源代码中添加了明确的MIT许可证声明
  • GIF阻止日志每3秒分组显示,带🌈表情符号
  • 频道精选/关于页面的GIF现在通过canvas替换实现冻结
  • 改进对 ytd-post-renderer + ytd-backstage-post-renderer 的检测

⚙️ 核心功能:

  • 彻底屏蔽所有动态预览(缩略图悬停、频道预告片、帖子中的 GIF 等)
  • 自动暂停并静音隐藏的预览视频(an_webpavif 等格式)
  • 100% 覆盖(基于 MutationObserver 实现),同时保留红色进度条

📥 安装方法:

  • 第一次使用? 安装 Tampermonkey / Violentmonkey / Greasemonkey
    点击 安装此脚本 → 强制刷新 YouTube(Ctrl + F5 / Ctrl + Shift + R)
  • 提示:Safari / macOS 上建议使用 Violentmonkey(Tampermonkey 也可,但需要额外设置)

⚠️ 注意事项:

  • Brave 用户: 如果在切换 影院模式 ↔ 全屏模式 时出现
    "发生错误,请稍后再试(播放 ID)"
    禁用 youtube.com 的 Shields,或更换用户脚本管理器(推荐 Violentmonkey / Tampermonkey
  • 如果您在观看 Shorts 时遇到 黑屏 / 延迟 / 缩略图或音频错误,这是 YouTube 端的问题
    → 只需 刷新页面退出并重新进入 视频即可
  • 悬停可能仍会将视频添加到观看历史记录(由于 YouTube 在 2024 年末的服务器端变更)
    → 如需完全控制,暂停观看历史记录
  • 启用 开发者模式允许用户脚本(如有该选项),否则脚本可能无法运行

💬 反馈:

  • 如有问题、建议或 bug,欢迎随时反馈!

🖼️✨ Demo / 效果展示

After

  • Autoplay preview thumbnails are fully blocked — all videos remain static, with the cursor visible.
  • 自动播放预览缩略图已完全屏蔽 — 所有视频保持静态,鼠标指针可见。

Rating: 73

83 Votes
-78