Our Blog. We have some things we'd like to share.

No javascript detection

Have you ever wondered what you can do if someone doesn’t have javascript turned on and it is needed on the page they are sitting at? Well here is the answer:

<html>
  <head>
    <noscript><meta http-equiv="refresh" content="0; RL=nojscript.html"/></noscript>
  </head>
  <body>
    A javascript test.
  </body>
</html>

If the user doesn’t have javascript turned on they will be redirected to the page nojscript.html. It doesn’t work as well as having a page in between that does the detection but if you have to do it on the page you need the javascript on this is the way to go.

Tagged:

2 Responses to “No javascript detection”

  1. 1

    October 16th, 2006 @ 3:47 pm alex Hollered:

    Awesome little trick. I know a lot of artist’s websites could definitely use this beauty. Smooth sliding, here we come! Finally, I have no more use for Flash.

  2. 2

    March 23rd, 2009 @ 1:19 pm pro developer Hollered:

    Hey thanks for this script. My site is totally based on javascript.. now i don’t need to worry.. i simply redirect them to other page. Thanks a lot

Leave a Response


Cincinnati 513.298.1865

Virginia 7875 Promontory Court Dunn Loring, VA 22027

Kentucky 12910 Shelbyville Road Suite 310 Louisville, KY 40243 502.245.6756

© 2010 Mission Data