JavaScript Reference/Javascript Objects/clientInformation
Содержание
"clientInformation" Example
<html>
<body>
<button onclick="alert(window.clientInformation.appName);">Browser name</button>
<button onclick="alert(window.clientInformation.appVersion);">Browser version</button>
</body>
</html>
"clientInformation" is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |window |
+----------------+--------------------------------------------------------------+
"clientInformation" JavaScript Collections
+----------------+--------------------------------------------------------------+
| JavaScript |plugins |
+----------------+--------------------------------------------------------------+
"clientInformation" JavaScript Methods
+----------------+--------------------------------------------------------------+
| JavaScript |javaEnabled taintEnabled |
+----------------+--------------------------------------------------------------+
"clientInformation" JavaScript Objects
+----------------+--------------------------------------------------------------+
| JavaScript |userProfile |
+----------------+--------------------------------------------------------------+
"clientInformation" JavaScript Properties
+----------------+--------------------------------------------------------------+
| JavaScript |appCodeName appMinorVersion |
| Properties |appName appVersion |
| |browserLanguage cookieEnabled |
| |cpuClass onLine |
| |platform systemLanguage |
| |userAgent userLanguage |
+----------------+--------------------------------------------------------------+
"clientInformation" Syntax and Note
Note:
Provide information about the user"s browser, computer, and operating system.
Syntax:
window.clientInformation.memberName