HTML DOM Navigator Object
Navigator Object
The Navigator object is actually a JavaScript object, not an HTML DOM object.
The Navigator object is
automatically created by the JavaScript runtime engine and contains information about the client browser.
IE: Internet Explorer, F: Firefox, O: Opera.
Navigator Object Collections
Collection |
Description |
IE |
F |
O |
plugins[] |
Returns a reference to all embedded objects in the document |
4 |
1 |
9 |
Navigator Object Properties
Property |
Description |
IE |
F |
O |
appCodeName |
Returns the code name of the browser |
4 |
1 |
9 |
appMinorVersion |
Returns the minor version of the browser |
4 |
No |
No |
appName |
Returns the name of the browser |
4 |
1 |
9 |
appVersion |
Returns the platform and version of the browser |
4 |
1 |
9 |
browserLanguage |
Returns the current browser language |
4 |
No |
9 |
cookieEnabled |
Returns a Boolean value that specifies whether cookies are enabled
in the browser |
4 |
1 |
9 |
cpuClass |
Returns the CPU class of the browser's system |
4 |
No |
No |
onLine |
Returns a Boolean value that specifies whether the system
is in offline mode |
4 |
No |
No |
platform |
Returns the operating system platform |
4 |
1 |
9 |
systemLanguage |
Returns the default language used by the OS |
4 |
No |
No |
userAgent |
Returns the value of the user-agent header sent by the client to
the server |
4 |
1 |
9 |
userLanguage |
Returns the OS' natural language setting |
4 |
No |
9 |
Navigator Object Methods
Method |
Description |
IE |
F |
O |
javaEnabled() |
Specifies whether or not the browser has Java
enabled |
4 |
1 |
9 |
taintEnabled() |
Specifies whether or not the browser has data tainting
enabled |
4 |
1 |
9 |
|