title: How to execute script using BrowserWindow object in Electron?
body: <p>I have a <a href="http://electron.atom.io/docs/v0.35.0/api/browser-window/" rel="nofollow">BrowserWindow</a> object that pointing to a website.</p>
  
  <pre><code>mainWindow.loadUrl('http://example.com/');
  </code></pre>
  
  <p>Now I want to execute scripts on this website, so I'm looking for a <a href="http://electron.atom.io/docs/v0.35.0/api/browser-window/#methods" rel="nofollow">method</a> like <a href="https://github.com/nwjs/nw.js/wiki/Window#windowevalframe-script" rel="nofollow">window.eval</a> in node-webkit, but I have not found. Anyone know?</p>
  
  <p>Thanks in advance!</p>