Answer the question
In order to leave comments, you need to log in
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 questionAsk a Question
731 491 924 answers to any question