I am writing an ios application using Phonegap, all I need in my application is that when a phone delay causes index.html the html page will redirect the user to my website the fact is that html does not redirect the application to my the site, I donβt if on the phone close the safari, I just need to redirect it to my site, my code is:
<html> <head> <script type="text/javascript"> function loadlink() { window.open("www.cnn.com"); } </script> </head> <body onload="loadlink()"> </body> </html>
source share