Disabled User Handling Redirect Website

Published :
Author :
Adam Khoury
Learn an efficient way to handle JavaScript disabled users and keep your code slim as possible. Create normal neat and clean easy to manage pages in your JavaScript heavy website by supplying fallback content in the way of an alternate page for the few oddballs or automated software that does not process JavaScript. <html> <head> <noscript> <meta http-equiv="refresh" content="0; url=index_no_js.html"> </noscript> </head> <body> <script> document.write("<h2>Welcome to a JavaScript powered experience.</h2>"); </script> </body> </html> <!-- you can put the noscript tag in your body if you wish, instead of head -->