title: how to capture all requests and response on the page and perform action accordin to need on every response status
body: <p>is their any way to monitor all the request made on the page triggered by script, click or anything else, it should not dependant on any script block or code just monitor what ever the request made, using jquery and javascript</p>
  
  <p>example:</p>
  
  <p>// monitor all the request made on the page.</p>
  
  <pre><code>monitor{
  
      success:function(){
  
      }
      error:function(){
  
      }
  }
  </code></pre>