Tutorial :Javascript detection script



Question:

I need a JS detection script that will redirect users who do not have JS enabled to a different page without JS.


Solution:1

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.

<noscript><meta http-equiv="refresh" content="0;url=http://example.com/no_js.html/"></noscript>  

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »