■ Questions
I'm very sorry for the rough question, but
About the HTML file that was transitioned in the HTTP request.
Is it possible to minimize or hide the screen when loading?
■How to try so far
·Minimize
with javascript embedded in HTML
window.minimize();
■Background
Because the screen is displayed only for a moment to perform the post-transition processing.
I think it would be better to minimize it or hide it, so I'm thinking about implementing it like this.
Thank you in advance.
javascript html internet-explorer
I think it would be easy to leave the page to be loaded hidden in CSS and display it after the process is complete.
<body id="body" style="visibility:hidden;">
<main>aaa</main>
</body>
<script type="text/javascript">
// Displayed after 3 seconds
setTimeout(function(){
console.log("done");
const body = document.querySelector("#body");
body.style.visibility="visible"
}, 3000);
</script>
window.minimize
doesn't seem to be implemented with a modern browser
504 No exact matches in call to instance method 'append'
527 PHP ssh2_scp_send fails to send files as intended
533 Who developed the "avformat-59.dll" that comes with FFmpeg?
516 Understanding How to Configure Google API Key
539 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
© 2024 OneMinuteCode. All rights reserved.