title: PhoneGap InAppBrowser how to disable eror page on network non available
body: <p>I am implementing a phonegap app that will get app news in form of the inappBrowser functionality. The problem is that when The users network is disconnected the url that will open is the one that says "Unable to connect to the Internet and cannot reach server at <a href="http://xxxxx.com" rel="nofollow">http://xxxxx.com</a>" this makes the user see that he is using a browser not an app per say. so I want to customise this browser page that load when network is not available</p>
  
  <pre><code>document.addEventListener("deviceready", onDeviceReady, false);
  
  // device APIs are available
  //
  function onDeviceReady() {
       var ref = window.open('http://apache.org', '_blank', 'location=yes');
       ref.addEventListener('loadstart', function(event) { alert('start: ' + event.url); });
       ref.addEventListener('loadstop', function(event) { alert('stop: ' + event.url); });
       ref.addEventListener('loaderror', function(event) { alert('error: ' + event.message); });
       ref.addEventListener('exit', function(event) { alert(event.type); });
  }
  </code></pre>