diff --git a/src/index.js b/src/index.js index f436477..43485b0 100644 --- a/src/index.js +++ b/src/index.js @@ -11,6 +11,7 @@ function createWindow() { }, }) + // Remove external links in the browser win.webContents.on('new-window', function (e, url) { e.preventDefault() shell.openExternal(url)