Javascript navigator properties enable you to get the information and settings of client browser. Javascript navigator object consists of properties such as cookieEnabled that detects the browser settings and returns the Boolean value as true or false based on the browser support for cookies. Javascript navigator properties cannot retrieve the information of all the web browsers. Each web browser returns some of the navigator object property values. Javascript runtime engine creates the navigator object along with information about client browser that can be retrieved using different properties of navigator object.
appCodeName: appCodeName property of navigator returns the code name of the web browser.
appName: appName property returns the name of the browser.
appVersion: appVersion property of navigator object returns the installed version of the web browser along with information about Operating System platform. Information about platform consists of browser name and its version, OS platform name and version, and other runtime environments installed associated with web browser e.g.: .Net CLR in windows.
cookieEnabled: cookieEnabled property returns the Boolean value as true or false by detecting the settings of the web browser whether it has cookies enables or not.
platform: platform property of navigator returns the Operating System platform name e.g.: Win32 for Windows.
systemLanguage: returns the language of the Operating System.
userAgent: userAgent property of the navigator object returns the complete information about the browser containing appCodeName and appVersion
userLanguage: returns the user preferred language for the operating system.
Also learn Javascript browser cookies enabled.
Be the first to rate this post
Tags: javascript, javascript navigator properties, javascript window navigator, javascript browser detection, javascript navigator object, javascript window navigator properties, javascript navigator.appname, javascript navigator.appversion, javascript navigator.useragent, check cookies enabled
8/23/2008 9:01:43 PM