JavaScript Reference/Javascript Objects/clientInformation

Материал из Web эксперт
Версия от 08:22, 26 мая 2010; Admin (обсуждение | вклад) (1 версия)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к: навигация, поиск

"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