here is my problem:
I have a chrome application that, using webview, shows external content. In that content, there is a webpage that uses window.open and to open new windows and those windows use window.opener to communicate back to the page.
However, if i use window.open to open a new window inside a webview, window.opener in that window is set to null. Is there any way to make this work?
Btw i use this hook to open webpages:
webview.addEventListener('newwindow', function(e){
e.preventDefault();
window.open(e.targetUrl)
})