I'm building a Chrome extension that manipulates the content of the page, but the content I'm interested in only shows up when the user has clicked a button and the data has then been loaded from an Ajax call.
At the moment the extension monitors the page with a SetTimeout but it's clumsy.
Can an extension know when an Ajax call has been initiated, and when it ended? or can the extension somehow receive events from the page?