mirror of
https://github.com/electron/electron.git
synced 2026-02-09 14:45:29 -05:00
10 lines
232 B
HTML
10 lines
232 B
HTML
<html>
|
|
<body>
|
|
<script type="text/javascript" charset="utf-8">
|
|
const {ipcRenderer} = require('electron')
|
|
const popup = window.open()
|
|
ipcRenderer.send('answer', {windowOpenReturnedNull: popup == null})
|
|
</script>
|
|
</body>
|
|
</html>
|