Browser Objects

This section covers the objects that contain the properties specific to the browser.

Navigator

Description: This object contains information about the user's browser.

Syntax for creating: NA

Created by: This object is automatically created when the browser is loaded.

Implemented in: Navigator 2.0/3.0/4.0

Properties: appCodeName, appName, appVersion, language, mimeTypes, platform, plugins, userAgent

Methods: javaEnabled, plugins.refresh, preference, taintEnabled

MimeType

Description: This object contains a MIME type supported by the browser.

Syntax for creating: NA

Created by: This object is automatically created when the browser is loaded.

Implemented in: Navigator 3.0

Properties: description, enabledPlugin, suffixes, type

Methods ...

Get Essential JavaScript™ for Web Professionals, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.