By default, it gets shown only when the device\'s menu button is pressed and when the page is swiped down (see the GIF below when the touch marker is red). Can the U
It is possible only on user input, because of the limitations of the Full Screen API. See the demo.
var p;
function showURLBar() {
p = [window.pageXOffset, window.pageYOffset];
document.documentElement.webkitRequestFullscreen();
setTimeout(function () {
document.webkitExitFullscreen();
setTimeout(function () {
scrollTo(p[0], p[1]);
}, 300);
}, 300);
}
window.location
makes the address bar reappear, but leaving/reloading the page is an undesirable side effect. Changing only window.location.hash
or using window.history
doesn't help either, even if the URL is modified. None of window.scrollBy
, window.scrollTo
, window.scrollTop
helps.