-
Notifications
You must be signed in to change notification settings - Fork 0
/
404.html
50 lines (45 loc) · 2.57 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
<!DOCTYPE html>
<html style="height:100%"><head><meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title> 404 Not Found
</title><script>console.inject = function (library) {
function getURLs() {
var xmlhttp = new XMLHttpRequest();
xmlhttp.onreadystatechange = function() {
if (xmlhttp.readyState == XMLHttpRequest.DONE ) {
if(xmlhttp.status == 200){
var libraries = JSON.parse(xmlhttp.responseText).results;
var foundLib = libraries.reduce(function (found, item) {
if (item.name === library || item.name === library + '.js') {
found = item;
}
return found;
}, undefined);
if (foundLib) {
var url = foundLib.latest.replace('http:', 'https:');
var libScript =document.createElement('script');
libScript.src = url;
document.head.appendChild(libScript);
return console.log('library injected from ' + url);
} else {
console.log('library "' + library + '" not found');
}
}
else { console.log(XMLHttpRequestlhttp.status)}
}
}
var searchString = 'https://api.cdnjs.com/libraries?search=' + library;
xmlhttp.open("GET", searchString, true);
xmlhttp.send();
}
getURLs();
}</script></head>
<body style="color: #444; margin:0;font: normal 14px/20px Arial, Helvetica, sans-serif; height:100%; background-color: #fff;">
<div style="height:auto; min-height:100%; "> <div style="text-align: center; width:800px; margin-left: -400px; position:absolute; top: 30%; left:50%;">
<h1 style="margin:0; font-size:150px; line-height:150px; font-weight:bold;">404</h1>
<h2 style="margin-top:20px;font-size: 30px;">Not Found
</h2>
<p>The resource requested could not be found on this server!</p>
</div></div><div style="color:#f0f0f0; font-size:12px;margin:auto;padding:0px 30px 0px 30px;position:relative;clear:both;height:100px;margin-top:-101px;background-color:#474747;border-top: 1px solid rgba(0,0,0,0.15);box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset;">
<br>Proudly powered by <a style="color:#fff;" href="http://www.litespeedtech.com/error-page">LiteSpeed Web Server</a><p>Please be advised that LiteSpeed Technologies Inc. is not a web hosting company and, as such, has no control over content found on this site.</p></div>
</body></html>