Open in native web browser


#1

Hey there,

How can I open a link in the device’s native browser? Do I have to do it somehow with javascript or can I do it in the view with a Link tag?

Thanks.


Open all links in new window
#2

Hey @seanhill, if you are in Cordova, take a look at the InAppBrowser plugin: http://cordova.apache.org/docs/en/3.2.0/cordova_inappbrowser_inappbrowser.md.html

Otherwise, you should be able to open a link by using <a href="http://google.com/" target="_blank">Click</a> or window.open


#3

target="_blank" doesn’t seem to do it, just opens up a new view, wich is useless (and you cannot even get out of).

Here’s a solution: