In Chrome\'s JavaScript console, if I run this:
var that = new XMLHttpRequest(); that.open(\'GET\', \'http://this_is_a_bad_url.com\', false); that.send();
Look into the onreadystatechange event. You can get the status of the response.