I know you can hide the address bar on iPhone/iPad/Android using the window.scrollTo
thing. However, nothing seems to get rid of the address bar on iPad. The only workaround I found was to add a meta tag and then let the user add the page to their home screen.
Am I missing something? Can you hide the address bar on iPad safari using some other trickery?
I know you can hide the address bar on iPhone/iPad/Android using the window.scrollTo
thing. However, nothing seems to get rid of the address bar on iPad. The only workaround I found was to add a meta tag and then let the user add the page to their home screen.
Am I missing something? Can you hide the address bar on iPad safari using some other trickery?
Share Improve this question asked Sep 16, 2011 at 19:27 David HellsingDavid Hellsing 109k44 gold badges180 silver badges214 bronze badges 2- Reference to window.scrollTo() code. – epascarello Commented Sep 16, 2011 at 19:56
- If you don't mind me asking, why would you want to do this? To me, it feels like an extremely horrible idea to muck around with the user experience of the users browser, and hiding the address bar themselves isn't very hard, is it? – Andreas Eriksson Commented Jan 3, 2013 at 13:50
1 Answer
Reset to default 4It seems only be possible with the workaround you mentioned:
<meta name="apple-mobile-web-app-capable" content="yes" />
Ref #1 Ref #2