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

ios - iPhone/iPad different view orientations in different views , and apple approval process -

monitor web browser programmatically in Android? -

c# - Using multiple datasets in RDLC -