Communication with opened window on Android after allowing popups

62 Views Asked by At

I have a web application which opens a window via JavaScript's window.open() function call and monitors the opened window. This correctly causes the "popup's blocked - enable" notification in browsers, but in the case of Chrome on Android, once the "allow" button is pressed, it opens the window anyway - other browsers do not appear to do anything.

The problem lies as window.open() has already returned null (correctly in my opinion), this prevents the parent window from checking whether the child window has been closed (among other events). I have tried calling window.open() on setInterval to try an detect when a user allows popups, but that causes chrome to keeps showing "x popups blocked".

My question is how can I get the (correct) result of window.open() once the popup has been opened (after a user clicks the "allow popup button").

0

There are 0 best solutions below