-
Notifications
You must be signed in to change notification settings - Fork 61
/
new.html
728 lines (632 loc) · 19.6 KB
/
new.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
<html lang="en">
<head>
<link href="https://universal.wgplayer.com" rel="dns-prefetch"/>
<script async="" type="text/javascript">
!function(e,t){a=e.createElement("script"),m=e.getElementsByTagName("script")[0],a.async=1,a.src=t,a.fetchPriority='high',m.parentNode.insertBefore(a,m)}(document,"https://universal.wgplayer.com/tag/?lh="+window.location.hostname+"&wp="+window.location.pathname+"&ws="+window.location.search);
</script>
<link href="https://universal.wgplayer.com" rel="dns-prefetch"/><script async="" type="text/javascript">!function(e,t){a=e.createElement("script"),m=e.getElementsByTagName("script")[0],a.async=1,a.src=t,a.fetchPriority='high',m.parentNode.insertBefore(a,m)}(document,"https://universal.wgplayer.com/tag/?lh="+window.location.hostname+"&wp="+window.location.pathname+"&ws="+window.location.search);</script>
<title>Play Retro Bowl Unblocked Online</title>
<meta content="Retro Bowl Unblocked is an American football game in retro style where your purpose is to coach your team and win a prize at the end of each season." name="description"/>
<meta content="follow, index, max-snippet:-1, max-video-preview:-1, max-image-preview:large" name="robots"/>
<link href="//retrobowl.ee" rel="canonical"/>
<meta content="en_US" property="og:locale"/>
<meta content="article" property="og:type"/>
<meta content="Play Retro Bowl Online" property="og:title"/>
<meta content="Retro Bowl is an American football game in retro style where your purpose is to coach your team and win a prize at the end of each season." property="og:description"/>
<meta content="https://retrobowl.ee/" property="og:url"/>
<meta content="RetroBowl" property="og:site_name"/>
<meta content="https://www.facebook.com/w3technic" property="article:publisher"/>
<meta content="Games" property="article:section"/>
<meta content="https://retrobowl.info/img/games/retro-bowl.webp" property="og:image"/>
<meta content="https://retrobowl.info/img/games/retro-bowl.webp" property="og:image:secure_url"/>
<meta content="1280" property="og:image:width"/>
<meta content="720" property="og:image:height"/>
<meta content="Retro Bowl" property="og:image:alt"/>
<meta content="image/png" property="og:image:type"/>
<meta content="summary_large_image" name="twitter:card"/>
<meta content="Play Retro Bowl Online" name="twitter:title"/>
<meta content="Retro Bowl is an American football game in retro style where your purpose is to coach your team and win a prize at the end of each season." name="twitter:description"/>
<meta content="@w3technic" name="twitter:site"/>
<meta content="@w3technic" name="twitter:creator"/>
<meta content="https://retrobowl.info/img/games/retro-bowl.webp" name="twitter:image"/>
<meta charset="utf-8"/>
<meta content="width=device-width, maximum-scale=1.0, initial-scale=1.0, user-scalable=no, minimal-ui" name="viewport"/>
<meta content="requiresActiveX=true,IE=Edge,chrome=1" http-equiv="X-UA-Compatible"/>
<meta content="en-US" http-equiv="Content-Language"/>
<script async="" crossorigin="anonymous" src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-3720612299124178"></script>
<style>
html, body {
height: 100%;
margin: 0;
padding: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
background-color: #0e0e0e;
}
.game-container {
width: 100%;
height: 100%;
}
#container {
display: flex;
justify-content: space-between;
flex-direction: row;
width: 100%;
height: 100%;
min-height: 100%;
overflow: hidden;
}
#frame {
border: none;
width: 100%;
height: 100vh;
}
#ads {
width: 330px;
height: 100%;
text-align: center;
}
@media only screen and (max-width: 768px) {
#container {
flex-direction: column;
}
#frame {
height: 100%;
}
#ads {
width: 100%;
}
}
@media only screen and (max-width: 400px) {
#ads {
width: 100%;
margin: 0 auto;
}
}
#footer-menu a {
text-decoration: none;
color: green;
border: 2px solid;
border-radius: 10px;
padding: 7px;
}
#footer-menu a:hover {
color: rgb(4, 187, 4);
}
</style>
<style>
* {
padding: 0;
margin: 0;
}
@media only screen and (max-width: 504px) {
#right-column {
display: block;
}
#menu-container {
width: 210px !important;
}
}
@media only screen and (min-width: 505px) {
#right-column {
display: none;
}
}
@media (any-hover: none) and (orientation: landscape) {
#header-message {
display: none;
}
}
#side-navigation {
position: fixed;
left: 0;
top: 0;
z-index: 100;
}
#menuToggle {
display: flex;
flex-direction: column;
position: relative;
top: 25px;
left: 25px;
z-index: 1;
-webkit-user-select: none;
user-select: none;
}
#menu-container {
line-height: normal;
position: absolute;
display: flex;
flex-direction: row;
justify-content: flex-start;
align-items: flex-start;
width: 210px;
height: 100vh;
margin-top: -150px;
margin-right: 0;
margin-bottom: 0;
margin-left: -50px;
padding-top: 190px;
padding-bottom: 50px;
padding-right: 50px;
padding-left: 50px;
background-color: #16181c;
-webkit-font-smoothing: antialiased;
transform-origin: 0% 0%;
transform: translate(-100%, 0);
transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
list-style-type: none;
}
#scrollable-container {
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-items: flex-start;
justify-content: space-between;
align-content: space-between;
max-height: calc(100vh - 65px);
overflow-y: scroll;
overflow-x: hidden;
padding-top: 10px;
}
#scrollable-container::-webkit-scrollbar {
display: none;
}
#scrollable-container {
-ms-overflow-style: none;
scrollbar-width: none;
}
#left-column {
min-width: 200px;
padding-right: 30px;
padding-bottom: 10px;
}
#right-column {
width: 200px;
padding-bottom: 10px;
}
#menu-bottom {
width: 200px;
padding-bottom: 50px;
}
#menu-bottom p {
margin-bottom: 5px;
}
#checkbox1 {
display: flex;
width: 70px;
height: 55px;
position: absolute;
cursor: pointer;
opacity: 0;
z-index: 2;
left: -10px;
top: -15px;
}
#menuToggle span {
display: flex;
width: 50px;
height: 4px;
margin-bottom: 10px;
position: relative;
background: #fff;
border-radius: 3px;
z-index: 1;
transform-origin: 6px 0;
transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1),
background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), opacity 0.55s ease;
}
@media only screen and (max-width: 600px) {
#menuToggle span {
width: 24px;
height: 2px;
margin-bottom: 4px;
transform-origin: 3px 0;
}
#checkbox1 {
width: 40px;
height: 40px;
}
nav svg {
width: 20px;
height: 20px;
margin-top: 2px;
}
}
#menuToggle span:first-child {
transform-origin: 0% 0%;
}
#menuToggle span:nth-last-child(2) {
transform-origin: 0% 100%;
}
#checkbox1:checked~span {
opacity: 1;
transform: rotate(45deg) translate(-3px, -1px);
}
#checkbox1:checked~span:nth-last-child(3) {
opacity: 0;
transform: rotate(0deg) scale(0.2, 0.2);
}
#checkbox1:checked~span:nth-last-child(2) {
transform: rotate(-45deg) translate(0, -1px);
}
#checkbox1:checked~#menu-container {
transform: none;
}
#menu1 {
list-style-type: none;
height: 100vh;
}
#menu1 h1 {
color: #fff;
}
#menu1 a {
margin-left: 7px;
text-decoration: none;
color: #e6e6e6;
opacity: 1;
font-size: 1.1rem;
font-weight: 300;
transition: 200ms;
}
#menu1 li:hover {
background-color: #0e0e0e !important;
}
#menu1 li {
border-radius: 25px;
padding: 10px;
list-style-type: none;
display: flex;
flex-direction: row;
align-items: center;
}
.more-games-button {
background-color: #16181c;
border: 1px #d3d3d3 solid;
border-radius: 10px;
color: lightgrey;
font-size: 24px;
text-transform: uppercase;
padding: 4px 10px;
width: 180px;
outline: 0;
}
.more-games-button:hover {
cursor: pointer;
border: 1px #a9a9a9 solid;
background-color: #0f0f0f;
color: #0e0e0e;
}
a.page-link {
text-decoration: none;
color: #e6e6e6;
opacity: 1;
font-size: 1.5rem !important;
font-weight: 400;
transition: 200ms;
padding-bottom: 2px;
}
a.page-link:hover {
opacity: 0.5;
}
a.small-link {
text-decoration: none;
color: #e6e6e6;
opacity: 1;
font-size: 1rem !important;
font-weight: 400;
transition: 200ms;
padding-bottom: 2px;
}
a.small-link:hover {
opacity: 0.5;
}
a.small-link:visited {
color: #e6e6e6;
}
.menu-small-text {
color: #e6e6e6;
opacity: 1;
font-size: 0.8rem;
line-height: 1rem;
}
.asterisk {
color: #e6e6e6;
opacity: 1;
font-size: 1.5rem;
font-weight: 400;
vertical-align: top;
}
.active {
background-color: rgba(0, 0, 0, 0.5);
}
.navigation-img {
border-radius: 20%;
height: 30px;
width: 30px;
}
#menu-container {
height: revert;
}
#menu-container {
width: 350px !important;
}
#menu1 li:last-child {
padding-bottom: 20px;
}
/* Add the following styles to your existing stylesheet */
#filterContainer {
display: flex;
align-items: center;
}
#searchInput {
padding: 8px;
border: 2px solid #555;
border-radius: 10px;
background-color: #333;
color: #fff;
font-size: 16px;
width: 80%;
margin-right: 10px;
}
#filterContainer a {
color: #fff;
text-decoration: none;
border: 2px solid #555;
border-radius: 10px;
padding: 5px 5px;
background-color: #333;
cursor: pointer;
font-size: 10px;
}
#footer-menu{
line-height: 3px;
}
#footer-menu a {
position: relative;
display: inline-block;
}
#footer-menu a .tooltip {
visibility: hidden;
width: 200px;
background-color: black;
color: white;
text-align: center;
border-radius: 6px;
padding: 5px 0;
/* Position the tooltip */
position: absolute;
z-index: 1;
bottom: 100%;
left: 50%;
margin-left: -100px;
/* Transition for smoother appearance */
opacity: 0;
transition: opacity 0.3s;
}
#footer-menu a:hover .tooltip {
visibility: visible;
opacity: 1;
}
</style>
<script>
document.addEventListener("DOMContentLoaded", function () {
var lazyImages = document.querySelectorAll('.lazy');
if ('IntersectionObserver' in window) {
var lazyImageObserver = new IntersectionObserver(function (entries, observer) {
entries.forEach(function (entry) {
if (entry.isIntersecting) {
var lazyImage = entry.target;
lazyImage.src = lazyImage.dataset.src;
lazyImage.classList.remove('lazy');
lazyImageObserver.unobserve(lazyImage);
}
});
});
lazyImages.forEach(function (lazyImage) {
lazyImageObserver.observe(lazyImage);
});
} else {
// Fallback for browsers that do not support IntersectionObserver
lazyImages.forEach(function (lazyImage) {
lazyImage.src = lazyImage.dataset.src;
lazyImage.classList.remove('lazy');
});
}
});
function filterList() {
var input, filter, ul, li, a, i, txtValue;
input = document.getElementById('searchInput');
filter = input.value.toUpperCase();
ul = document.getElementById('menu1');
li = ul.getElementsByTagName('li');
for (i = 0; i < li.length; i++) {
a = li[i].getElementsByTagName('a')[0];
txtValue = a.textContent || a.innerText;
if (txtValue.toUpperCase().indexOf(filter) > -1) {
li[i].style.display = '';
} else {
li[i].style.display = 'none';
}
}
}
var sortOrder = 'asc';
function sortList() {
var ul = document.getElementById('menu1');
var li = ul.getElementsByTagName('li');
var sortedItems = Array.from(li).sort(function (a, b) {
var textA = a.textContent || a.innerText;
var textB = b.textContent || b.innerText;
if (sortOrder === 'asc') {
return textA.localeCompare(textB);
} else {
return textB.localeCompare(textA);
}
});
// Remove existing items from the list
while (ul.firstChild) {
ul.removeChild(ul.firstChild);
}
// Append sorted items back to the list
for (var i = 0; i < sortedItems.length; i++) {
ul.appendChild(sortedItems[i]);
}
// Toggle sorting order and update link text
sortOrder = (sortOrder === 'asc') ? 'desc' : 'asc';
document.querySelector('#filterContainer a').textContent = (sortOrder === 'asc') ? 'A-Z' : 'Z-A';
}
document.addEventListener("DOMContentLoaded", function () {
var menuToggle = document.getElementById('menuToggle');
var checkbox = document.getElementById('checkbox1');
menuToggle.addEventListener('mouseover', function () {
checkbox.checked = true;
});
menuToggle.addEventListener('mouseout', function () {
checkbox.checked = false;
});
});
</script>
<!-- Google tag (gtag.js) -->
<script async="" src="https://www.googletagmanager.com/gtag/js?id=G-JNV0GPHRDL"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-JNV0GPHRDL');
</script>
</head>
<body>
<div id="container">
<div class="game-container" id="game">
<iframe allow="autoplay" allowfullscreen="true" allowvr="" frameborder="0" id="frame" mozallowfullscreen="true" scrolling="no" src="/new/index.html" webkitallowfullscreen="true">
</iframe>
</div>
<div id="ads">
<script async="" crossorigin="anonymous" src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-3720612299124178"></script>
<!-- Retro bowl -->
<ins class="adsbygoogle" data-ad-client="ca-pub-3720612299124178" data-ad-format="auto" data-ad-slot="1948946535" data-full-width-responsive="true" style="display:block"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
<div id="footer-menu">
<a href="javascript:;" id="hide-ads" title="Click to hide ads after view a short ad">Hide ads
<span class="tooltip">Hide ads after view a short ad</span>
</a>
<a href="javascript:;" id="fullscreen-button" onclick="toggleFullscreen()">Fullscreen
<span class="tooltip">Play the game in fullscreen mode</span>
</a>
<a href="/">Home
<span class="tooltip">Return Home</span>
</a>
<a href="https://retrobowlcollege.co" target="_blank">Retro Bowl College
<span class="tooltip">Play Retro Bowl College</span>
</a>
</div>
</div>
</div>
<script type="43f92c5823e95dd824ade679-text/javascript">
// Set the options globally
// to make LazyLoad self-initialize
window.lazyLoadOptions = {
// Your custom settings go here
};
document.getElementById("hide-ads").addEventListener("click", function(){
showAFG();
})
document.addEventListener("DOMContentLoaded", function() {
if (document.referrer.includes('retrobowl.me') || document.referrer.includes('retrobowl.app')) {
var adsElement = document.getElementById('ads');
if (adsElement) {
adsElement.style.display = 'none';
}
}
});
function toggleFullscreen() {
var iframe = document.getElementById('frame');
if (!document.fullscreenElement) {
if (iframe.requestFullscreen) {
iframe.requestFullscreen();
} else if (iframe.mozRequestFullScreen) { /* Firefox */
iframe.mozRequestFullScreen();
} else if (iframe.webkitRequestFullscreen) { /* Chrome, Safari & Opera */
iframe.webkitRequestFullscreen();
} else if (iframe.msRequestFullscreen) { /* IE/Edge */
iframe.msRequestFullscreen();
}
} else {
if (document.exitFullscreen) {
document.exitFullscreen();
} else if (document.mozCancelFullScreen) { /* Firefox */
document.mozCancelFullScreen();
} else if (document.webkitExitFullscreen) { /* Chrome, Safari & Opera */
document.webkitExitFullscreen();
} else if (document.msExitFullscreen) { /* IE/Edge */
document.msExitFullscreen();
}
}
}
</script>
<script>// data-adbreak-test="on"
window.adsbygoogle = window.adsbygoogle || [];
var adBreak = adConfig = function (o) { adsbygoogle.push(o); }</script>
<script>
function showAFG() {
var show_ads = (typeof adBreak !== 'undefined') ? true : false;
var domain = 'retrobowl.info';
if (window != window.top && document.referrer != null) {
url = document.referrer;
ref = url.match(/:\/\/(.[^/]+)/)[1];
if (ref != domain) { show_ads = false; }
}
if (show_ads) {
console.log("show ads");
// Game start logic
let adConfigPromise =
new Promise((resolve, reject) => adConfig({
preloadAdBreaks: 'on',
onReady: () => resolve(true)
}));
let timeoutPromise =
new Promise((resolve, reject) => {
setTimeout(() => {
resolve(false);
}, 2000);
});
// Whatever happens first resolves this promise.
Promise.race([
adConfigPromise,
timeoutPromise
]).then((shouldShowPreRoll) => {
if (shouldShowPreRoll) {
showPreRoll();
} else {
hideAds();
}
});
} else {
console.log("no show ads");
hideAds();
}
}
function hideAds() {
document.getElementById("ads").style.display = "none";
}
function showPreRoll() {
// Show ad
adBreak({
type: 'preroll',
adBreakDone: hideAds, // always called, unblocks the game logic
});
}
function checkIfIframe() {
if (window.self !== window.top) {
hideAds();
}
}
// Run the check when the page loads
window.onload = checkIfIframe;
</script>
<script async="" defer="" src="https://cdn.jsdelivr.net/npm/vanilla-lazyload@17.8.1/dist/lazyload.min.js" type="43f92c5823e95dd824ade679-text/javascript"></script>
<script data-cf-settings="43f92c5823e95dd824ade679-|49" defer="" src="/cdn-cgi/scripts/7d0fa10a/cloudflare-static/rocket-loader.min.js"></script>
<script crossorigin="anonymous" data-cf-beacon='{"rayId":"773172882895896b","version":"2022.11.3","r":1,"token":"1a3ad221ebbe4ce2abe2f6db2b59dd9d","si":100}' defer="" integrity="sha512-0ahDYl866UMhKuYcW078ScMalXqtFJggm7TmlUtp0UlD4eQk0Ixfnm5ykXKvGJNFjLMoortdseTfsRT8oCfgGA==" src="https://static.cloudflareinsights.com/beacon.min.js/vaafb692b2aea4879b33c060e79fe94621666317369993"></script>
</body>
</html>