preload.html 192 B

12345678910
  1. <html>
  2. <body>
  3. <script type="text/javascript" charset="utf-8">
  4. if (!window.test)
  5. window.test = 'window'
  6. require('electron').ipcRenderer.send('answer', window.test);
  7. </script>
  8. </body>
  9. </html>