Greasy Fork is available in English.

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.

Tekijä
Tad Wohlrapp
Päivittäiset asennukset
0
Asennuskerrat
348
Arvostelut
1 0 0
Versio
0.2.0
Luotu
31.12.2023
Päivitetty
31.1.2024
Lisenssi
MIT
Käytössä

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.