使用说明 / Instructions
该脚本用于在 YouTube 中快捷保存当前视频到“稍后观看”。
This script allows you to quickly save the current video to "Watch Later" on YouTube.
功能 / Function
- 通过右侧悬浮按钮或快捷键触发。
- Trigger using the floating button on the right or the designated shortcut key.
- 默认快捷键为 W,可在右侧的设置按钮中进行修改。
- The default shortcut key is W, which can be modified in the settings button on the right.
注意事项 / Precautions
本脚本通过模拟点击隐藏元素来实现功能,设置了 3.5s 的延迟,以应对元素显示速度的限制。
This script simulates clicking hidden elements and includes a 3.5s delay to accommodate visibility speed limitations.
- 如果网络速度较快,元素将正常加载,脚本将顺利运行。
If the internet speed is fast enough, the elements will load correctly, and the script will run smoothly.
- 如果网络速度较慢,可能会出现元素加载失败,导致 YouTube 重复提示“已添加到稍后观看”或“已移除”。
If the internet speed is slow, elements may fail to load, resulting in repeated notifications from YouTube such as "Added to Watch Later" or "Removed."
若修改按钮冷却逻辑为:判断元素出现后再模拟点击以结束按钮冷却。
If you change the button cooldown logic to check for element appearance before simulating the click to end the cooldown.
在这种情况下,如果网络速度过慢,按钮可能会一直保持灰色状态。
In such cases, a slow internet connection may cause the button to remain grayed out indefinitely.
因此,经过综合测试,当前方法是将视频添加到“稍后观看”的最佳方案。
Thus, after comprehensive testing, the current method is the optimal solution for adding videos to "Watch Later."
本脚本在简体中文和英语(美国)环境下正常运行,其他语言可能会出现问题。
This script functions correctly in Simplified Chinese and English (US), but may not work properly in other languages.
欢迎来自世界各地的朋友们提出建议,帮助解决语言方面的问题。
Suggestions from friends around the world to address language issues are welcome!
如有其他问题,请联系:[email protected]
For any other inquiries, please contact: [email protected]
支持作者/Support the Author:
https://gitee.com/tebiozak/picture/raw/master/1728135824453b6d9a760d2989322c25fcd10e86a88a.jpg