title: How to read alert message with javascript?
body: <p>There is website that alerts you with a text according to what you have done in the page.</p>
  
  <p>I want to read that message with JavaScript so I can write some code according to what the page have shown in the popup text.</p>
  
  <pre><code>alert("message");
  </code></pre>
  
  <p>I just need to know what the "message" is!</p>
  
  <p>The website that I'm trying to get message from is coded with asp.net.What should I do with that if it's impossible to read the message with JS.</p>