Liking cljdoc? Tell your friends :D

web.workers.WorkerNavigator

The WorkerNavigator interface represents a subset of the web.performance.Navigator allowed to be accessed from a web.workers.Worker. Such an object initialized for each worker and is available via the WorkerGlobalScope.navigator obtained by calling window.self.navigator.

The WorkerNavigator interface represents a subset of the `web.performance.Navigator`
allowed to be accessed from a `web.workers.Worker`. Such an object
initialized for each worker and is available via the `WorkerGlobalScope.navigator`
obtained by calling window.self.navigator.
raw docstring

app-code-namecljs

(app-code-name this)

Property.

[Read Only]

The value of the NavigatorID.appCodeName property is always "Mozilla", any browser. This property is kept only for compatibility purposes.

codeName = window.navigator.appCodeName

See also: https://developer.mozilla.org/en-US/docs/Web/API/NavigatorID/appCodeName

Property.

[Read Only]

The value of the NavigatorID.appCodeName property is always \"Mozilla\",
any browser. This property is kept only for compatibility purposes.

`codeName = window.navigator.appCodeName`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/NavigatorID/appCodeName`
sourceraw docstring

app-namecljs

(app-name this)

Property.

[Read Only]

The value of the NavigatorID.appName property is always "Netscape", any browser.

appName = window.navigator.appName

See also: https://developer.mozilla.org/en-US/docs/Web/API/NavigatorID/appName

Property.

[Read Only]

The value of the NavigatorID.appName property is always \"Netscape\",
any browser.

`appName = window.navigator.appName`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/NavigatorID/appName`
sourceraw docstring

app-versioncljs

(app-version this)

Property.

[Read Only]

Returns either "4.0" or a string representing version information the browser.

window.navigator.appVersion

See also: https://developer.mozilla.org/en-US/docs/Web/API/NavigatorID/appVersion

Property.

[Read Only]

Returns either \"4.0\" or a string representing version information
the browser.

`window.navigator.appVersion`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/NavigatorID/appVersion`
sourceraw docstring

connectioncljs

(connection this)

Property.

[Read Only] [Experimental]

The WorkerNavigator.connection read-only property returns a web.other.NetworkInformation containing information about the system's connection, such as current bandwidth of the user's device or whether the connection metered. This could be used to select high definition content low definition content based on the user's connection.

connectionInfo = self.navigator.connection

See also: https://developer.mozilla.org/en-US/docs/Web/API/WorkerNavigator/connection

Property.

[Read Only]
[Experimental]

The WorkerNavigator.connection read-only property returns a `web.other.NetworkInformation`
containing information about the system's connection, such as
current bandwidth of the user's device or whether the connection
metered. This could be used to select high definition content
low definition content based on the user's connection.

`connectionInfo = self.navigator.connection`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WorkerNavigator/connection`
sourceraw docstring

hardware-concurrencycljs

(hardware-concurrency this)

Property.

[Read Only]

The navigator.hardwareConcurrency read-only property returns number of logical processors available to run threads on the computer.

logicalProcessors = window.navigator.hardwareConcurrency

See also: https://developer.mozilla.org/en-US/docs/Web/API/NavigatorConcurrentHardware/hardwareConcurrency

Property.

[Read Only]

The navigator.hardwareConcurrency read-only property returns
number of logical processors available to run threads on the
computer.

`logicalProcessors = window.navigator.hardwareConcurrency`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/NavigatorConcurrentHardware/hardwareConcurrency`
sourceraw docstring

languagecljs

(language this)

Property.

[Read Only]

The NavigatorLanguage.language read-only property returns a string the preferred language of the user, usually the language of the UI.

var lang = navigator.language

See also: https://developer.mozilla.org/en-US/docs/Web/API/NavigatorLanguage/language

Property.

[Read Only]

The NavigatorLanguage.language read-only property returns a string
the preferred language of the user, usually the language of the
UI.

`var lang = navigator.language`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/NavigatorLanguage/language`
sourceraw docstring

languagescljs

(languages this)

Property.

[Read Only] [Experimental]

The NavigatorLanguage.languages read-only property returns an of web.DOMStrings representing the user's preferred languages. language is described using BCP 47 language tags. In the returned they are ordered by preference with the most preferred language

preferredLanguages = globalObj.navigator.languages

See also: https://developer.mozilla.org/en-US/docs/Web/API/NavigatorLanguage/languages

Property.

[Read Only]
[Experimental]

The NavigatorLanguage.languages read-only property returns an
of `web.DOMString`s representing the user's preferred languages.
language is described using BCP 47 language tags. In the returned
they are ordered by preference with the most preferred language

