re: How to Detect Idle Browser Tabs with JavaScript VIEW POST


I've used this API to detect if a blur event on an input was due to tabbing and prevent showing an invalidation message if the input was left in an invalid state since tabbing back will give it back it's focus.


That’s a great example and use case of the API. Thanks a lot for the reply John.

code of conduct - report abuse