YouTube Auto Like & Close Window

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

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

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

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 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)