`preferredLanguages = globalObj.navigator.languages`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/NavigatorLanguage/languages`
sourceraw docstring

lockscljs

(locks this)

Property.

[Read Only] [Experimental]

The locks read-only property of the web.workers.WorkerNavigator returns a web.locks.LockManager object which provides methods requesting a new web.locks.Lock object and querying for an Lock object.

var lockManager = Navigator.locks

See also: https://developer.mozilla.org/en-US/docs/Web/API/WorkerNavigator/locks

Property.

[Read Only]
[Experimental]

The locks read-only property of the `web.workers.WorkerNavigator`
returns a `web.locks.LockManager` object which provides methods
requesting a new `web.locks.Lock` object and querying for an
Lock object.

`var lockManager = Navigator.locks`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WorkerNavigator/locks`
sourceraw docstring

on-linecljs

(on-line this)

Property.

[Read Only]

Returns the online status of the browser. The property returns boolean value, with true meaning online and false meaning offline. property sends updates whenever the browser's ability to connect the network changes. The update occurs when the user follows or when a script requests a remote page. For example, the property return false when users click links soon after they lose internet

online = window.navigator.onLine;

See also: https://developer.mozilla.org/en-US/docs/Web/API/NavigatorOnLine/onLine

Property.

[Read Only]

Returns the online status of the browser. The property returns
boolean value, with true meaning online and false meaning offline.
property sends updates whenever the browser's ability to connect
the network changes. The update occurs when the user follows
or when a script requests a remote page. For example, the property
return false when users click links soon after they lose internet

`online = window.navigator.onLine;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/NavigatorOnLine/onLine`
sourceraw docstring

permissionscljs

(permissions this)

Property.

[Read Only] [Experimental]

The WorkerNavigator.permissions read-only property returns a object that can be used to query and update permission status APIs covered by the Permissions API.

permissionsObj = self.permissions

See also: https://developer.mozilla.org/en-US/docs/Web/API/WorkerNavigator/permissions

Property.

[Read Only]
[Experimental]

The WorkerNavigator.permissions read-only property returns a
object that can be used to query and update permission status
APIs covered by the Permissions API.

`permissionsObj = self.permissions`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WorkerNavigator/permissions`
sourceraw docstring

platformcljs

(platform this)

Property.

[Read Only]

Returns a string representing the platform of the browser. The allows browsers to always return the empty string, so don't rely this property to get a reliable answer.

platform = navigator.platform

See also: https://developer.mozilla.org/en-US/docs/Web/API/NavigatorID/platform

Property.

[Read Only]

Returns a string representing the platform of the browser. The
allows browsers to always return the empty string, so don't rely
this property to get a reliable answer.

`platform = navigator.platform`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/NavigatorID/platform`
sourceraw docstring

productcljs

(product this)

Property.

[Read Only]

The value of the NavigatorID.product property is always "Gecko", any browser.

productName = window.navigator.product

See also: https://developer.mozilla.org/en-US/docs/Web/API/NavigatorID/product

Property.

[Read Only]

The value of the NavigatorID.product property is always \"Gecko\",
any browser.

`productName = window.navigator.product`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/NavigatorID/product`
sourceraw docstring

set-storage!cljs

(set-storage! this val)

Property.

Returns a StorageManager interface for managing persistance permissions estimating available storage.

Property.

Returns a StorageManager interface for managing persistance permissions
estimating available storage.
sourceraw docstring

storagecljs

(storage this)

Property.

Returns a StorageManager interface for managing persistance permissions estimating available storage.

Property.

Returns a StorageManager interface for managing persistance permissions
estimating available storage.
sourceraw docstring

taint-enabledcljs

(taint-enabled this)

Method.

[Deprecated]

The NavigatorID.taintEnabled() method always returns false.

result = window.navigator.taintEnabled()

See also: https://developer.mozilla.org/en-US/docs/Web/API/NavigatorID/taintEnabled

Method.

[Deprecated]

The NavigatorID.taintEnabled() method always returns false.

`result = window.navigator.taintEnabled()`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/NavigatorID/taintEnabled`
sourceraw docstring

user-agentcljs

(user-agent this)

Property.

[Read Only]

The NavigatorID.userAgent read-only property returns the user string for the current browser.

var ua = window.navigator.userAgent;

See also: https://developer.mozilla.org/en-US/docs/Web/API/NavigatorID/userAgent

Property.

[Read Only]

The NavigatorID.userAgent read-only property returns the user
string for the current browser.

`var ua = window.navigator.userAgent;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/NavigatorID/userAgent`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close