forked from cupofcoffebruh/oobe
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
373 lines (358 loc) · 17.1 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<link rel="stylesheet" href="setup.css" />
<meta
layout_name="viewport"
content="width=device-width, initial-scale=1.0"
/>
<link
href="https://unpkg.com/[email protected]/css/boxicons.min.css"
rel="stylesheet"
/>
<title>Windows 11 OOBE setup</title>
</head>
<body>
<div class="white_blur_layer">
<div class="setup_settings">
<img
alt="accessibility"
id="accessibility"
src="window11_oobe_accessibility.png"
/>
<img alt="volume" id="volume" src="window11_oobe_volume.png" />
</div>
<div class="inner_fill_setup">
<div class="yes_button base">Yes</div>
<div class="left">
<img alt="left image" id="left_img" src="window11_oobe_region.png" />
</div>
<div class="right">
<div class="header">
Is this the right country or region? <br />
<div class="header_sml"></div>
</div>
<div class="list_oobe">
<div id="selected" class="list_oobe_opt">Afghanistan</div>
<div class="list_oobe_opt">Albania</div>
<div class="list_oobe_opt">Algeria</div>
<div class="list_oobe_opt">Andorra</div>
<div class="list_oobe_opt">Angola</div>
<div class="list_oobe_opt">Antigua and Barbuda</div>
<div class="list_oobe_opt">Argentina</div>
<div class="list_oobe_opt">Armenia</div>
<div class="list_oobe_opt">Australia</div>
<div class="list_oobe_opt">Australia</div>
<div class="list_oobe_opt">Azerbaijan</div>
<div class="list_oobe_opt">Bahamas</div>
<div class="list_oobe_opt">Bahrain</div>
<div class="list_oobe_opt">Bangladesh</div>
<div class="list_oobe_opt">Barbados</div>
<div class="list_oobe_opt">Belarus</div>
<div class="list_oobe_opt">Belgium</div>
<div class="list_oobe_opt">Belize</div>
<div class="list_oobe_opt">Benin</div>
<div class="list_oobe_opt">Bhutan</div>
<div class="list_oobe_opt">Bolivia</div>
<div class="list_oobe_opt">Bosnia and Herzegovina</div>
<div class="list_oobe_opt">Botswana</div>
<div class="list_oobe_opt">Brazil</div>
<div class="list_oobe_opt">Brunei</div>
<div class="list_oobe_opt">Bulgaria</div>
<div class="list_oobe_opt">Burkina Faso</div>
<div class="list_oobe_opt">Burundi</div>
<div class="list_oobe_opt">Cabo</div>
<div class="list_oobe_opt">Cambodia</div>
<div class="list_oobe_opt">Cameroon</div>
<div class="list_oobe_opt">Canada</div>
<div class="list_oobe_opt">Central African Republic</div>
<div class="list_oobe_opt">Chad</div>
<div class="list_oobe_opt">Chile</div>
<div class="list_oobe_opt">China</div>
<div class="list_oobe_opt">Columbia</div>
<div class="list_oobe_opt">Comoros</div>
<div class="list_oobe_opt">Congo, Democratic Republic</div>
<div class="list_oobe_opt">Costa Rica</div>
<div class="list_oobe_opt">Cote d'Ivoire</div>
<div class="list_oobe_opt">Croatia</div>
<div class="list_oobe_opt">Cuba</div>
<div class="list_oobe_opt">Cyprus</div>
<div class="list_oobe_opt">Czechia</div>
<div class="list_oobe_opt">Djibouti</div>
<div class="list_oobe_opt">Dominica</div>
<div class="list_oobe_opt">Dominican Republic</div>
<div class="list_oobe_opt">Ecuador</div>
<div class="list_oobe_opt">Egypt</div>
<div class="list_oobe_opt">El Salvador</div>
<div class="list_oobe_opt">Equatorial Guinea</div>
<div class="list_oobe_opt">Eritrea</div>
<div class="list_oobe_opt">Estonia</div>
<div class="list_oobe_opt">Eswatini</div>
<div class="list_oobe_opt">Ethiopia</div>
<div class="list_oobe_opt">Fji</div>
<div class="list_oobe_opt">Finland</div>
<div class="list_oobe_opt">France</div>
<div class="list_oobe_opt">Gabon</div>
<div class="list_oobe_opt">Gambia</div>
<div class="list_oobe_opt">Georgia</div>
<div class="list_oobe_opt">Germany</div>
<div class="list_oobe_opt">Ghana</div>
<div class="list_oobe_opt">Greece</div>
<div class="list_oobe_opt">Grenada</div>
<div class="list_oobe_opt">Guatemala</div>
<div class="list_oobe_opt">Guinea</div>
<div class="list_oobe_opt">Guinea-Bissau</div>
<div class="list_oobe_opt">Guyana</div>
<div class="list_oobe_opt">Haiti</div>
<div class="list_oobe_opt">Honduras</div>
<div class="list_oobe_opt">Hungary</div>
<div class="list_oobe_opt">Iceland</div>
<div class="list_oobe_opt">India</div>
<div class="list_oobe_opt">Indonesia</div>
<div class="list_oobe_opt">Iran</div>
<div class="list_oobe_opt">Iraq</div>
<div class="list_oobe_opt">Ireland</div>
<div class="list_oobe_opt">Israel</div>
<div class="list_oobe_opt">Italy</div>
<div class="list_oobe_opt">Jamaica</div>
<div class="list_oobe_opt">Japan</div>
<div class="list_oobe_opt">Jordan</div>
<div class="list_oobe_opt">Kazakhstan</div>
<div class="list_oobe_opt">Kenya</div>
<div class="list_oobe_opt">Kiribati</div>
<div class="list_oobe_opt">Kosovo</div>
<div class="list_oobe_opt">Kuwait</div>
<div class="list_oobe_opt">Kyrgyzstan</div>
<div class="list_oobe_opt">Laos</div>
<div class="list_oobe_opt">Latvia</div>
<div class="list_oobe_opt">Lebanon</div>
<div class="list_oobe_opt">Lesotho</div>
<div class="list_oobe_opt">Liberia</div>
<div class="list_oobe_opt">Libya</div>
<div class="list_oobe_opt">Liechtenstein</div>
<div class="list_oobe_opt">Lithuania</div>
<div class="list_oobe_opt">Luxembourg</div>
<div class="list_oobe_opt">Madagascar</div>
<div class="list_oobe_opt">Malawi</div>
<div class="list_oobe_opt">Malaysia</div>
<div class="list_oobe_opt">Maldives</div>
<div class="list_oobe_opt">Mali</div>
<div class="list_oobe_opt">Malta</div>
<div class="list_oobe_opt">Marshall Islands</div>
<div class="list_oobe_opt">Mauritania</div>
<div class="list_oobe_opt">Mauritius</div>
<div class="list_oobe_opt">Mexico</div>
<div class="list_oobe_opt">Micronesia</div>
<div class="list_oobe_opt">Moldova</div>
<div class="list_oobe_opt">Monaco</div>
<div class="list_oobe_opt">Mongolia</div>
<div class="list_oobe_opt">Montenegro</div>
<div class="list_oobe_opt">Morocco</div>
<div class="list_oobe_opt">Mozambique</div>
<div class="list_oobe_opt">Myanmar</div>
<div class="list_oobe_opt">Namibia</div>
<div class="list_oobe_opt">Nauru</div>
<div class="list_oobe_opt">Nepal</div>
<div class="list_oobe_opt">Netherlands</div>
<div class="list_oobe_opt">New Zealand</div>
<div class="list_oobe_opt">Nicaragua</div>
<div class="list_oobe_opt">Niger</div>
<div class="list_oobe_opt">Nigeria</div>
<div class="list_oobe_opt">North Korea</div>
<div class="list_oobe_opt">North Macedonia</div>
<div class="list_oobe_opt">Norway</div>
<div class="list_oobe_opt">Oman</div>
<div class="list_oobe_opt">Pakistan</div>
<div class="list_oobe_opt">Palau</div>
<div class="list_oobe_opt">Palestina</div>
<div class="list_oobe_opt">Panama</div>
<div class="list_oobe_opt">Papua New Guinea</div>
<div class="list_oobe_opt">Paraguay</div>
<div class="list_oobe_opt">Peru</div>
<div class="list_oobe_opt">Philippines</div>
<div class="list_oobe_opt">Poland</div>
<div class="list_oobe_opt">Portugal</div>
<div class="list_oobe_opt">Qatar</div>
<div class="list_oobe_opt">Romania</div>
<div class="list_oobe_opt">Russia</div>
<div class="list_oobe_opt">Rwanda</div>
<div class="list_oobe_opt">Saint Kitts and Nevis</div>
<div class="list_oobe_opt">Saint Lucia</div>
<div class="list_oobe_opt">Saint Vincent and the Grenadines</div>
<div class="list_oobe_opt">Samoa</div>
<div class="list_oobe_opt">San Marino</div>
<div class="list_oobe_opt">Sao Tome and Principe</div>
<div class="list_oobe_opt">Saudi Arabia</div>
<div class="list_oobe_opt">Senegal</div>
<div class="list_oobe_opt">Serbia</div>
<div class="list_oobe_opt">Seychelles</div>
<div class="list_oobe_opt">Sierra Leone</div>
<div class="list_oobe_opt">Singapore</div>
<div class="list_oobe_opt">Slovakia</div>
<div class="list_oobe_opt">Slovenia</div>
<div class="list_oobe_opt">Solomon Islands</div>
<div class="list_oobe_opt">Somalia</div>
<div class="list_oobe_opt">South Africa</div>
<div class="list_oobe_opt">South Korea</div>
<div class="list_oobe_opt">South Sudan</div>
<div class="list_oobe_opt">Spain</div>
<div class="list_oobe_opt">Sri Lanka</div>
<div class="list_oobe_opt">Sudan</div>
<div class="list_oobe_opt">Suri Layout</div>
<div class="list_oobe_opt">Sweden</div>
<div class="list_oobe_opt">Switzerland</div>
<div class="list_oobe_opt">Syria</div>
<div class="list_oobe_opt">Uganda</div>
<div class="list_oobe_opt">Ukraine</div>
<div class="list_oobe_opt">United Arab Emirates</div>
<div class="list_oobe_opt">United Kingdom</div>
<div class="list_oobe_opt">United States</div>
<div class="list_oobe_opt">Uruguay</div>
<div class="list_oobe_opt">Uzbekistan</div>
<div class="list_oobe_opt">Vanuatu</div>
<div class="list_oobe_opt">Vatican City (Holy See)</div>
<div class="list_oobe_opt">Venezuela</div>
<div class="list_oobe_opt">Vietnam</div>
<div class="list_oobe_opt">Yemen</div>
<div class="list_oobe_opt">Zambia</div>
<div class="list_oobe_opt">Zimbabwe</div>
</div>
</div>
</div>
</div>
<script>
let yes_button = document.querySelector(".yes_button");
let right = document.querySelector(".right");
let left = document.querySelector(".left");
let left_img = document.querySelector("#left_img");
var header = document.querySelector(".header");
let list_oobe = document.querySelector(".list_oobe");
btn_state = 0;
yes_button.addEventListener("click", (event) => {
if (btn_state == 0) {
list_oobe.style.top = "132px";
list_oobe.style.height = "332px";
left_cont = ` <img id="left_img" src="window11_oobe_keyb_layout.png">`;
left.innerHTML = left_cont;
var header_inner = ` Is this the right keyboard layout or input method?
<div class="header_sml">If you also use another keyboard layout, you can add that next</div>
`;
header.innerHTML = header_inner;
var tskbar_apps = [
{
name: "Start",
class: "home",
icon: "https://raw.githubusercontent.com/cupofcoffebruh/Binbows11-copy/main/Deafult%20test%20icon.png",
id: "start",
},
{
name: "Search",
icon: "https://raw.githubusercontent.com/cupofcoffebruh/Binbows11-copy/main/search.png",
id: "search",
},
{
name: "Widgets",
icon: "https://raw.githubusercontent.com/cupofcoffebruh/Binbows11-copy/main/widget.png",
id: "widgets",
},
{
name: "Settings",
icon: "https://raw.githubusercontent.com/cupofcoffebruh/Binbows11-copy/main/settings.png",
id: "settings",
},
{
name: "Explorer",
icon: "https://raw.githubusercontent.com/cupofcoffebruh/Binbows11-copy/main/explorer.png",
id: "explorer",
},
{
name: "Microsoft Store",
icon: "https://raw.githubusercontent.com/cupofcoffebruh/Binbows11-copy/main/Microsoft_Store_2021.png",
id: "ms_store",
},
{
name: "Spotify",
icon: "https://raw.githubusercontent.com/cupofcoffebruh/Binbows11-copy/main/spotify.png",
id: "spotify",
},
];
tskbar(tskbar_apps);
function tskbar(data) {
for (var i = 0; i < data.length; i++) {
var tskbr_inner_cont = `
<div class="list_oobe_opt" >
${data[i].name}
</div>`;
list_oobe.innerHTML += tskbr_inner_cont;
}
}
setTimeout(() => {
btn_state = 1;
});
}
});
let clicked = true;
yes_button.addEventListener("click", (event) => {
if (btn_state == 1) {
right.classList.add("align");
left_cont = ` <img id="left_img" src="window11_oobe_update.png">`;
left.innerHTML = left_cont;
var right_inner = ` <img id="loader" src="window11_oobe_region.png"> Checking for updates.`;
right.innerHTML = right_inner;
btn_state = 2;
}
if (btn_state == 2 && clicked == true) {
clicked = false;
setTimeout(() => {
let OOBE_input = document.querySelector("#OOBE_input");
let cancel_input = document.querySelector("#cancel_input");
OOBE_input.oninput = function () {
cancel_input.style.opacity = "1";
};
cancel_input.onclick = function () {
OOBE_input.value = "";
OOBE_input.focus();
};
}, 6100);
yes_button.style.opacity = "0";
setTimeout(() => {
right.classList.remove("align");
var right_inner = ` <div class="header">Let's name your PC <br><div class="header_sml">Make it yours with unique name that's easy to recognize when connecting to it from other devices.Your Pc will restart after you name it.</div> <div class="OOBE_input"><input type="text" spellcheck="false"placeholder="Name" id="OOBE_input"> <img id="cancel_input" src="https://win11.blueedge.me/img/icon/ui/close.png"></div><div class="text_sml_black">No more than 15 character <br>No spaces or any of the following special characters:<br>"/\\ [ ] : | < >+ = ; , ?</div></div>`;
right.innerHTML = right_inner;
left_cont = ` <img id="left_img" src="window11_oobe_name.png">`;
left.innerHTML = left_cont;
let header_sml = document.querySelector(".header_sml");
header_sml.style.top = "70px";
yes_button.style.opacity = "1";
btn_state = 3;
}, 6000);
}
});
yes_button.addEventListener("click", (event) => {
if (btn_state == 3) {
list_oobe.style.top = "132px";
list_oobe.style.height = "332px";
left_cont = ` <img id="left_img" src="window11_oobe_wifi.png">`;
left.innerHTML = left_cont;
var right_inner = `<div class="header"> Let's connect you to a network
<div class="header_sml">You'll need an internet connection to continue the setting up your device.Once connected, you'll get the latest features and security updates.</div>
<div class="ethernet_list">
<div class="list_oobe_opt_wifi"> <i id="connection"class='bx bx-desktop'></i> <div class="ethernet_list_opt_inr"><div class="text_sml_black_wifi">Ethernet 01</div><div class="header_sml_wifi">Not connected</div></div> </div>
<div class="list_oobe_opt"></div>
<div class="list_oobe_opt"></div>
</div>
<div class="text_sml_black">Having trouble to getting connected?</div>
<div class="header_sml">For troubleshooting tips use another device and visit aka.ms/networksetup</div>
</div>
`;
right.innerHTML = right_inner;
setTimeout(() => {
btn_state = 3;
});
}
});
</script>
</body>
</html>