I have some replaying functionality working by using Javascript and the window.onload
function.
However when I go to some other page and then come back to the web application (with the onload
function) it's no longer working since the page has not been refreshed (or loaded).
Is there a way I could refresh the functionality in the window.onload
function if the user doesn't close off the page but it's in the background and after a while comes back and have it on focus?
Edit - bad question. After testing I realised this behaviour is with chrome only but works fine in IE and firefox. Sorry guys, I really thought it was a bug