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
Post a Comment