JavaScript Reference/Javascript Objects/clientInformation

Материал из Web эксперт
Перейти к: навигация, поиск

"clientInformation" Example

   <source lang="javascript">
   

<html> <body> <button onclick="alert(window.clientInformation.appName);">Browser name</button> <button onclick="alert(window.clientInformation.appVersion);">Browser version</button> </body> </html>


     </source>
   
  


"clientInformation" is applied to

   <source lang="javascript">

+----------------+--------------------------------------------------------------+ | Applied_To |window | +----------------+--------------------------------------------------------------+

     </source>
   
  


"clientInformation" JavaScript Collections

   <source lang="javascript">

+----------------+--------------------------------------------------------------+ | JavaScript |plugins | +----------------+--------------------------------------------------------------+

     </source>
   
  


"clientInformation" JavaScript Methods

   <source lang="javascript">

+----------------+--------------------------------------------------------------+ | JavaScript |javaEnabled taintEnabled | +----------------+--------------------------------------------------------------+

     </source>
   
  


"clientInformation" JavaScript Objects

   <source lang="javascript">

+----------------+--------------------------------------------------------------+ | JavaScript |userProfile | +----------------+--------------------------------------------------------------+

     </source>
   
  


"clientInformation" JavaScript Properties

   <source lang="javascript">

+----------------+--------------------------------------------------------------+ | JavaScript |appCodeName appMinorVersion | | Properties |appName appVersion | | |browserLanguage cookieEnabled | | |cpuClass onLine | | |platform systemLanguage | | |userAgent userLanguage | +----------------+--------------------------------------------------------------+

     </source>
   
  


"clientInformation" Syntax and Note

   <source lang="javascript">

Note: Provide information about the user"s browser, computer, and operating system.

Syntax:

window.clientInformation.memberName


     </source>