アドレスバーを自動で隠す
main.js
function hideAddressBar() { if (document.documentElement.scrollHeight < window.outerHeight / window.devicePixelRatio) { document.documentElement.style.height = (window.outerHeight / window.devicePixelRatio) + 'px'; } window.scrollTo(0, 10); setTimeout(window.scrollTo(0, 0), 1000); }