Use pagehide event instead of beforeunload, seems to be more reliable Add a timeout and info message when opening the window fails
Use pagehide event instead of beforeunload, seems to be more reliable Add a timeout and info message when opening the window fails