Hacker News new | past | comments | ask | show | jobs | submit login

I used to do the same with some online-training videos which would stop when I de-focused the browser window.

I just overwrote `window.hasFocus()` to always return true in the browser console.

This felt (and still feels) like magic.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: