Page an in webview in nwjs calls the window.open method to open page b, if page b can operate page a.

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?

Aug.23,2021

No.


Hello, have you solved your problem

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3800e-2c0f6.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3800e-2c0f6.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?