1. I made a shell out of nwjs. The webview tag is used in it. The
webview tag listens for the newwindow method
_webview.addEventListener("newwindow", (e) => {
nw.Window.open(e.targetUrl, {
new_instance: false,
focus: true,
}, (new_win) => {
});
});
because targeturl needs to be logged in to display, after calling the nw.Window.open method, it jumps to the login page.
how can I keep the login on the page they can open with the nw.Window.open method?