forked from sayofthelor/sz-games.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
6393 lines (4320 loc) · 273 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
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Google Tag Manager -->
<script>
window.onload = function() {
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-P93VS8N5');
}
</script>
<!-- End Google Tag Manager -->
<meta charset="UTF-8">
<!--link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons"-->
<!--Icons-->
<script src="https://kit.fontawesome.com/26f4207121.js" crossorigin="anonymous"></script>
<link rel="preload" href="https://fonts.googleapis.com/icon?family=Material+Icons" as="style" onload="this.onload=null;this.rel='stylesheet'">
<!--ONESIGNAL PUSH-->
<script>
window.onload = function() {
const scriptEly = document.createElement('script');
scriptEly.src = 'https://cdn.onesignal.com/sdks/OneSignalSDK.js';
scriptEly.addEventListener('load', () => {
window.OneSignal = window.OneSignal || [];
OneSignal.push(function() {
OneSignal.init({
appId: "08b63425-6f02-4ecb-ad79-8bb871e63518",
autoResubscribe: true, // This ensures the prompt shows again if dismissed
safari_web_id: "web.onesignal.auto.54d60a3d-c0d7-4ae1-b490-c29a9cfa7b70",
notifyButton: {
enable: false,
},
promptOptions: {
customlink: {
enabled: true, /* Required to use the Custom Link */
style: "button", /* Has value of 'button' or 'link' */
size: "medium", /* One of 'small', 'medium', or 'large' */
color: {
button: '#2e2e2e', /* Color of the button background if style = "button" */
text: 'white', /* Color of the prompt's text */
},
text: {
subscribe: "Subscribe to push notifications", /* Prompt's text when not subscribed */
unsubscribe: "Unsubscribe from push notifications", /* Prompt's text when subscribed */
explanation: "Get updates about new games and known issues.", /* Optional text appearing before the prompt button */
},
unsubscribeEnabled: true, /* Controls whether the prompt is visible after subscription */
}
}
});
});
});
document.head.appendChild(scriptEly);
}
</script>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-C78TXR0XFK"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-C78TXR0XFK');
</script>
<script>
if ('serviceWorker' in navigator) {
navigator.serviceWorker.register('service-worker.js');
}
</script>
<link rel="manifest" href="manifest.json">
<link rel="icon" href="https://raw.githubusercontent.com/sz-games/sz-games.github.io/main/G2.png" type="image/png">
<meta name="title" content="Sz Games">
<meta name="author" content="Sz Games">
<title>Sz Games</title>
<meta name="revisit-after" content="1 days" />
<link rel="apple-touch-startup-image" href="https://sz-games.github.io/launch.png">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta property="og:image" content="https://raw.githubusercontent.com/sz-games/sz-games.github.io/main/G2.png" />
<link rel="icon" href="https://raw.githubusercontent.com/sz-games/sz-games.github.io/main/G2.png">
<meta name="description" content="The Best Place To Play over 100+ Games in school or at home.">
<meta property="og:site_name" content="Sz Games">
<meta property="og:title" content="Sz Games">
<meta name="description" property="og:description" content="The Best Place To Play over 100+ Games in school or at home.">
<meta content="website" property="og:type">
<meta name="description" property="twitter:description" content="The Best Place To Play over 100+ Games in school or at home.">
<meta name="language" content="English">
<script src="./GobalSettings.js"></script>
<meta
name="keywords"
content="sz games, sz games unblocked, games, unblocked games, school, games, games to play, games on the web, html5 games, sz, sz-games, play games online, online games"
/>
<meta name="viewport" content="width=device-width, initial-scale=1">
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-1654900800235927"
crossorigin="anonymous"></script>
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "WebPage",
"name": "Sz Games",
"logo": "https://sz-games.github.io/G-Google.png"
}
</script>
</head>
<style>
::-webkit-scrollbar-track-piece {
border-radius: 15px;
}
.bodyold {
background: linear-gradient(to bottom, #1d1d1d, #2f2f2f, rgb(58, 58, 58), #1d1d1d, #2f2f2f);
background-repeat: no-repeat;
background-size: cover;
background-attachment: fixed;
font-family: Arial, Helvetica, sans-serif;
overflow-x: hidden;
}
body {
background: rgb(35, 35, 35);
background-repeat: no-repeat;
background-size: cover;
background-attachment: fixed;
font-family: Arial, Helvetica, sans-serif;
overflow-x: hidden;
}
img {
margin: 10px;
position: relative;
z-index: 1;
}
.btn-group button {
background-color: black; /* Green background */
color: white; /* White text */
padding: 10px 24px; /* Some padding */
cursor: pointer; /* Pointer/hand icon */
float: left; /* Float the buttons side by side */
}
/* Clear floats (clearfix hack) */
.btn-group:after {
content: "";
clear: both;
display: table;
}
.btn-group button:not(:last-child) {
border-right: none; /* Prevent double borders */
}
/* Add a background color on hover */
.btn-group button:hover {
background-color: grey;
}
/* Header/Logo Title */
.header-halloween {
padding: 60px;
text-align: center;
background: linear-gradient(to bottom right, #ff5e00, rgb(39, 39, 39), rgb(39, 39, 39));
color: white;
width: auto;
font-size: 30px;
position: relative;
z-index: 1;
font-family: Arial, Helvetica, sans-serif;
border-radius: 15px;
}
.header {
position: relative;
z-index: 1;
padding: 60px;
text-align: center;
/*background: linear-gradient(to bottom right, #9a9a9a, rgb(39, 39, 39)); */
background:rgb(55, 53, 53);
color: white;
width: auto;
font-size: 30px;
font-family: Arial, Helvetica, sans-serif;
border-radius: 0px 0px 15px 15px;
}
/* Page Content */
</style>
<body>
<div id="LOADINGSCREENWEB" style="display: none; z-index: 50; position: fixed; width: 100%; height: 100%; background-color: #2f2f2f;">
<h1 style="top: 50%; left: 50%; transform: translate(-50%, -50%); position: absolute; color: white;">Loading Games...</h1>
</div>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-P93VS8N5"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<style>
.game {
position: absolute;
color: white;
transform: scale(1.8);
z-index: 3;
font-family: Arial, Helvetica, sans-serif;
}
.fade {
position: absolute;
background: linear-gradient(to bottom, #1d1d1d, #1d1d1d5d, rgba(39, 39, 39, 0));
width: 300px;
height: 150px;
border-radius: 15px;
}
*,
*:before,
*:after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
.container {
width: 85vw;
margin: 1rem auto;
}
.bg,
.overlay {
text-align: center;
}
img,
.overlay {
transition: .3s all;
border-radius: 3px;
}
.day {
font-family: Arial, Helvetica, sans-serif;
text-align: center;
color: white;
position: relative;
z-index: 1;
}
.bubbles{
position: fixed;
width:100%;
height: 100%;
z-index: 0;
overflow:hidden;
top:0;
left:0;
}
.bubble{
position: absolute;
bottom:-100px;
width:40px;
height: 40px;
background: linear-gradient(to top right, #c68324, #bd0d0d5d);
border-radius:50%;
opacity:0.5;
animation: rise 10s infinite ease-in;
}
.bubble:nth-child(1){
width:40px;
height:40px;
left:10%;
animation-duration:8s;
}
.bubble:nth-child(2){
width:20px;
height:20px;
left:20%;
animation-duration:5s;
animation-delay:1s;
}
.bubble:nth-child(3){
width:50px;
height:50px;
left:35%;
animation-duration:7s;
animation-delay:2s;
}
.bubble:nth-child(4){
width:80px;
height:80px;
left:50%;
animation-duration:11s;
animation-delay:0s;
}
.bubble:nth-child(5){
width:35px;
height:35px;
left:55%;
animation-duration:6s;
animation-delay:1s;
}
.bubble:nth-child(6){
width:45px;
height:45px;
left:65%;
animation-duration:8s;
animation-delay:3s;
}
.bubble:nth-child(7){
width:90px;
height:90px;
left:70%;
animation-duration:12s;
animation-delay:2s;
}
.bubble:nth-child(8){
width:25px;
height:25px;
left:80%;
animation-duration:6s;
animation-delay:2s;
}
.bubble:nth-child(9){
width:15px;
height:15px;
left:70%;
animation-duration:5s;
animation-delay:1s;
}
.bubble:nth-child(10){
width:90px;
height:90px;
left:25%;
animation-duration:10s;
animation-delay:4s;
}
@keyframes rise{
0%{
bottom:-100px;
transform:translateX(0);
}
50%{
transform:translate(100px);
}
100%{
bottom:1080px;
transform:translateX(-200px);
}
}
.hello img {
width: 100%;
transition: 0.5s all ease-in-out;
}
.hello:hover img {
transform-origin: top;
transform: scale(1.1);
}
</style>
<style>
.topnav {
overflow: hidden;
position: fixed;
z-index: 5;
display: none;
border-radius: 30px;
background-color: #333;
}
p {
transition: 0.5s;
}
.topnav p {
float: left;
color: #f2f2f2;
text-align: center;
padding: 14px 16px;
text-decoration: none;
font-size: 17px;
}
.ImageForGame {
border-radius: 15px;
width: 180px;
opacity: 0;
height: 180px;
transition: 0.5s;
box-shadow: 5px 5px 5px 5px rgba(13, 13, 13, 0.725);
}
.ImageForGame:hover{
transform: scale(1.1);
box-shadow: 2px 2px 2px 2px rgba(79, 79, 79, 0.725);
}
@keyframes scroll {
0% {top: 10px; transform: translate(-50%) scale(1.0); opacity: 1;}
50% {top: 10px; transform: translate(-50%) scale(1.3); opacity: 0;}
100% {top: -50%; opacity: 0;}
}
@keyframes scroll2 {
0% {top: -50%; opacity: 0;}
45% {top: 10px; opacity: 0;}
50% {top: 10px; transform: translate(-50%) scale(1.2); opacity: 0;}
100% {top: 10px; transform: translate(-50%) scale(1.0); opacity: 1; }
}
/* Webkit based browsers (Chrome, Safari) */
::-webkit-scrollbar {
width: 10px; /* Adjust the width as needed */
}
::-webkit-scrollbar-track {
background-color: transparent;
}
::-webkit-scrollbar-thumb {
background-color: rgba(146, 145, 145, 0.378); /* Adjust the color and opacity as needed */
border-radius: 20px;
}
/* Firefox */
::-moz-scrollbar {
width: 8px; /* Adjust the width as needed */
}
::-moz-scrollbar-track {
background-color: transparent;
}
::-moz-scrollbar-thumb {
background-color: rgba(0, 0, 0, 0.2); /* Adjust the color and opacity as needed */
}
/* Hide default scrollbar track */
::-webkit-scrollbar-track-piece,
::-webkit-scrollbar-corner,
::-moz-scrollbar-track-piece {
background-color: transparent;
}
@keyframes OpenLang {
0% {transform: translate(-50%, -50%) scale(0.3); opacity: 0;}
50% {transform: translate(-50%, -50%) scale(1.2); opacity: 1;}
100% {transform: translate(-50%, -50%) scale(1.0); opacity: 1;}
}
@keyframes CloseLang {
0% {transform: translate(-50%, -50%) scale(1.0); opacity: 1;}
50% {transform: translate(-50%, -50%) scale(1.2); opacity: 1;}
100% {transform: translate(-50%, -50%) scale(0.3); opacity: 0;}
}
.openLang {
animation: OpenLang 0.8s;
transform-origin: center;
}
.closeLang {
animation: CloseLang 0.8s;
transform-origin: center;
opacity: 0;
visibility: hidden;
}
.loader {
display: block;
--height-of-loader: 4px;
--loader-color: #7c7c7c;
width: 400px;
height: var(--height-of-loader);
border-radius: 30px;
background-color: rgba(0,0,0,0.2);
position: relative;
}
.loader::before {
content: "";
position: absolute;
background: var(--loader-color);
top: 0;
left: 0;
width: 0%;
height: 100%;
border-radius: 30px;
animation: moving 1.5s ease-in-out infinite;
;
}
@keyframes moving {
50% {
width: 100%;
}
100% {
width: 0;
right: 0;
left: unset;
}
}
</style>
<style>
.loaderNEW {
width: 40px;
height: 40px;
border-radius: 50%;
box-sizing: border-box;
border-top: 6px solid #5f5f5f;
border-bottom: 6px solid #5f5f5f;
border-left: 6px solid #5f5f5f;
border-right: 6px solid grey;
animation: loaderNEW 1s infinite linear;
position: absolute;
bottom: 50%;
right: 50%;
transform: translate(0%, -30%) rotate(0deg);
}
@keyframes loaderNEW {
to {
transform: translate(0%, -30%) rotate(360deg);
}
}
@keyframes openerror {
from{transform: translate(-50%, -50%) scale(0.5); opacity: 0;}
to{transform: translate(-50%, -50%) scale(1); opacity: 1;}
}
</style>
<div id="CHATDISABLED" style="transition: 0.5s; opacity: 0; display: none; left: 50%; position: fixed; z-index: 90; top: 50%; transform: translate(-50%, -50%); width: 25%; height: 40%; border-radius: 15px; background-color: rgb(32, 32, 32);">
<h1 style="margin: 20px; color: white;">Error</h1>
<h3 style="color: white; width: 95%; left: 50%; top: 50%; transform: translate(-50%, -150%); position: absolute;">The Webmaster Of This Instance Of Sz Games Has Disabled The Chat Feature</h3>
<p style="color: white; position: absolute; bottom: 80px; left: 10px;">Code: NEB_CHA4-DIS</p>
<p style="color: white; bottom: 10px; left: 10px; position: absolute;">Clearing Logs...</p>
</div>
<script>
function chaterror() {
var containererrmsg = document.getElementById('CHATDISABLED')
containererrmsg.style.display = "block"
containererrmsg.style.animation = "openerror 0.5s"
containererrmsg.style.opacity = 1
setTimeout(() => {
containererrmsg.style.opacity = 0
setTimeout(() => {
containererrmsg.style.display = 'none'
}, 490);
}, 7000);
}
</script>
<div id="overlay" style="pointer-events: none; position: fixed; display: none; width: 100%; height: 100%;">
</div>
<div id="LOADINGSCREEN11" style="display: none; opacity: 1; transition: 0.8s; background-color: #525252; z-index: 100; position: fixed; width: 100%; height: 100%;">
<img src="https://raw.githubusercontent.com/sz-games/home/main/G.png" style="z-index: 107; position:absolute; width: 100px;bottom: 50%; transform: translate(40%, -50%); height: 100px; right: 50%; " alt="Sz Games">
<div class="loaderNEW"></div>
</div>
<script>
//document.getElementById('LOADINGSCREEN11').style.display = "block"
var LoadPWA = false
let LOADCHECK = sessionStorage.getItem("HasLoadedPWA1");
if ('matchMedia' in window && (window.matchMedia('(display-mode: standalone)').matches || window.navigator.standalone === true)) {
if(LOADCHECK === 'true') {
console.log('E-11.0')
} else {
console.log('E-33')
//document.getElementById('LOADINGSCREEN11').style.display = "block"
//LOADING PERCENTAGE
/*
window.addEventListener('load', function() {
// All resources have finished loading
document.getElementById('loading-percentage').textContent = '100%';
});
window.addEventListener('DOMContentLoaded', function() {
// DOM content has finished loading
const totalResources = document.getElementsByTagName('*').length;
let loadedResources = 0;
const loadingPercentage = document.getElementById('loading-percentage');
function updateLoadingPercentage() {
loadedResources++;
const percentage = ((loadedResources / totalResources) * 100).toFixed(2);
loadingPercentage.textContent = percentage + '%';
}
const elements = document.getElementsByTagName('*');
for (let i = 0; i < elements.length; i++) {
elements[i].addEventListener('load', updateLoadingPercentage);
elements[i].addEventListener('error', updateLoadingPercentage); // Handle resource load errors
}
});
//END
*/
if(LoadPWA === false) {
window.addEventListener('load', function() {
//sessionStorage.setItem("HasLoadedPWA1", 'true');
LoadPWA = true
//document.getElementById('LOADINGSCREEN11').style.opacity = 0
setTimeout(() => {
//document.getElementById('LOADINGSCREEN11').style.display = 'none'
}, 800);
});
}
}
} else {
console.log('External Code Did Not Load In')
}
</script>
<!--LOADER -->
<div id="openercountdown" style="display: none; position: fixed; z-index: 5; top: 20%; right: 10px; width: 50px; height: 50px; border-radius: 15px; background-color: rgba(26, 26, 26, 0.762);">
<span class="material-icons notranslate" style=" cursor: pointer; color: white;">
arrow_circle_left
</span>
</div>
<div style=" display: none;" class="topnav">
<p>Medals:</p>
<p id="afkk" >Afk</p>
<p id="first-steps" >First Steps</p>
</div>
<div id="TopMenu" style=" top: 10px; border-radius: 15px 15px 15px 15px; z-index: 7; position: fixed; overflow-y: hidden; width: 98%; left: 50%; transform: translate(-50%); height: 50px; background-color: #1d1d1d;">
<a href="https://sz-games.github.io" aria-label="Home"> <img alt="Icon" fetchpriority="low" src="https://github.com/sz-games/home/blob/main/G.png?raw=true" style="z-index: 7; height: 25px; width: 25px;"> </a>
<h1 style=" font-size: medium; top: 50%; transform: translate(-0%, -50%); left: 50px; color: white; font-family: Arial, Helvetica, sans-serif; position: absolute;">Sz Games</h1>
<div style="display: none; left: 50%; position: absolute; top: 50%; transform: translate(-50%, -50%);" id="timecontainercount">
<div style="background-color: #5656563c; border-radius: 15px; width: fit-content; padding: 0px 10px 0px 10px; height: 30px;">
<p id="countdowntxt" style="position: relative; top: 50%; transform: translate(-0%, -50%); color: white; text-align: center;">Check The Status Page In The Menu For Updates</p>
<!--script>
// Set the target date and time
const targetDate = new Date('December 15, 2023 12:58:00 PST');
function updateCountdown() {
const currentDate = new Date();
const timeDifference = targetDate - currentDate;
if (timeDifference > 0) {
const days = Math.floor(timeDifference / (1000 * 60 * 60 * 24));
const hours = Math.floor((timeDifference % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
const minutes = Math.floor((timeDifference % (1000 * 60 * 60)) / (1000 * 60));
const seconds = Math.floor((timeDifference % (1000 * 60)) / 1000);
//document.getElementById('countdowntxt2').innerHTML = `${days} Days, ${hours} Hours, ${minutes} Minutes And ${seconds} Seconds`;
// Adjust the message based on the remaining time
let message = '';
let fixmsg = `${days} Days, ${hours} Hours ${message}`
const currentDateRN = new Date();
let currdate = currentDateRN.getDate() === targetDate.getDate()
//alert(currdate)
if (days === 0 && hours === 0 && minutes === 0) {
message = 'Just seconds left!';
fixmsg = `${seconds} Seconds ${message}`
} else if (days === 0 && hours === 0) {
message = 'Less than a hour left!';
fixmsg = `${minutes} Minutes ${message}`
} else if (days === 0 && currdate) {
message = 'A Few Hours Left!';
fixmsg = `${hours} Hours ${message}`
} else if (days === 1) {
message = 'More Day!';
fixmsg = `${days} ${message}`
} else if (days === 2) {
message = 'Almost There...';
fixmsg = `${days} Days, ${hours} Hours ${message}`
} else {
message = 'Until Friday';
fixmsg = `${days} Days, ${hours} Hours ${message}`
}
document.getElementById('countdowntxt').innerHTML = fixmsg;
} else {
document.getElementById('countdowntxt').innerHTML = 'Done';
}
}
setInterval(updateCountdown, 1000);
updateCountdown();
</script-->
</div>
</div>
<span onclick="ToggleMenuBig()" class="material-icons notranslate" style=" cursor: pointer; font-size: 22px; top: 50%; transform: translate(-0%, -50%); margin-right: 15px; float: right; color: white; position: relative;">
menu
</span>
<span onclick="ToggleLang()" class="material-icons notranslate" style=" cursor: pointer; font-size: larger; top: 50%; transform: translate(-0%, -50%); margin-right: 15px; float: right; color: white; position: relative;">
translate
</span>
<style>
.Discord {
transition: 0.5s !important;
}
.Discord:hover {
color: rgb(0, 51, 255) !important;
}
</style>
<!--a href="./Chat.html" aria-label="Go To Chat"-->
<span onclick="chaterror()" class="material-icons notranslate" style=" cursor: pointer; font-size: larger; top: 50%; transform: translate(-0%, -50%); margin-right: 15px; float: right; color: rgb(54, 54, 54); position: relative;">
chat
</span>
<!--/a-->
<a href="https://discord.gg/DzKRSntb87" aria-label="Go To Discord Server Invite Page">
<i class='fab fa-discord Discord' style='cursor: pointer; font-size: larger; top: 50%; transform: translate(-0%, -50%); margin-right: 15px; float: right; color: white; position: relative; '></i>
</a>
<!--div onclick="NOTE11()" style="cursor: pointer; font-size: larger; top: 50%; transform: translate(-0%, -50%); margin-right: 15px; float: right; color: white; position: relative;" >
<div style="background-color: rgb(255, 0, 0); width: 10px; height: 10px; border-radius: 50%; right: 0; position: absolute;">
<p style=" z-index: 9; color: black;"></p>
</div>
<span class="material-icons notranslate" >
notifications
</span>
</div-->
<div id="OLD_NAV" style="display: none;">
<a href="./FNF.html">
<h1 style=" cursor: pointer; font-size: medium; top: 50%; transform: translate(-0%, -50%); margin-right: 15px; float: right; color: white; font-family: Arial, Helvetica, sans-serif; position: relative;">Friday Night Funkin</h1>
</a>
<!--a href="./unblock.html"-->
<h1 style=" cursor: not-allowed; font-size: medium; top: 50%; transform: translate(-0%, -50%); margin-right: 15px; float: right; color: rgba(255, 255, 255, 0.597); font-family: Arial, Helvetica, sans-serif; position: relative;">Apps</h1>
<a href="./index.html">
<h1 style=" cursor: pointer; font-size: medium; top: 50%; transform: translate(-0%, -50%); margin-right: 15px; float: right; color: white; font-family: Arial, Helvetica, sans-serif; position: relative;">Home</h1>
</a>
<a href="https://sz-games.github.io"> <img fetchpriority="low" src="https://github.com/sz-games/home/blob/main/G.png?raw=true" style="z-index: 7; height: 25px; width: 25px;" /> </a>
</div>
</div>
<script>
var IsOpenLang = false
function ToggleLang() {
if(IsOpenLang===false) {
document.getElementById('LangSelect').style.opacity = 1
document.getElementById('LangSelect').classList.add('openLang')
document.getElementById('LangSelect').style.visibility = "visible"
setTimeout(() => {
document.getElementById('LangSelect').classList.remove('openLang')
IsOpenLang = true
}, 800);
}
else if(IsOpenLang===true) {
document.getElementById('LangSelect').style.opacity = 0
document.getElementById('LangSelect').style.visibility = "hidden"
setTimeout(() => {
IsOpenLang = false
}, 810);
}
}
var myElement = document.getElementById("TopMenu"); // Get the element
var Isscrolled = false;
window.addEventListener("scroll", function() { // Add a scroll event listener
if (window.pageYOffset > 350) { // Check if the user has scrolled 100 pixels down the page
if(Isscrolled===false) {
myElement.style.animation = "scroll 0.8s"; // Hide the element
myElement.style.top = "-50%"
Isscrolled = true
//console.log("its false")
} else {
Isscrolled = true
}
} else if (window.pageYOffset < 350) {
if(Isscrolled===true) {
//console.log("its true")
myElement.style.animation = "scroll2 0.3s"; // Hide the element
myElement.style.top = "10px"
Isscrolled=false
} else {
Isscrolled=false
}
}
});
</script>
<style>
@keyframes menuM {
0% {border: solid gray 3px;}
50% {border: solid rgb(13, 13, 13) 3px;}
100% {border: solid gray 3px;}
}
.MenuIt {
position: relative;
display: inline-block;
margin-top: 5px;
padding: 10px;
border-radius: 5px;
color: #000;
transition: 0.8s;
}
.MenuIt:hover {
background-color: #565656;
border-radius: 30px;
transform: translateY(-5px)
}
@keyframes SLMenu {
from{right: 0; opacity: 1;}
to{right: -310px; opacity: 0;}
}
@keyframes SLMenu2 {
from{right: -310px; opacity: 0;}
to{right: -0px; opacity: 1;}
}
.SlSlide {
animation: SLMenu 0.5s !important;
}
.SlSlideIn {
animation: SLMenu2 0.5s !important;
}
</style>
<!--div style="z-index: 99; position: fixed; right: 35px; top: 115px;" id="Note22">
<div style="width: 350px; height: 50px; border: solid gray 3px; border-radius: 15px; background-color: #1d1d1d;" id="containerNOTE">
<h3 id="VERNOTE" style="color: white; top: 50%; transform: translate(-0%, -50%); position: relative; left: 4px;">Site Updated To Version: </h3>
</div>
</div-->
<div id="SideMenuBigScreen" style="transition: 0.8s; display: none; position: fixed; z-index: 91; background-color: #1d1d1d7b; width: 100%; height: 100%;">
<div style="display: none; position: absolute; animation: menuM 7s infinite; transition: 0.5s; right: 0px; border: solid gray 3px; border-radius: 15px 0px 0px 15px; width: 300px; height: 100%; z-index: 95; background-color: #2f2f2f;" id="MMenuBig" >
<span onclick="ToggleMenuBig()" class="material-icons notranslate" style=" cursor: pointer; z-index: 96; font-size: x-large; top: 15px; margin-right: 15px; right: 0; color: white; position: absolute;">
close
</span>
<span id="SETTINGSMENU1v" onclick="window.location = 'https://sz-games.github.io/settings.html' " class="material-icons notranslate" style=" cursor: pointer; z-index: 96; font-size: x-large; top: 15px; margin-right: 45px; right: 0; color: white; position: absolute;">
settings
</span>
<span id="NOTIF" onclick="toggleSetings1()" class="material-icons notranslate" style=" cursor: pointer; z-index: 96; font-size: x-large; top: 15px; margin-right: 75px; right: 0; color: white; position: absolute;">
notifications
</span>
<script>
</script>
<script>
const isMobile = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
if (isMobile) {
document.getElementById('SETTINGSMENU1v').style.display = 'none'
} else {
document.getElementById('SETTINGSMENU1v').style.display = 'block'
}
</script>
<div style="border-radius: 15px; background-color: #1d1d1d; height: 50px;">
<div style="position: relative; top: 15px; ">
<img src="https://github.com/sz-games/home/blob/main/G.png?raw=true" style="position: absolute; top: -15px; height: 30px; width: 30px;" />
<h1 style="color: white; font-size: larger; top: 2px; position: relative; left: 55px; font-family: Arial, Helvetica, sans-serif; ">Sz Games</h1>
</div>
</div>
<div style="overflow-x: hidden; overflow-y: auto; height: 75%;">
<div class="MenuIt" style="height: 35px; top: 35px; width: 100%; position: relative;">
<a style="text-decoration: none;" href="./index.html">
<h1 style=" cursor: pointer; width: 100%; font-size: medium; top: 50%; transform: translate(-0%, -50%); text-align: center; color: white; font-family: Arial, Helvetica, sans-serif; position: relative;">Home</h1>
</a>
</div>
<div class="MenuIt" style="height: 35px; top: 35px; width: 100%; position: relative;">