look997 Author Nov '14 https://github.com/look997/PNYT Codehttps://github.com/look997/PNYT/blob/master/pnyt.user.js I have a small script to YouTube. The problem started since the videos load without refreshing the page. popstate event is not enough - it works only when the back / forward-button. The "setTOFun ()" should be performed each time you charge the new film. How to do it?