jquery-idletimer icon indicating copy to clipboard operation
jquery-idletimer copied to clipboard

Listen to window blur?

Open thorst opened this issue 11 years ago • 0 comments

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
});

thorst avatar Mar 10 '14 20:03 thorst