sindresorhus/electron-unhandled
Auf GitHub ansehenRegister it automatically on new browser windows
Open
#1 geöffnet am 15. Mai 2017
enhancementhelp wanted
Beschreibung
Would be nice to have an opt-in option to have it register the handler on all new browser windows.
Could do something like this:
app.on('browser-window-created', (e, win) => {
win.webContents.executeJavaScript('');
});
And execute some JS that includes it.