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.

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.

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.

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.

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.

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.

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.

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.

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

languagecljs

(language this)

Property.

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.

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.

The NavigatorLanguage.languages read-only property returns an of web.dom.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.

The NavigatorLanguage.languages read-only property returns an
of `web.dom.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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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-app-code-name!cljs

(set-app-code-name! this val)

Property.

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.

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

set-app-name!cljs

(set-app-name! this val)

Property.

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.

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

set-app-version!cljs

(set-app-version! this val)

Property.

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.

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

set-connection!cljs

(set-connection! this val)

Property.

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.

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

set-locks!cljs

(set-locks! this val)

Property.

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.

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

set-on-line!cljs

(set-on-line! this val)

Property.

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.

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

set-permissions!cljs

(set-permissions! this val)

Property.

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.

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

set-platform!cljs

(set-platform! this val)

Property.

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.

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

set-product!cljs

(set-product! this val)

Property.

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.

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

taint-enabledcljs

(taint-enabled this)

Method.

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.

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.

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.

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