mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
10 lines
199 B
HTML
10 lines
199 B
HTML
<script>
|
|
const { ipcRenderer } = require('electron')
|
|
window.onload = () => {
|
|
setInterval(() => {
|
|
ipcRenderer.send('test')
|
|
}, 0);
|
|
window.location.replace("https://example.com");
|
|
}
|
|
</script>
|