title: Chrome extensions : How to know when a tab has ajax call finished
body: <p>Now, I'm writing </p>
  
  <pre><code>function tabStatusOnChange(tabId, changeInfo)
    {
      if(changeInfo.status == "complete")
          chrome.tabs.executeScript(null, {file:"oneuniverse.js"});
    }
    chrome.tabs.onUpdated.addListener(tabStatusOnChange);
  </code></pre>
  
  <p>But it's not working for ajax page and gmail , too. How to write for ajax status complete</p>