How to prevent Youtube from randomly pausing video

katopz
katopz
Nov 6 · 1 min read

Video paused. Continue watching? dialog is super annoying! Here’s how I get rid of it.

STOP ASKING!

TLDR

R

Yes!

How it work?

  1. Watch for dialog, If “Yes” exist just click it programmatically. — This approach won’t work when window is not focus due to a DOM event for rendered not trigger and also click action is not perform properly.
  2. Watch for paused event, then perform play programmatically. — This work all the time so we also have to watch a mouse movement event for “intended” pause otherwise it will play (only pause from Youtube will trigger not from human click)

You can copy and paste in your browser console and run it or download google chrome extension (no spam I do use it too!)

For doing this I’ve to spend $5 and working hour+coffee for submit to chrome extension so any is welcome! ;)


To support content like this please feel free to tip me via… Thanks!

katopz

Written by

katopz

DLT & ML Debugger

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade