title: How to personalize alert buttons - window.confirm() and window.alert()
body: <p>I have seen many websites that have personalized their alert and confirmation boxes with different button text.</p>
  
  <p>By default, this is what the JavaScript <code>window.confirm()</code> function would output:</p>
  
  <pre><code>+-----------------------------+
  |Message from webpage         |
  +-----------------------------+
  |Popup text                   |
  |                             |
  |                             |
  |                             |
  |                             |
  |   [Ok]     [Cancel]         |
  +-----------------------------+
  </code></pre>
  
  <p>But, what if I wanted some customization like custom header text, and custom button text?</p>
  
  <pre><code>+-----------------------------+
  |My custom Header             |
  +-----------------------------+
  |Popup text                   |
  |                             |
  |                             |
  |                             |
  |                             |
  |   [HELLO]     [GOODBYE]     |
  +-----------------------------+
  </code></pre>
  
  <p>Can this be achieved in JavaScript, Jquery, or AJAX (or another language)? If so, could you please show me an example? Thanks! </p>