Loading Please Wait...
The window.navigator object contains information about the visitor's browser.
The window.navigator object can be written without the window prefix.
Some examples:
The navigator.cookieEnabled property returns true if cookies are enabled, otherwise false.
alert(navigator.cookieEnabled);
The navigator.appName property returns the application name of the browser.
This property is removed (deprecated) in the latest web standard. Most browsers returns Netscape as appName.
alert(navigator.appName);
The navigator.appCodeName property returns the application code name of the browser.
This property is removed (deprecated) in the latest web standard. Most browsers returns Mozilla as appCodeName.
alert(navigator.appCodeName);
The navigator.product property returns the product name of the browser engine.
This property is removed (deprecated) in the latest web standard. Most browsers returns Gecko as product.
alert(navigator.product);
The navigator.appVersion property returns version information about the browser.
alert(navigator.appVersion);
The navigator.userAgent property returns the user-agent header sent by the browser to the server.
alert(navigator.userAgent);
The navigator.platform property returns the browser platform (operating system).
alert(navigator.platform);
The navigator.language property returns the browser's language.
alert(navigator.language);
The navigator.onLine property returns true if the browser is online.
alert(navigator.onLine);
The navigator.javaEnabled() method returns true if Java is enabled
alert(navigator.javaEnabled());
The information from the navigator object can often be misleading.
The navigator object should not be used to detect browser versions because:
How you feel about this blog:
Share this blog on:
If you find any error in the turtorials, or want to share your suggestion/feedback, feel free to send us email at: info@lynxsia.com
Contact UsWe are concern with various development process like website design & development, E-commerce development, Software development, Application development, SMS & Bulk SMS Provider, PWA Development, and many more..
Copyright ©
, Lynxsia IT Solutions, All rights reserved