drop redirect

This commit is contained in:
2021-01-08 17:28:37 +03:00
parent 74a7a57678
commit 36ded581af
3 changed files with 8 additions and 30 deletions

View File

@ -27,17 +27,6 @@
</header>
<section>
<!-- redirection to russian page -->
<script type="text/javascript">
var languageinfo = navigator.language ? navigator.language : navigator.userLanguage
function redirectpage(dest) {
if (window.location.replace) window.location.replace(dest)
else window.location = dest
}
if (languageinfo.substr(0,2) == "ru") redirectpage("/ru/404.html")
</script>
<!-- redirection to russian page -->
<h3>Hello!</h3>
<figure class="img">