使用選項_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,因爲這是默認設置..