Open weblinks in external browser when using Phonegap

By | April 6, 2013

To prevent a Phonegap-wrapped app from opening external links in the apps webview, use javascript to open the link in the external browser.

This works on Android (probably other platforms as well)

<a href="#" data-rel="external" target="_blank" onclick="'', '_system')">Jymden</a>

Leave a Reply

Your email address will not be published. Required fields are marked *