-
Notifications
You must be signed in to change notification settings - Fork 0
/
404.html
191 lines (153 loc) · 7.43 KB
/
404.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
<HTML>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<link href="https://news.oe-games.com/favicon.ico" rel="icon" type="image/x-icon">
<link rel="stylesheet" href="fonts.css">
<link rel="stylesheet" href="style.css">
<title>Oops :(</title>
</head>
<BODY>
<div id='navspace'></div>
<div id='navigationbar'>
<div id='nav_Inner'>
<div id='nav_LeftSide'><a href='/'>
<img id='logo_top' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-2ZAvZSXxYdUm01gqSYi_wWbnMfaaTWGw_cncnTQiRAn5Ewg5Qmk4ofSe5gCoXFH8K8Xt6B7XD5Oz9BOP2yWQEae33zQuaEvYWacVtGB8cGax1Nyd3wBbMQTyMY4e63pcpWCB2vh_H4cGcxoG-V1VRsNSUSOBe1a48n4UZ3Gc2hheXDtw750EVirRFJnp/s320/3d_transp.png'/>
<a href='/p/games.html'><span class='button' id='button'>Games</span></a>
</a>
</div>
<div id='nav_Middle'>
<a href='https://news.oe-games.com'><span class='button' id='button'>News</span></a>
<a href='https://shop.peachy.graphics'><span class='button'>Merch</span></a>
<a href='/p/help.html'><span class='button'>Help</span></a>
</div>
<div id='nav_RightSide'>
</div>
</div>
</div>
<div id="page_content">
<h2 class="post-title">
404 Page not found :(
</h2>
<p style="font-size: medium; font-weight: 400;">The page you are looking may moved to news.oe-games.com</p>
<b>
<a id="navigateLink" href="#"><button>Navigate there?</button></a></b><br/>
</div>
<div id="footer_f"><div id="peachyfooter">
<div><a href="/"><img data-original-height="858" data-original-width="3666" height="40" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-2ZAvZSXxYdUm01gqSYi_wWbnMfaaTWGw_cncnTQiRAn5Ewg5Qmk4ofSe5gCoXFH8K8Xt6B7XD5Oz9BOP2yWQEae33zQuaEvYWacVtGB8cGax1Nyd3wBbMQTyMY4e63pcpWCB2vh_H4cGcxoG-V1VRsNSUSOBe1a48n4UZ3Gc2hheXDtw750EVirRFJnp/s320/3d_transp.png" width="100"></a></div>
<div id="footer_items" >
<div class="footer_items_1"> ©2024 OE Games All Rights Reserved<br/>The OE-Games website was designed by
<a href="https://www.peachy.graphics">Peachy Graphics</a> and is powered by
<a href="https://www.blogger.com/">Blogger</a>
and <a href="https://pages.github.com/"> GitHub Pages</a>.</div>
<div class="footer_items_2" >
<a class="footer_Button" href="/p/help.html">Help</a>
<a class="footer_Button" href="/p/privacy-policy.html">Privacy</a>
<a class="footer_Button" href="/p/terms-and-privacy.html">Terms</a>
<a class="footer_Button" href="/p/about-me.html">About</a>
</div>
</div>
</div></div>
</BODY>
<script>
window.addEventListener('DOMContentLoaded', (event) => {
// Check if the page is a 404 error
// Construct the new URL
const newUrl = 'https://news.oe-games.com' + window.location.pathname;
// Set the href attribute of the anchor with id 'navigateLink'
const navigateLink = document.getElementById('navigateLink');
if (navigateLink) {
navigateLink.href = newUrl;
}
});
</script>
<script>
if ( window !== window.parent )
{
var elements = document.querySelectorAll(".post-image-main");
elements.forEach(function(element) {
element.classList.remove("post-image-main");
});
document.getElementById("navspace").remove();
document.getElementById("navigationbar").remove();
document.getElementById("peachyfooter").remove();
var mainElement = document.getElementById('main');
var childNodes = mainElement.childNodes;
for (var i = childNodes.length - 1; i >= 0; i--) {
var childNode = childNodes[i];
if (childNode.id !== "page_body") {
mainElement.removeChild(childNode);
}
}
var style = document.createElement('style');
style.innerHTML = 'body { background-color: transparent; }' +
'#page_body {transform:scale(1); }' +
'#Blog1 { transform: scale(1.4); margin-top: 352px; width: 425px; }' +
'.item-view .main-container { max-width: calc(100% - 763px); }' +
'.item-view .centered-bottom { max-width: unset; }' +
'.page { overflow: hidden; }' +
'.post-wrapper { box-shadow: 1px 1px 7px 1px #00000024; background-color:transparent;}' +
'.post { background-color:#61616138!important; font-family:Roboto; color:#fff;}' +
'.post a { color:#fff!important; font-weight:bold;}' +
'.post-filter-message { Display:None;}' +
'.centered-top-container { Display:None;}' +
'#Blog1 {margin-top: 207px;}';
document.head.appendChild(style);
window.addEventListener('DOMContentLoaded', function() {
var anchors = document.getElementsByTagName('a');
for (var i = 0; i < anchors.length; i++) {
anchors[i].setAttribute('target', '_blank');
anchors[i].setAttribute('rel', 'noopener noreferrer');
}
});
}
else
{
// The page is not in an iframe
}
</script>
<script>
console.log(location.pathname);
if(!location.pathname.includes(".html")){
$(".centered").css("margin-top","0px");
}
</script>
<script>
//not used
if (matchMedia) {
const mq = window.matchMedia("(min-width: 845px)");
mq.addListener(WidthChange);
WidthChange(mq);
}
function WidthChange(mq) {
if (mq.matches) {
} else {
}
}
//not used
var prevScrollpos = window.pageYOffset;
window.onscroll = function() {
var currentScrollPos = window.pageYOffset;
if (prevScrollpos > currentScrollPos) {
document.getElementById("navigationbar").style.top = "0";
} else {
document.getElementById("navigationbar").style.top = "-84px";
}
prevScrollpos = currentScrollPos;
}
</script>
<script>
setTimeout(function() {
resizeHeightOfMyDiv();
$(window).on("resize", function() {
resizeHeightOfMyDiv();
});
}, 300);
function resizeHeightOfMyDiv(){
var cw = $('.post iframe').width() / 1.75;
console.log($('.post iframe').width());
$('.post iframe:not(#bgfullscreenv)').css({'height':cw+'px'});
}
$('.post-body').first().find('img').first().parent().remove();
</script>
</HTML>