<html> <body> <script type="text/javascript" charset="utf-8"> if (!window.test) window.test = 'window' require('electron').ipcRenderer.send('answer', window.test); </script> </body> </html>