YouTube - Stay Active and Play Forever

Tired of Youtube pausing playback asking you to click 'yes' to continue playing? This script will make the popup never appear, music will never stop. Never pause, never inactive, never worry. The script will keep you active and keep playing music FOREVER. Enables playing in background on mobile.

queste sono le versioni di questo script in cui il codice è stato aggiornato Visualizza tutte le versioni.

  • v3.1.1 23/09/2023
  • v3.1.0 18/02/2022

    made the code even shorter

  • v3.0.0 17/02/2022

    no longer resumes playback when paused (this interfered with system/browser controls), now it's a stay active approach. Script name changed to reflect that. Also bow enables background play on mobile.

  • v2.1.1 04/02/2022
  • v2.1.0 04/02/2022
  • v2.1.0 04/02/2022

    cleaned up code a bit, added mobile browser support

  • v2.0.0 03/02/2022
  • v2.0.0 03/02/2022

    no longer checks every second for the playing state, instantly starts playing when it gets paused, on/off button removed (i might return it at some point)

  • v1.6.3 06/05/2021
  • v1.6.2 17/03/2021

    prevent toggle when typing

  • v1.6.1 17/03/2021
  • v1.6.0 06/03/2021
  • v1.6.0 06/03/2021 renamed to indicate global youtube.com support, not just music.youtube.com
  • v1.6.0 06/03/2021 support for the main www.youtube.com domain
  • v1.5.1 04/02/2020
  • v1.5 04/02/2020 Added user pause check, so the script doesn't auto-continue playback (until checker is restarted or playback is unpaused)
  • v1.4.2 19/01/2020 updated button title to show the hotkey
  • v1.4.1 10/10/2019
  • v1.4 07/10/2019 1.3-1.4, fixed some firefox related bugs. Did some code optimizations. Added 'autostart' variable, set to true to have checker ON by default (beware of autoplay policy)
  • v1.3 05/10/2019
  • v1.2 05/10/2019
  • v1.2 05/10/2019
  • v1.1 22/09/2019
  • v1.1 22/09/2019
  • v1.1 22/09/2019 added a button complementary to the hotkey 'X'
  • v1.0 22/09/2019
  • v0.1 21/09/2019