-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path404.html
More file actions
29 lines (29 loc) · 1022 Bytes
/
404.html
File metadata and controls
29 lines (29 loc) · 1022 Bytes
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
<!DOCTYPE html>
<html>
<head>
<title>Redirecting you</title>
<link href="stylesheets/screen.css" rel="stylesheet" />
</head>
<body>
<div class="root">
<div class="header">Redirecting you in less than 1 second... <a href="http://morrow.github.com">go to morrow.github.com</a><a href="https://github.com/morrow">go to github.com/morrow</a>
</div>
</div>
</body>
<script type="text/javascript">var query = window.location.pathname.toString().toLowerCase();
if(query.match(/css/)) {
query = window.location.pathname.replace('/CSS-Reference/', '');
var url = '/css-reference/#'+ query;
if(window.history.replaceState) {
window.history.replaceState({},query,url);
window.location.href = url;
window.location.reload();
}
else {
window.setTimeout('window.location.href = ' + url, 999)
}
}
else {
window.location.href = 'http://morrow.github.com/#/' + window.location.pathname;
}</script>
</html>