please dont rip this site

JavaScript: The Definitive Guide

Previous Chapter 21
JavaScript Reference
Next
 

Navigator Object

Name

Navigator Object---information about the browser in use

Availability

Navigator 2.0, Internet Explorer 3.0; enhanced in Navigator 3.0

Synopsis

navigator

Properties

appCodeName

The code name of the browser.

appName

The name of the browser.

appVersion

Version information for the browser.

mimeTypes[]

An array of MimeType objects describing the MIME types recognized and supported by the browser. Added in Navigator 3.0.

mimeTypes.length

The number of elements in the mimeTypes[] array.

plugins[]

An array of Plugin objects describing the installed plug-ins. Added in Navigator 3.0.

plugins.length

The number of elements in the plugins[] array.

userAgent

The string passed by the browser as the user-agent header in HTTP requests.

Methods

javaEnabled()

Test whether Java is supported and enabled in the current browser. Added in Navigator 3.0.

plugins.refresh()

Check for newly installed plug-ins, enter them in the plugins[] array, and optionally reload documents using those plug-ins. Added in Navigator 3.0.

taintEnabled()

Test whether the data-tainting security model is supported and enabled in the current browser. Added in Navigator 3.0.

Description

The Navigator object contains properties that describe the web browser in use. You can use its properties to perform platform-specific customization. The name of this object obviously refers to the Netscape Navigator browser, but other browsers that implement JavaScript will support this object as well.

There is only a single instance of the Navigator object, which you can reference through the navigator property of any Window object. Because of the implicit window reference, you can always refer to the Navigator object simply as navigator.

See Also

"MimeType", "Plugin"


Previous Home Next
navigator Book Index Navigator.appCodeName

HTML: The Definitive Guide CGI Programming JavaScript: The Definitive Guide Programming Perl WebMaster in a Nutshell

file: /Techref/language/java/script/definitive/refp_254.htm, 6KB, , updated: 2019/10/14 15:00, local time: 2024/11/16 00:27,
TOP NEW HELP FIND: 
3.138.37.152:LOG IN

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://massmind.ecomorder.com/techref/language/java/script/definitive/refp_254.htm"> [Chapter 21] Reference: Navigator</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to ecomorder.com!

 

Welcome to massmind.ecomorder.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .