title: Electron opening link inside the same window
body: <p>I am new with eletron framework and i am using below code to open a new window from my electron app, but how can i open a link inside the same/parent window?</p>
  
  <p>My parent window is a HTML file.</p>
  
  <pre><code> &lt;a href="#" onclick="myFunction()"&gt;google&lt;/a&gt; 
  
                     &lt;script&gt;
                          function myFunction() {
                          const remote = require('electron').remote;
                          const BrowserWindow = remote.BrowserWindow;
  
                          var win = new BrowserWindow({ width: 800, height: 600 });
                          win.loadURL('http://www.google.com');
                          }
                          &lt;/script&gt;
  </code></pre>