Properties

This section describes the properties associated with the Web Workers API.

In this section

TopicDescription

appName

Returns the name of the browser.

appVersion

Returns version information about the browser.

onLine

Returns the online status of the browser.

platform

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

userAgent

Returns the user agent string of the browser.

hash

Contains the anchor portion of the URL including the hash sign (#).

host

Contains the hostname and port values of the URL.

hostname

Contains the hostname of a URL.

href

Contains the hypertext reference (HREF) of the URL.

location

Returns the WorkerLocation object of a worker.

navigator

Returns a WorkerNavigator object.

pathname

Contains the pathname of the URL.

port

Contains the port number of the URL.

protocol

Contains the protocol of the URL.

search

Contains the query part of the URL, including the question mark.

self

Contains a reference to the WorkerGlobalScope object.

 

 

 

Show:
© 2014 Microsoft