views:

68

answers:

1

Possible Duplicate:
How to detect if JavaScript is disabled?

I have a website which uses a lot of JavaScript.

I need to check if JavaScript is disabled, then redirect user to a certain "enable JavaScript please" page.

I need to do this before everything else is loaded on the index.html page of my website.

Does anybody have a way of doing this and be sure that it works on the majority of browsers?

Thanks

If you need more input, let me know...

+3  A: 
<noscript><meta http-equiv="refresh" content="0;url=YOUR_URL_HERE"></noscript>
Vincent
I'm told that this doesn't work with several blockers, where `noscript` elements are simply ignored
Marcel Korpel
what do you mean with "blockers"?
Vincent
JavaScript blockers, that try to prevent running spyware and the like.
Marcel Korpel