WorkerNavigator object

Represents the navigator object available to a worker.

Syntax


 self.navigator 

DOM Information

Inheritance Hierarchy

The WorkerNavigator does not inherit from any class or interface.

Members

The WorkerNavigator object has these types of members:

Properties

The WorkerNavigator object has these properties.

PropertyAccess typeDescription

appName

Read-only

Returns the name of the browser.

appVersion

Read-only

Returns version information about the browser.

onLine

Read-only

Returns the online status of the browser.

platform

Read-only

Returns the name of the operating system platform the browser is running on.

userAgent

Read-only

Returns the user agent string of the browser.

 

Remarks

Use the navigator property to create a WorkerNavigator object. The navigator object has the following properties available to a worker: appName, appVersion, onLine, platform, and userAgent. Other "navigator"-type properties, such as cookieEnabled are not available.

 

 

Show:
© 2014 Microsoft. All rights reserved.