1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Hiding browser address bar on mobile

Discussion in 'Off Topic' started by RichardKYA, Feb 10, 2016.

  1. RichardKYA

    RichardKYA Well-Known Member

    I thought I would ask this here as it's not really anything to do with XF itself.

    Anyway, I've been looking for a way to hide the browser address bar on mobile devices so that when the page loads, the bar is hidden until the user scrolls down. I've tried multiple ways that I have came across while hunting in Googleland, but nothing seems to work at all.

    Does anyone here know how it can be done? If at all?

    Thank you
  2. Martok

    Martok Well-Known Member

    I don't think it's something that you can control. On Chrome at least when you scroll down the page on a mobile device, the address bar disappears until you start scrolling up again.
  3. Arty

    Arty Well-Known Member

    Long time ago in desktop browsers you could do that by adding few parameters to popup window in JavaScript, however it has been abused and was disabled many years ago. That function was used only for phishing and annoying popups.

    Today it cannot be done in any browser, not desktop and not mobile.
  4. RichardKYA

    RichardKYA Well-Known Member

    That's a shame, but not a huge problem really, it would just look nicer without the address bar being at the top on every page load. With not much screen space, you would think that mobile browsers would be designed natively to hide until the user scrolls it down.

    Thank you for your replies guys (y)

Share This Page