Currently, I am working on a Firefox extension that is designed to analyze the HTML content of web pages after they have been loaded in the browser. While I have successfully captured events like form submissions and link clicks, I am facing an issue with AJAX requests that silently submit data and update parts of the page without triggering these events. Can anyone suggest a method for trapping AJAX requests and responses within a Firefox add-on?