Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

javascript checker

Status
Not open for further replies.

boyfromoz

Technical User
Feb 1, 2001
469
AU
I have a website that won't work unless javascript is turned on

has anyone seen an extension that does this?
 
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.
 
Thanks all

I ended up getting an scripting solution from the javascript forum.

Nippi

 
Hey Nippi,

why not to post the answer if you've found it so other members may know it as well? ;-) Good Luck! :)
 
harhar

because the answer was...

"This question ahs been asked a dozen times. Next time look up the FAQ before asking a dumb question"

So... teh answer is in the FAQ at the javascript forum, and no there isn't and extension(feal like writing one Eugene?)

 
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! :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top