Greasy Fork is available in English.

YouTube Prevent Playlist Autoplay

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

Ini adalah versi dari skrip ini yang kodenya telah diperbarui. Tampilkan semua versi.

  • v1.5.1 12 Desember 2023
  • v1.5.0 12 Desember 2023

    Fixed controlling autoplay not functioning (Credit to 𝖢𝖸 𝖥𝗎𝗇𝗀) and added basic Mixes support.

  • v1.4.0 18 Februari 2022

    Reworked the logic to keep the toggle button visible in the main playlist sidebar. (It still only appears in the miniplayer after a navigation action while visible.)

  • v1.3.2 13 Februari 2022

    Toggle will appear on the first load of a playlist video page. Unsure at the moment how to consistently add it since YouTube changes.

  • v1.3.1 12 Oktober 2021

    Undid previous change and added run-at property set to document-start, as events were firing before the script could initially.

  • v1.3 09 Oktober 2021

    Changing the initial hook event as the previous one was not working (at least in Firefox). Commented out in case it might still be needed by anyone.

  • v1.2.6 19 Juni 2021

    Changing missing header warning to only display when debugging to prevent console spam.

  • v1.2.5 27 Mei 2021

    Removed repetitive debug console message relating to placement of the switch.

  • v1.2.4 22 Mei 2021

    YouTube added a "computed" field, whereas the old one may be hidden. This fixes the script to point to the visible field. Commented the old selectors for now.

  • v1.2.3 19 Mei 2021

    Hover text on the switch now states if autoplay is on or off. Added more irrelevant YouTube subsites to the exclusions. Rewrote some console logs and descriptive comments.

  • v1.2.2 25 Maret 2021

    Minor Fix - Tabs back to Spaces.
    Previous Fix: null check, comment, and typo.

  • v1.2.1 25 Maret 2021
  • v1.2 21 November 2020 Toggle/Switch is now built with HTML/CSS instead of two static images. This allows for smooth transition between off/on and the ability for users to style it.
  • v1.1 21 November 2020 Somewhat more efficient header search.
  • v1.0 20 November 2020 Toggle button for autoplay is now embedded in the playlist header. The current status of autoplay is now stored and maintained when the site is loaded.
  • v0.9.2 05 November 2020 Mostly additional info.
  • v0.9.1 05 November 2020 Clearer description
  • v0.9.1 05 November 2020