-
Notifications
You must be signed in to change notification settings - Fork 6
/
_index.html
44 lines (34 loc) · 1.33 KB
/
_index.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
<html>
<!--
pgn4web javascript chessboard
copyright (C) 2009, 2010 Paolo Casaschi
see README file and http://pgn4web.casaschi.net
for credits, license and more details
-->
<head>
<script type="text/javascript">
<!-- hide javascript from non-javascript browsers
main_host = "http://pgn4web.casaschi.net/";
main_host = "";
if (window.location.host.match("board-generator")) {
window.location.href = main_host + "board-generator.html" + window.location.search + window.location.hash;
} else if (window.location.host.match("board")) {
window.location.href = main_host + "board.html" + window.location.search + window.location.hash;
} else if (window.location.host.match("demo")) {
window.location.href = main_host + "demo.html" + window.location.search + window.location.hash;
} else if (window.location.host.match("viewer")) {
window.location.href = main_host + "viewer.php" + window.location.search + window.location.hash;
} else if (window.location.host.match("live")) {
window.location.href = main_host + "live.html" + window.location.search + window.location.hash;
} else {
window.location.href = main_host + "home.html" + window.location.search + window.location.hash;
}
//-->
</script>
<noscript>
your web browser and/or your host do not support javascript as required by the pgn4web site
</noscript>
</head>
<body>
</body>
</html>