Disable YouTube Autoplay

Keeps checking if autoplay got enabled by itself and disables it. This stops YouTube from forcing you to watch some random video next after the one you're currently watching ends, even if you disabled autoplay.

目前為 2024-01-31 提交的版本,檢視 最新版本

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

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

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

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

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

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

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
Tad Wohlrapp
評價
0 0 0
版本
0.2.0
建立日期
2023-12-31
更新日期
2024-01-31
尺寸
2.6 KB
授權條款
MIT
腳本執行於

Disable YouTube Autoplay

Recently, it seems that YouTube has introduced a new type of anti-feature that consistently re-enables autoplay for videos. Even after disabling autoplay, it reverts to being enabled again within a minute, and this cycle repeats continuously. Note: this behavior occurs when you're watching a single video and is unrelated to queues or playlists.

To tackle this issue, I have developed this simple userscript. It checks every 500ms (twice a second) if autoplay is enabled, and if it is, the script promptly disables it once more. Additionally, a small counter within the autoplay toggle button displays how many times autoplay has been deactivated for the current video.

Demo GIF

Installation

To use userscripts you need to first install a userscript manager. They come as extensions for various browsers:

After you have installed a userscript manager, head over to greasyfork.org/scripts/483523 and click on the green "Install this script" button there.