-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path404.html
More file actions
26 lines (25 loc) · 1.39 KB
/
404.html
File metadata and controls
26 lines (25 loc) · 1.39 KB
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
<html>
<head>
<noscript><meta http-equiv="refresh" content="0; url=https://qmetry.github.io/qaf" /></noscript>
<script type="text/javascript">
function redirect() {
var currLoc=window.location.href;
if(currLoc.indexOf('/migrate/') !== -1){
var newLoc=currLoc.replace('/migrate/','/qaf/');
document.body.innerHTML="This project has been moved to <a href=\""+newLoc+"\"> new location </a>. If you are not automatically get redirected in 10 seconds please visit <a href=\""+newLoc+"\"> new location </a>";
setTimeout(setLoc(newLoc), 10000);
}/*else{
var newLoc=currLoc.replace('infostretch.github.io/qaf','qmetry.github.io/qaf/qaf-2.1.7b');
document.body.innerHTML="This project has been moved to <a href=\""+newLoc+"\"> new location </a>. If you are not automatically get redirected in 10 seconds please visit <a href=\""+newLoc+"\"> new location </a>";
setTimeout(setLoc(newLoc), 10000);
}*/
}
function setLoc(loc){
window.location=loc;
}
</script>
</head>
<body onload="redirect();">
This project has been moved to new location. If you are not automatically get redirected in 10 seconds, Please visit <a href="https://qmetry.github.io/qaf/" target="_blank">new location here</a>.
</body>
</html>