mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
19 lines
403 B
HTML
19 lines
403 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title></title>
|
|
<script>
|
|
const {remote} = require('electron')
|
|
const browserWindow = remote.getCurrentWindow()
|
|
|
|
const handler = () => {}
|
|
browserWindow.webContents.on('remote-handler', handler)
|
|
browserWindow.webContents.on('other-remote-handler', handler)
|
|
</script>
|
|
</head>
|
|
<body>
|
|
|
|
</body>
|
|
</html>
|