2017-01-12 23:02:24 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<title></title>
|
|
|
|
<script>
|
|
|
|
const {remote} = require('electron')
|
|
|
|
const browserWindow = remote.getCurrentWindow()
|
|
|
|
|
2017-01-13 00:31:02 +00:00
|
|
|
const handler = () => {}
|
|
|
|
browserWindow.webContents.on('remote-handler', handler)
|
|
|
|
browserWindow.webContents.on('other-remote-handler', handler)
|
2017-01-12 23:02:24 +00:00
|
|
|
</script>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|