V
V
vaskadogana2018-03-14 20:08:00
JavaScript
vaskadogana, 2018-03-14 20:08:00

Is it possible to remove the header using js in mobile browsers?

The header from the browser in my case is chrome, I want to hide it. (The header is the URL and the menu button, when you scroll down, it goes away, like it doesn't exist, it turns out like an application). But I suspect that it is not on the scroll, but on some event from the touchscreen goes

Answer the question

In order to leave comments, you need to log in

4 answer(s)
A
Anton, 2018-03-14
@SPAHI4

It "leaves" precisely on the body scroll.
To avoid it, you need to make a PWA.
https://medium.com/progressive-web-apps/progressiv...

X
xmoonlight, 2018-03-14
@xmoonlight

No. This is a browser element. It will not work to hide it at the request of the site developer.
I don't know of an API from the W3C or browsers that provide this functionality...

O
Oleg, 2018-03-14
@politon

Is it possible at all@mediadisplay:none;

F
Froggyweb, 2018-03-14
@Froggyweb

may help html5.by/blog/fullscreen-javascript-api

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question