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 -

java Extracting Zip file -

php - HTTP_REFERER woes: How can I allow access to a specific page, only when a visitor has visited another specific page beforehand? -