How do I refresh page when I refocus the window after being idle for a long time?
Unanswered
Indian oil sardine posted this in #help-forum
Indian oil sardineOP
Hi, how do I refresh/reload page when I refocus the window after being idle for a long time? is there a built in mechanism for this?
1 Reply
Toyger
js have window focus and blur event, you can use it, for example save time when window was blurred and then on focus check how many times passed