Category Archives: web design

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:

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

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.