jquery-idletimer
jquery-idletimer copied to clipboard
Listen to window blur?
Is it out of scope to listen to and raise events when a users blurs the window.
Example would be:
- minimizing browser
- switching tabs
- Clicking another application
$(window).focus(function() {
//do something
});
$(window).blur(function() {
//do something
});