Created
January 12, 2019 03:38
-
-
Save sayhicoelho/63d05492614b1084106107d5a71afe99 to your computer and use it in GitHub Desktop.
Noscript for HTML.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<noscript> | |
<meta http-equiv="refresh" content="0; URL=/noscript.html" /> | |
</noscript> | |
<title>Loading...</title> | |
</head> | |
<body> | |
<script> | |
document.body.innerHTML = `<h1>Welcome with Javascript!</h1>`; | |
document.title = 'Welcome!' | |
</script> | |
</body> | |
</html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Enable the Javscript</title> | |
</head> | |
<body> | |
<h1>Enable Javascript to use our application!</h1> | |
<script> | |
window.location.href = '/'; | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment