What are different Navigator properties I can use on my web page?

HTMLJavascriptProgramming Scripts

can use several Navigator related properties in your Web page. The following are the properties −

Sr.No
Property & Description
1appCodeName
This property is a string that contains the code name of the browser, Netscape for Netscape and Microsoft Internet Explorer for Internet Explorer.
2appVersion
This property is a string that contains the version of the browser as well as other useful information such as its language and compatibility.
3language
This property contains the two-letter abbreviation for the language that is used by the browser. Netscape only.
4mimTypes[]
This property is an array that contains all MIME types supported by the client. Netscape only.
5platform[]
This property is a string that contains the platform for which the browser was compiled."Win32" for 32-bit Windows operating systems
6plugins[]
This property is an array containing all the plug-ins that have been installed on the client. Netscape only.
7userAgent[]
This property is a string that contains the code name and version of the browser. This value is sent to the originating server to identify the client.
raja
Published on 23-Feb-2018 16:30:31
Advertisements