Force the app to be single-windowed (force target="_self")


#1

Hi, I’m writting a simple code to run a webapp with Electron. Thing is the main page let us choose a project and opens it in a new tab. For comfort reasons I’d like the desktop app to be single-windowed and therefore force the target="_blank" to act like target="_self".

I can’t touch the website’s code at all so I can’t use ipc to manipulate the dom. I’ve search for options to forbid child window or something but I haven’t found anyhing helpful yet.

Does anyone have an idea ?
Thanks !