What's the point of the javascript navigator.javaEnabled function?

Posted by den shade on Stack Overflow See other posts from Stack Overflow or by den shade
Published on 2010-05-24T13:36:52Z Indexed on 2010/05/24 13:41 UTC
Read the original article Hit count: 192

The navigator object has a javaEnabled function that indicates if the browser has javascript support. This seems to be a little odd:

  • If JS is indeed enabled the function will return true, well obviously.
  • If JS is disabled it will return <nothing> since it is never run, javaScript is disabled.

I must be missing something here, or is it really that useless this function?

© Stack Overflow or respective owner

Related posts about javascript-framework

Related posts about navigator