O'Reilly logo

Essential JavaScript™ for Web Professionals, Second Edition by Dan Barrett

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required