使用选项_blank时,是否可以从InAppBrowser打开新的Chrome窗口?我可以从InAppBrowser中打开Facebook应用程序或新的Chrome窗口吗?
cordova.InAppBrowser.open(url, '_blank', 'location=no,hide=yes,zoom=no');
我将属性target =“_ blank”添加到页面上的所有链接,但是这不会打开一个新窗口。
有谁知道这是可能的吗?
使用选项_blank时,是否可以从InAppBrowser打开新的Chrome窗口?我可以从InAppBrowser中打开Facebook应用程序或新的Chrome窗口吗?
cordova.InAppBrowser.open(url, '_blank', 'location=no,hide=yes,zoom=no');
我将属性target =“_ blank”添加到页面上的所有链接,但是这不会打开一个新窗口。
有谁知道这是可能的吗?
使用InAppBrowser你可以调用网址,你可以根据你的平台显示一些文件。
没有办法只有«开始»其他应用程序,但您可以:
http://plugreg.com/search?q=open http://cordova.apache.org/plugins/?q=intent
如果要打开外部URL,这样说的:
http://cordova.apache.org/docs/en/latest/guide/appdev/whitelist/index.html
http://plugreg.com/plugin/EddyVerbruggen/SocialSharing-PhoneGap-Plugin
尝试使用的window.open而不是cordova.InAppBrowser.open
在我的应用程序混合我一直在使用window.open没有问题
没有必要添加_blank,因为这是默认设置..