javascript - Detect if user closes popup when using gapi.auth.authorize -


using gapi.auth.authorize function, user can close popup without clicking option (no accept or deny button). when case happens, callback function doesn't fire, can't handle case. what's way resolve scenario?

thanks.

they don't appear mention in documentation, gapi.auth.authorize() returns popup window. can save returned window , set interval or timeout check window.closed.


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -