Update index.html

This commit is contained in:
smartfridge 2021-10-24 13:10:37 +02:00 committed by GitHub
parent c8088eeb32
commit 58645c2523
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,3 +1,29 @@
under construction ™️ <head>
in following days, some links may result in 404 <link rel="canonical" href="https://smartfridge.space"/>
xoxo <noscript><meta http-equiv="refresh" content="1;url=https://smartfridge.space"></noscript>
<script type="text/javascript">
var url = "https://smartfridge.space";
var delay = "1000";
window.onload = function ()
{
DoTheRedirect()
}
function DoTheRedirect()
{
setTimeout(GoToURL, delay)
}
function GoToURL()
{
// IE8 and lower fix
if (navigator.userAgent.match(/MSIE\s(?!9.0)/))
{
var referLink = document.createElement("a");
referLink.href = url;
document.body.appendChild(referLink);
referLink.click();
}
// All other browsers
else { window.location.replace(url); }
}
</script>
</head>