YouTube Playlist Autoplay Button

Allows the user to toggle autoplaying to the next video once the current video ends. Stores the setting locally.

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

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

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

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

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

Autor
𝖢𝖸 𝖥𝗎𝗇𝗀
Denně instalací
0
Celkem instalací
501
Hodnocení
10 0 0
Verze
2.0.9
Vytvořeno
11. 12. 2023
Aktualizováno
13. 04. 2025
Size
14,4 KB
Licence
GNU GPLv3
Spustit na

Origin of the script

License

Description

YouTube Prevent Playlist Autoplay / YouTube Playlist Autoplay Button

Some time ago, YouTube stopped providing the option for users to control autoplaying the next video within a playlist. This change disregards playlists such as Watch Later, where you may want to stop at the end of the current video or wait until the end to comment. (Especially problematic if the video in question doesn't have an end screen which would give you time to pause before the main content ends.)

This script works by controlling the property "canAutoAdvance_" which is set by YouTube. When this property is set to false, the playlist will not autoplay the next video.

After installation, an autoplay toggle switch will be visible in the playlist headers on YouTube's website. Toggled left (default gray) prevents autoplay and toggled right (default blue) allows autoplay. The status of this toggle is stored locally and restored when the site is visited again from the same browser, so long as localStorage is not cleared.

Remarks

  • It uses the technlogy same as Tabview Youtube and YouTube Super Fast Chat to achieve the robust implementation and high performance.
  • This userscript supports ScriptCat, Violentmonkey, Tampermonkey, Firemonkey, Stay, MeddleMonkey, etc. EXCEPT GreaseMonkey.

Testing

https://www.youtube.com/watch?v=T9yGcKlYAiw&list=PLD954AD90548599FE

Screenshot