javascriptnode.jselectron

Make a link from Electron open in browser


Is there any (simple/built-in way) to open a new browser (I mean default OS browser) window for a link from Electron instead of visiting that link inside your Electron app ?


Solution

  • You can simply use :

    require("shell").openExternal("http://www.google.com")