开发者

Check if javascript is enabled on all (most) browsers? [duplicate]

开发者 https://www.devze.com 2023-01-11 19:35 出处:网络
This question already has answers here: Closed 12 years ago. Possible Duplicate: How to detect if JavaScript is disabled?
This question already has answers here: Closed 12 years ago.

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...


<noscript><meta http-equiv="refresh" content="0;url=YOUR_URL_HERE"></noscript>
0

精彩评论

暂无评论...
验证码 换一张
取 消