问题
I am using Cordova 6.4.0 on Android 5.1.1 (Lollipop)
When I have an element, it is supposed to open in the new window of App but it doesn't. Instead of this, it replaces my app in the CordovaWebView and I have no way of getting back to the app. I found this question in Cordova InAppBrowser and <a target="_blank"> not working this link but here url to be opened like google.com/youtube.com or any other. But I want to simply open these local html files using href tag with target = _blank Thanks for the help in advance!
回答1:
try using target="_system"
which should use the device default browser.
Cordova link reference
来源:https://stackoverflow.com/questions/41379534/a-target-blank-not-working-for-local-html-files-in-android-using-cordova