<html> <body> <script type="text/javascript" charset="utf-8"> require('electron').ipcRenderer.sendToHost('channel', 'arg1', 'arg2'); </script> </body> </html>