简体   繁体   English

在Chrome中使用Inappbrowser PhoneGap打开链接

[英]Open link in chrome using inappbrowser phonegap

Is there a way I can open a link from my phonegap app in chrome or safari, if available else in android browser. 如果可以在Android浏览器中使用其他方法,是否可以通过chrome或safari从我的phonegap应用程序打开链接?

Currently it opens in default android browser. 目前,它在默认的Android浏览器中打开。 I have been using this way: 我一直在使用这种方式:

window.open('https://www.google.com', '_system');

I am not sure about the working, but this may help. 我不确定工作原理,但这可能会有所帮助。 You can use _blank or _new options to make this work as: 您可以使用_blank_new选项使此工作如下:

window.open('https://www.google.com', '_blank');

Or 要么

window.open('https://www.google.com', '_new');

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM