You can detect whether the new window was blocked by a popup blocker.
You can use the onbeforeunload event to detect when the new window is closed.
You can detect whether the new window was blocked by a popup blocker.
You can use the onbeforeunload event to detect when the new window is closed. window.open features