I have a scenario where I need to hit an resource handler to retrieve a document. I am doing this by opening a new window with a url of the ashx file. I am binding some events to the onunload event of the window to run after the file download is complete. However, when a browser has popups blocked, my window object is null. Is there a way I can detect this browser setting before I call window.open?
Share
No
But try this