YouTube(油管)添加到稍后观看加强版

通过 YouTube 网页端内部接口切换稍后观看和收藏夹,保留原版半隐藏拖动按钮与快捷键设置界面;新增封面悬停快捷按钮

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

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

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

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

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

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Author
Tebio
Daily installs
0
Total installs
69
Ratings
2 0 0
Version
1.3.0
Created
2024-10-05
Updated
2026-06-06
Size
60.9 KB
License
MIT
Applies to

📺 YouTube 稍后观看增强脚本 v1.3.0

🇨🇳 中文说明

🎯 视频页悬浮按钮 + 浏览页封面快捷按钮,一键管理稍后观看和收藏夹,效率翻倍!

✨ 主要功能

  • 🚀 一键操作 — 播放页悬浮按钮、浏览页卡片按钮,随时添加/移除稍后观看
  • 🖼️ 封面快捷按钮 — 首页、搜索结果、频道页等任意视频卡片直接显示“稍后观看”按钮,无需进入播放页
  • ⌨️ 自定义快捷键 — 支持组合键(Ctrl/Alt/Shift + 字母/数字),可分别为稍后观看和每个收藏夹设置快捷键
  • 📋 收藏夹支持 — 将视频添加到任意收藏夹,支持批量选择并添加
  • 🎨 智能 UI — 播放页按钮贴边半隐藏、可拖动;卡片按钮智能定位,预览播放器出现时自动隐藏
  • 🌍 多语言 — 支持简体中文、繁体中文、英语
  • 🎛️ 设置面板 — 统一管理快捷键、刷新收藏夹列表

🎮 使用方法

📄 视频播放页(/watch)

  • 红色按钮:点击添加/移除“稍后观看”
  • 黑色按钮:打开设置面板
  • 拖动:长按按钮区域可自由拖动位置,自动记忆

🌐 浏览页面(首页、搜索、频道等)

  • 每个视频卡片上会自动出现 + 稍后观看 / ✓ 已添加 按钮
  • 点击按钮即可添加或移除,状态即时反馈
  • 鼠标悬停触发视频预览时,按钮会自动隐藏,不会遮挡画面

⌨️ 快捷键(均需组合键)

功能 默认快捷键 说明
稍后观看 Ctrl+W 在播放页快速切换稍后观看状态
各收藏夹 自定义 在设置面板为每个收藏夹单独指定

打开设置面板 → 点击输入框 → 按下组合键即可录制快捷键。

📁 收藏夹管理

  1. 在播放页打开设置面板,点击 刷新收藏夹列表
  2. 为收藏夹点击输入框设置专属快捷键
  3. 勾选多个收藏夹后,点击 “添加到选中收藏夹” 可批量添加当前视频

🔄 更新日志 v1.3.0

  • 🆕 新增浏览页封面快捷按钮:在首页、搜索结果、频道等页面的视频卡片上直接显示“稍后观看”按钮
  • 🆕 按钮优先放置在标题等元数据区域,不遮挡封面的时长信息
  • 🆕 当 YouTube 弹出预览播放器时按钮自动隐藏,体验更干净
  • 🆕 自动屏蔽 YouTube 原生的稍后观看覆盖按钮,避免功能重复
  • 🆕 实时监听页面变化(SPA 路由、无限滚动),新出现的卡片自动获得按钮
  • 🐛 修复部分场景下按钮状态不同步的问题
  • ⚡ 优化按钮响应速度,点击后立即更新状态

💡 更早版本 (v1.1) 新增了收藏夹快捷键、组合键支持与设置面板优化。


⚠️ 注意事项

  • 播放页悬浮按钮仅出现在 /watch 页面;卡片按钮出现在浏览页面
  • 仅支持 YouTube 网站,不适用于嵌入页面或第三方客户端
  • 自定义快捷键不要与浏览器或 YouTube 自带快捷键冲突
  • 如果按钮没有出现,刷新页面或等待脚本自动重新扫描

☕ 支持作者

如果这个脚本对你有帮助,欢迎请我喝杯咖啡 ☕
Donation QR Code
扫描二维码或点击图片通过微信支持


🇺🇸 English Description

🎯 Floating button on watch page + quick buttons on browse page — manage Watch Later and playlists effortlessly!

✨ Key Features

  • 🚀 One-click toggle — Add/remove videos from Watch Later via floating button or card buttons
  • 🖼️ Thumbnail quick buttons — "Watch Later" buttons appear on video cards on home, search, channel pages
  • ⌨️ Custom shortcuts — Assign key combinations (Ctrl/Alt/Shift + key) for Watch Later and each playlist
  • 📋 Playlist support — Add videos to any playlist, with batch selection
  • 🎨 Smart UI — Watch page button is draggable & auto-hides; card buttons auto-hide during preview playback
  • 🌍 Multi-language — Simplified Chinese, Traditional Chinese, English
  • 🎛️ Settings panel — Manage shortcuts, refresh playlist list

🎮 How to Use

📄 Watch Page (/watch)

  • Red button: Toggle Watch Later
  • Black button: Open settings panel
  • Drag: Long press to reposition the buttons

🌐 Browse Pages (Home, Search, Channels)

  • A + Watch Later or ✓ Added button appears on each video card
  • Click to instantly add or remove; status updates immediately
  • Button auto-hides when a preview player pops up

⌨️ Shortcuts (all require modifiers)

Function Default Description
Watch Later Ctrl+W Toggle Watch Later on the watch page
Per playlist Custom Assign via settings panel

📁 Playlist Management

  1. On a watch page, open settings and click Refresh playlists
  2. Click the input box next to a playlist and press a key combo to assign shortcut
  3. Select multiple playlists and click Add to selected for batch action

🔄 Changelog v1.3.0

  • 🆕 Quick Watch Later buttons on video cards for home, search, channel pages
  • 🆕 Smart placement near metadata, avoiding thumbnail duration overlap
  • 🆕 Auto-hide when YouTube’s preview player appears
  • 🆕 Native overlay toggle buttons are hidden to avoid duplicates
  • 🆕 Real-time DOM monitoring for SPA navigation and infinite scroll
  • 🐛 Fixed state sync issues in some cases
  • ⚡ Instant UI feedback with optimistic updates

Previous versions added playlist shortcuts and combination key support.

⚠️ Notes

  • Floating button only on /watch; card buttons on browse pages
  • Works on youtube.com only, not embedded or third-party clients
  • Avoid shortcut conflicts with browser/YouTube hotkeys

☕ Support the Author

If this script helps, consider buying me a coffee ☕
Donation QR Code
Scan QR code to support via WeChat