I need a JS detection script that will redirect users who do not have JS enabled to a different page without JS.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Kind of a paradox, isn’t it? The answer can’t be a script, since no scripts would be executed if JS is not enabled.
You can embed HTML inside a noscript tag, and this content will only be included if JS is not enabled.