title: Is it possible to use JavaScript to track a http status of a URL at any domain?
body: <p>For example, I want to check whether some service of Google is working correctly from my site, can I have something like this:</p>
  
  <pre><code>// This is on my site
  getWebsiteStatus('http://www.google.com/someservice', function(status){
    alert(status); // can be the status code like "200" or "404" or "500"
  });
  </code></pre>