Skip to content Skip to sidebar Skip to footer

Target=_blank Based Link In Webview In Electron.js Are Not Opening When NativeWindowOpen Is True In Parent Window

I have simple electron.js application, electron-quick-start in which I am using . By default links in which target=_blank is set does not open inside webview. There

Solution 1:

I've tried and write a gist with Electron fiddle. Perhaps I didn't catch your problem but for me it's working https://gist.github.com/deb6ed0fa37860fdfc0d51c6782f4152


Solution 2:

This was a bug https://github.com/electron/electron/pull/29874 which got fixed.

electron version 12.0.14 or higher is working fine for this problem.


Post a Comment for "Target=_blank Based Link In Webview In Electron.js Are Not Opening When NativeWindowOpen Is True In Parent Window"