sindresorhus/electron-unhandled

Register it automatically on new browser windows

オープン

#1 opened on 2017/05/15

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)JavaScript (27 件のフォーク)user submission
enhancementhelp wanted

Repository metrics

Stars
 (464 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

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.

コントリビューターガイド