【phonegap】用本地浏览器打开网页

<a id="ssl2" href="#" onclick="openLocalExplorer()">请点击跳到页面</a>
function openLocalExplorer()
  {
    try {
      navigator.app.loadUrl(encodeURI('http://121.14.64.122:10013/static/download.html'), { openExternal:true});
    }
    catch (e) {
      alert(e.name + ":" + e.message);
    }
  }

在3.6版本测试通过

原文地址:https://www.cnblogs.com/linn/p/4140323.html