Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 62 additions & 0 deletions window 12
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Windows Update</title>
<style>
html, body {
margin: 0;
padding: 0;
background-color: #0b0b45;
color: white;
font-family: Segoe UI, sans-serif;
font-size: 1.5rem;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
text-align: center;
flex-direction: column;
}
.loader {
margin-top: 30px;
width: 50px;
height: 50px;
border: 6px solid #ffffff33;
border-top: 6px solid white;
border-radius: 50%;
animation: spin 1s linear infinite;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
.message {
max-width: 600px;
}
</style>
</head>
<body onclick="openFullscreen()">
<div class="message">
Working on updates<br>
Don't turn off your computer<br><br>
This will take a while...<br>
<small>100% complete</small>
</div>
<div class="loader"></div>

<script>
// Trigger fullscreen on click (to make it immersive)
function openFullscreen() {
let elem = document.documentElement;
if (elem.requestFullscreen) {
elem.requestFullscreen();
} else if (elem.webkitRequestFullscreen) {
elem.webkitRequestFullscreen();
} else if (elem.msRequestFullscreen) {
elem.msRequestFullscreen();
}
}
</script>
</body>
</html>