What is it supposed to do? Please fix it
It only gets called after user leaves the input
If a tab loses focus, setInterval callbacks are lost.
Which events are raised by which browsers following a transition.