javascript window.prompt or prompt doesn’t work in nativefier Electron

Solution for javascript window.prompt or prompt doesn’t work in nativefier Electron
is Given Below:

i build a website to desktop app with nativefier this is the link of the example website :
https://www.javatpoint.com/oprweb/test.jsp?filename=javascript-prompt-dialog-box2

The website with the browser shows the javascript prompt box but in nativefier no
Here is the picture in browser :
picture in the browser
and here is the picture in nativefier :
nativefier
the alert and confirm works good only prompt/window.prompt method ,
is there any solution with nativefier ? or prompt method alternative and thanks in advance