Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature currently requires accessing the site using the built-in Safari browser.
function isiPhone()
{
return (ereg('iPhone|iPod',$_SERVER['HTTP_USER_AGENT'])) > 0;
}
function isiPad()
{
return (ereg('iPad',$_SERVER['HTTP_USER_AGENT'])) > 0;
}
function isiDevice()
{
return (ereg('iPhone|iPod|iPad',$_SERVER['HTTP_USER_AGENT'])) > 0;
}
if(navigator.userAgent.toLowerCase().indexOf('iphone') > -1)
location.href = 'indexmobi.html';
header('Location: http://www.example.com/');