Skip to content

Instantly share code, notes, and snippets.

@dmitrymomot
Created November 21, 2022 17:03
Show Gist options
  • Save dmitrymomot/cb34b7c3bc09c7df5ed61cae1baa972f to your computer and use it in GitHub Desktop.
Save dmitrymomot/cb34b7c3bc09c7df5ed61cae1baa972f to your computer and use it in GitHub Desktop.

Revisions

  1. dmitrymomot created this gist Nov 21, 2022.
    20 changes: 20 additions & 0 deletions js_redirect.html
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,20 @@
    <!DOCTYPE html>
    <html lang="en">

    <head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Redirect</title>
    <script type="text/javascript">
    function redirectionJavascript() {
    window.location.href = "/";
    }
    </script>
    </head>

    <body onLoad="setTimeout('redirectionJavascript()', 10000)">
    You will be redirected to the login page in 10 seconds.
    </body>

    </html>