Setup the page so that will act like the user doen't have javascript enabled (aka make a big message about how they need to enable javascript or redirect them or whatever).
However, add into the page something in javascript that will overwrite the error message.
Thus if they have javscript, they don't notice anything.
You know Nippi what I would do? I'd simply put small piece of code into the place I need -
<body>
... <noscript>YOU MUST HAVE JAVASCRIPT ENABLED TO SEE THIS SITE!!!</noscript>
...
</body>
As you know <noscript> tag used by browsers that support <script> tag but cannot execute script now (when scripting is disabled). This is the easiest way and probably the most correct one (accessibility and so on). IMHO Good Luck!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.