Ive used the following javascript to hide the browser chrome for mobiles by scrolling down the page just enough that its out of view. It works fine for iPhone but does nothing on the first android ive tested with.
$(document).ready(function () {
window.scrollTo(0, 0);
}
Maybe you need to put more than 0 scroll. I think this will work.
window.scrollTo(0,1);
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.