title: Modified style of alert box (JavaScript on browser)
body: <p>How to change the default JavaScript alerts from the browser to make it better?
  I've read <a href="https://stackoverflow.com/questions/7853130/how-to-change-the-style-of-alert-box">how to change the style of alert box</a> , but it's based on the click of a button .. I mean the alert which is the default browser without having to click the button. 
  here's an example:</p>
  
  <pre><code>&lt;?php
      include 'libraries/config.php';     
  
  $id      = $_GET['id'];
  $cart_id = $_GET['cart_id'];
  
      $myqry=mysqli_query($conn,"DELETE FROM cart_order_detail WHERE id='$id'");
  
      if ($myqry)
      {
          echo "&lt;script language='javascript'&gt;alert('Are you sure want delete this item ?');document.location='order.php';&lt;/script&gt;";
      }
  ?&gt;
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/leAeM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/leAeM.png" alt="enter image description here"></a></p>
  
  <p>can possible ?</p>