w3pop.com :: ÍøÂçѧԺ :: HTML DOM :: DOM Navigator ¶ÔÏó
The Navigator object is an object that can be accessed through the navigator property of the Window object.
Navigator ¶ÔÏó¿Éͨ¹ýwindow¶ÔÏóµÄnavigatorÊôÐÔÀ´·ÃÎʵ½
The Navigator object contains information about the client browser.
Navigator ¶ÔÏó°üº¬ÁËÓйؿͻ§ä¯ÀÀÆ÷µÄÐÅÏ¢
IE: Internet Explorer, F: Firefox, N: Netscape, W3C: World Wide Web Consortium (Internet Standard).
| Collection ¼¯ºÏ |
Description ÃèÊö |
IE | F | N | W3C |
|---|---|---|---|---|---|
| plugins[] | Returns a reference to all embedded objects in the document ·µ»ØËùÓÐǶÈëÎĵµ¶ÔÏóµÄ²Î¿¼ |
4 | 1 | 3 |
| Property ÊôÐÔ |
Description ÃèÊö |
IE | F | N | W3C |
|---|---|---|---|---|---|
| appCodeName | Returns the code name of the browser ·µ»Øä¯ÀÀÆ÷´úÂëÃû³Æ |
3 | 1 | 2 | |
| appMinorVersion | Returns the minor version of the browser ·µ»Øä¯ÀÀÆ÷µÄ¼ò¶Ì˵Ã÷ |
4 | |||
| appName | Returns the name of the browser ·µ»Øä¯ÀÀÆ÷µÄÃû³Æ |
3 | 1 | 2 | |
| appVersion | Returns the platform and version of the browser ·µ»Øä¯ÀÀÆ÷µÄʹÓÃÆ½Ì¨ÒÔ¼°ËµÃ÷ |
3 | 1 | 2 | |
| browserLanguage | Returns the current browser language ·µ»Øµ±Ç°ä¯ÀÀÆ÷ʹÓõÄÓïÑÔ |
4 | |||
| cookieEnabled | Returns a Boolean value that specifies whether cookies are enabled in the browser ·µ»ØÒ»¸ö²¼¶úÖµÀ´ÅжÏä¯ÀÀÆ÷ÊÇ·ñÖ§³Öcookies |
4 | 1 | 6 | |
| cpuClass | Returns the CPU class of the browser's system ·µ»Øä¯ÀÀÆ÷ϵͳʹÓõÄCPUÀàÐÍ |
4 | |||
| onLine | Returns a Boolean value that specifies whether the system is in offline mode ·µ»Ø²¼¶ûÖµÀ´Åж¨ÏµÍ³ÊÇ·ñ´¦ÓÚÀëÏßģʽ |
4 | |||
| platform | Returns the operating system platform ·µ»ØÏµÍ³ÔËËãÆ½Ì¨ |
4 | 1 | 4 | |
| systemLanguage | Returns the default language used by the OS ·µ»Ø²Ù×÷ϵͳµÄĬÈÏÓïÑÔ |
4 | |||
| userAgent | Returns the value of the user-agent header sent by the client to the server ·µ»ØÓû§·¢Ë͵½·þÎñÆ÷µÄheaderÖµ |
3 | 1 | 2 | |
| userLanguage | Returns the OS' natural language setting ·µ»Ø²Ù×÷ϵͳËùÉèÖõÄÔ×´ÓïÑÔ |
4 |
| Method ·½·¨ |
Description ÃèÊö |
IE | F | N | W3C |
|---|---|---|---|---|---|
| javaEnabled() | A Boolean value that specifies whether the browser has Java enabled ²¼¶ûÖµÅж¨ä¯ÀÀÆ÷ÊÇ·ñ¿ÉÓÃJava |
4 | 1 | 3 | |
| taintEnabled() | A Boolean value that specifies whether the browser has data tainting enabled ²¼¶ûÖµÅж¨ÊÇ·ñ¿ÉÓÃdata tainting |
4 | 1 | 3 |
ÆÀÂÛ (0)
All