YouTube Auto Like & Close Window

Automatically likes the video and closes the window when the video has ended.

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
RichardG
日安装量
0
总安装量
1
评分
0 0 0
版本
1.4
创建于
2025-04-10
更新于
2025-05-22
大小
1.3 KB
许可证
MIT
适用于

Automatically likes the video and closes the browser tab when the video has ended. Requires YouTube to be in English (US) language or you to adjust the selector (first parameter) in the "waitForElement" function.

Open multiple video tabs in your chrome browser (like a queue or playlist), activate the script on the first video and see how chrome switches browser tabs to the next YouTube video automatically so you don't have to switch tabs and like the videos manually.

Have fun!

Note:
a) Doesn't work with youtube ads enabled. Either you add your own bypass (like monitor switching video elements) or activate uBlock Origin Lite (by the time writing) if possible.
b) Reload the page if Tampermonkey doesn't grab the video page first time (e.g. when navigating from youtube.com to youtube.com/watch?=XYZ)