I’m working on an electron app and using the mainWindow.webContents.on(‘new-window’) event listener.
According to electron docs on Mac, disposition can be new-window but I’ve only been successful in getting it to equal either foreground-tab or background-tab.
foreground-tab is Cmd + Shift + Click and background-tab is Cmd + Click. Does anyone know the shortcut to make the disposition equal to new-window?