title: Replace 'Prompt' in on Electron
body: <p>How to replace the function of javascript <code>prompt</code> in electron? </p>
  
  <p>Can someone give me an example? </p>
  
  <p>I tried to use the function <code>prompt</code>, but got an error: </p>
  
  <blockquote>
    <p>Uncaught Error: prompt() is and will not be supported.  </p>
  </blockquote>