I have spent a lot of time reading several approaches about this subject. None of the suggestions seem to work for me though. I would like to make the adress bar of a browser under Android/iPhone etc. disappear to get a native app feeling. At the moment I am trying to make this happen for Android (Chrome). I hoped it would be easy with the new Chrome version because it hides the bar when scrolling. But using window.scrollTo(x,y) just scrolls the page without making the address bar disappear.

I hope anybody can help me.

有帮助吗?

解决方案

request full screen. i'm not sure if your users wil like it.

http://updates.html5rocks.com/2011/10/Let-Your-Content-Do-the-Talking-Fullscreen-API

其他提示

ios

<link rel="apple-touch-icon" href="images/Application/IpadIcon.png">
<link href="images/Application/SplashScreen.png" media="(device-width: 768px) and   (orientation: landscape)" rel="apple-touch-startup-image">
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top