Greasy Fork is available in English.

Anti-Autoplay on Twitch

Disable Autoplay on Twitch's Homepage

< Opiniones de Anti-Autoplay on Twitch

Puntuación: Pasable; el script funciona, pero tiene carencias importantes

§
Publicado: 02/03/2022

This script is almost working for me but the video was pausing only about half of the times. I looked a bit at the code and did some debugging...
It seemed like sometimes the script tries to pause the video before it "officially" starts playing so I added a small delay for the .pause method:

At line 48, I replaced "video.pause();" with "Delayed_Pause = setTimeout(function() {video.pause()}, 100);"

I only tested this for a dozen of page reloads and it seams to work a lot better with this but it still skip pausing for about 10% of the time, which I don't really know what is causing this...

Using Chrome v98.0

Publicar respuesta

Inicia sesión para responder.