Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我们正在创建一个 PhoneGap 应用程序。条款和条件是从数据库中动态更新的。我们在那里也有 URL。当用户点击它时,有人请告诉如何在浏览器或APP中打开这个URL。
非常感谢基兰
要在默认浏览器中打开 URL,下面的代码就可以解决问题:
window.open('http://example.com', '_system');