I’m more used to CEF than Electron , I wanted to give it a shot for a specific project.
I’m loading a page with LoadURL. This page contains an alert and I want to remove it (as well as prompt/confirm).
What I was doing with CEF is to modify the JSDialogHandler::OnJSDialog:
suppressMessage = true;
Is there a way to do so with Electron ? Or should I get the source code and rebuild it myself with the modification ?
Note that ipcMain.removeAllListeners(“ELECTRON_BROWSER_WINDOW_ALERT”) doesn’t seem to work for me