fix: move script element below body
This commit is contained in:
parent
fc25a96c08
commit
48df27580b
1 changed files with 6 additions and 6 deletions
12
index.html
12
index.html
|
@ -3,6 +3,12 @@
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<title>redirecting</title>
|
<title>redirecting</title>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<noscript>PLEASE ENABLE JAVASCRIPT</noscript>
|
||||||
|
<p>You will be automatically directed to the <span id="info">ERROR - PLEASE ENABLE JAVASCRIPT OR CONTACT WITH ADMIN</span></p>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
var a = location.href;
|
var a = location.href;
|
||||||
var b = a.substring(a.indexOf("?") + 1);
|
var b = a.substring(a.indexOf("?") + 1);
|
||||||
|
@ -13,12 +19,6 @@
|
||||||
|
|
||||||
window.location.replace(c);
|
window.location.replace(c);
|
||||||
</script>
|
</script>
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
<noscript>PLEASE ENABLE JAVASCRIPT</noscript>
|
|
||||||
<p>You will be automatically directed to the <span id="info">???</span>
|
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue