M
M
Max2014-05-19 12:44:39
JavaScript
Max, 2014-05-19 12:44:39

Is it possible to make setTimeout work in an inactive tab?

There is a task - to reload the page at 00:00. It is done through setTimeout
When the tab is active - everything is fine, if the tab is not active, or the browser is minimized - the function does not work.
I know about `setInterval` and recalculation of time on tab activation, I am interested in code executions in an inactive tab.
Thank you.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question