Skip to content

Instantly share code, notes, and snippets.

@adanarchila
Forked from anonymous/PhoneGap URL Test
Created August 30, 2013 03:07
Show Gist options
  • Save adanarchila/6385957 to your computer and use it in GitHub Desktop.
Save adanarchila/6385957 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="format-detection" content="telephone=no" />
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi" />
<title>Hello World</title>
<script type="text/javascript" src="cordova-2.5.0.js"></script>
</head>
<body>
<a href="#" onclick="var ref = window.open('http://google.com', '_system');">Google (System Browser)</a><br /><br />
<a href="#" onclick="var ref = window.open('http://google.com', '_blank');">Google (InAppBrowser)</a><br /><br />
<a href="#" onclick="var ref = window.open('http://google.com', '_self');">Google (Webview)</a>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment