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

Published:

Version: 1.1.1+fef4df0 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_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 on all pages: homepage, subscriptions, watch, search, channels, etc.

Save bandwidth and reduce distractions while browsing YouTube
No login required – works instantly, without any configuration
No permissions. Runs at document-start

📢 What's New (v1.1.1)

  • Added Punjabi (pa) translation
  • Removed Swahili (sw) - not supported as a browser language
  • Improved localization metadata and code performance

⚙️ Key features:

  • Blocks all animated previews (thumbnails, hover, trailers, GIFs in Posts)
  • Auto-pauses & mutes hidden preview videos (an_webp, avif etc.)
  • 100% coverage via MutationObserver - keeps red progress bars

📥 Install:

  • First time? Install Tampermonkey/Violentmonkey/Greasemonkey
    Click Install this scriptHard refresh (force reload) YouTube (Ctrl + F5/Ctrl + Shift + R)
  • Quick tip: On Safari/macOS, use Violentmonkey (Tampermonkey works but needs extra setup)

⚠️ Note:

  • Brave users: If you see “An error occurred. Please try again later + Playback ID” while switching Theater ModeFullscreen Modedisable Shields just for youtube.com or use a different userscript manager (Violentmonkey/Tampermonkey work best)
  • Hovering may still add videos to watch history due to YouTube server-side changes (late 2024) – pause watch history for full control
  • Enable Developer Mode and Allow User Scripts (if available) in Extensions, otherwise the script won’t run

💬 Feedback:

  • Got any questions, ideas, or bugs? Just let me know anytime!

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

省流量、减少干扰,畅快刷 YouTube
无需登录 – 安装即用,无需任何设置
零权限。document-start 阶段运行

📢 更新内容 (v1.1.1)

  • 新增旁遮普语(pa)翻译
  • 移除斯瓦希里语(sw)- 不支持浏览器显示
  • 优化本地化元数据和代码性能

⚙️ 核心功能:

  • 彻底屏蔽所有动态预览(缩略图悬停、频道预告片、帖子里的 GIF 等)
  • 自动暂停并静音隐藏的预览视频(an_webp, avif 等格式)
  • 100% 覆盖(使用 MutationObserver),红色进度条完美保留

📥 安装方法:

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

⚠️ 注意事项:

  • Brave 用户: 如果在切换 影院模式全屏模式 时看到 “发生错误。请稍后再试 + 播放 ID”,→ 禁用 仅适用于 youtube.comShields 或者 使用不同的用户脚本管理器Violentmonkey/Tampermonkey 最为有效)
  • 悬停 可能仍然会将视频添加到观看历史记录,因为 YouTube 服务器端的变化(2024 年末)– 暂停观看历史 以获得完全控制
  • 在扩展中启用 开发者模式允许用户脚本(如果可用),否则脚本将无法运行

💬 反馈:

  • 有问题、建议或者 bug 随时来找我哦!

🖼️✨ Result / 效果演示

After

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

Rating: 23

23 Votes
-23