I want to see all AJAX requests coming from a page - much like I do when using Chrome developer tools. If my code sends an XMLRequest, I know the URL. But if the request is not sent by my code, how can I see the request?  Is there some way to "listen" to all AJAX requests?
            Asked
            
        
        
            Active
            
        
            Viewed 75 times
        
    0
            
            
        
        Upperstage
        
- 3,747
 - 8
 - 44
 - 67
 
        timger
        
- 944
 - 2
 - 13
 - 31
 
- 
                    I made an honest attempt to rewrite the question to make it clearer. – Upperstage Jun 23 '15 at 15:10
 - 
                    possible duplicate of [Add a "hook" to all AJAX requests on a page](http://stackoverflow.com/questions/5202296/add-a-hook-to-all-ajax-requests-on-a-page) – Mr. Llama Jun 23 '15 at 15:13
 - 
                    If you're allowing jQuery, you can hook the `ajaxSend` and `ajaxComplete` global events. Otherwise, see [this (possibly duplicate) question](https://stackoverflow.com/questions/5202296/add-a-hook-to-all-ajax-requests-on-a-page). – Mr. Llama Jun 23 '15 at 15:14