diff --git a/app/lib/window.ts b/app/lib/window.ts index 4bce2adf..70c11d68 100644 --- a/app/lib/window.ts +++ b/app/lib/window.ts @@ -193,6 +193,8 @@ export class Window { ipcMain.on('window-set-title', (_event, title) => { this.window.setTitle(title) }) + + this.window.webContents.on('new-window', event => event.preventDefault()) } private destroy () {