[Slightly OT] Possible to detect if browser has regained foc

Does anyone know of a way to tell if the browser has come back into
focus? I’m specifically interested in the file download situation. Is
it possible to detect that the Windows ‘Save As’ dialog box has been


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs