Liking cljdoc? Tell your friends :D

web.performance.Navigator

The Navigator interface represents the state and the identity the user agent. It allows scripts to query it and to register to carry on some activities.

The Navigator interface represents the state and the identity
the user agent. It allows scripts to query it and to register
to carry on some activities.
raw docstring

active-vr-displayscljs

(active-vr-displays this)

Property.

The activeVRDisplays read-only property of the web.performance.Navigator returns an array containing every web.media.VRDisplay object is currently presenting (VRDisplay.ispresenting is true).

var myActiveDisplays = navigator.activeVRDisplays;

See also: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/activeVRDisplays

Property.

The activeVRDisplays read-only property of the `web.performance.Navigator`
returns an array containing every `web.media.VRDisplay` object
is currently presenting (`VRDisplay.ispresenting` is true).

`var myActiveDisplays = navigator.activeVRDisplays;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Navigator/activeVRDisplays`
sourceraw 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

batterycljs

(battery this)

Property.

The battery read-only property returns a web.device.BatteryManager information about the system's battery charge level; provides some new events you can handle to monitor the battery status. implements the Battery Status API; see that documentation for details, a guide to using the API, and sample code.

var battery = navigator.battery;

See also: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/battery

Property.

The battery read-only property returns a `web.device.BatteryManager`
information about the system's battery charge level; provides
some new events you can handle to monitor the battery status.
implements the Battery Status API; see that documentation for
details, a guide to using the API, and sample code.

`var battery = navigator.battery;`

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

build-idcljs

(build-id this)

Property.

Returns the build identifier of the browser. In modern browsers property now returns a fixed timestamp as a privacy measure, 20181001000000 in Firefox 64 onwards.

buildID = navigator.buildID;

See also: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/buildID

Property.

Returns the build identifier of the browser. In modern browsers
property now returns a fixed timestamp as a privacy measure,
20181001000000 in Firefox 64 onwards.

`buildID = navigator.buildID;`

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

can-sharecljs

(can-share this data)

Method.

The canShare() method of the web.performance.Navigator interface true if a call to Navigator.share() would succeed.

var canShare = navigator.canShare(data);

See also: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/canShare

Method.

The canShare() method of the `web.performance.Navigator` interface
true if a call to Navigator.share() would succeed.

`var canShare = navigator.canShare(data);`

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

clipboardcljs

(clipboard this)

Property.

The Clipboard API adds to the web.performance.Navigator interface read-only clipboard property, which returns the web.clipboard.Clipboard used to read and write the clipboard's contents.

theClipboard = navigator.clipboard;

See also: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/clipboard

Property.

The Clipboard API adds to the `web.performance.Navigator` interface
read-only clipboard property, which returns the `web.clipboard.Clipboard`
used to read and write the clipboard's contents.

`theClipboard = navigator.clipboard;`

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

connectioncljs

(connection this)

Property.

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

networkInformation = navigator.connection

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

Property.

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

`networkInformation = navigator.connection`

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

(cookie-enabled this)

Property.

navigator.cookieEnabled returns a Boolean value that indicates cookies are enabled or not.

`var cookieEnabled = navigator.cookieEnabled;

\tcookieEnabled is a Boolean: true or false.`

See also: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/cookieEnabled

Property.

navigator.cookieEnabled returns a Boolean value that indicates
cookies are enabled or not.

`var cookieEnabled = navigator.cookieEnabled;


\tcookieEnabled is a Boolean: true or false.`

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

credentialscljs

(credentials this)

Property.

The credentials property of the web.performance.Navigator interface the web.credential.CredentialsContainer interface, which exposes to request credentials. The web.credential.CredentialsContainer also notifies the user agent when an interesting event occurs, as a successful sign-in or sign-out. This interface can be used feature detection.

var credentialsContainer = navigator.credentials

See also: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/credentials

Property.

The credentials property of the `web.performance.Navigator` interface
the `web.credential.CredentialsContainer` interface, which exposes
to request credentials. The `web.credential.CredentialsContainer`
also notifies the user agent when an interesting event occurs,
as a successful sign-in or sign-out. This interface can be used
feature detection.

`var credentialsContainer = navigator.credentials`

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

device-memorycljs

(device-memory this)

Property.

The deviceMemory read-only property of the navigator interface the approximate amount of device memory in gigabytes. This value an approximation given by rounding down to the nearest power 2 and dividing that number by 1024. Also, the lower and upper are used to protect privacy of owners of very low- or high-end

const memory = navigator.deviceMemory console.log (\"This device has at least \" memory \"GiB of RAM.\")

See also: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/deviceMemory

Property.

The deviceMemory read-only property of the `navigator` interface
the approximate amount of device memory in gigabytes. This value
an approximation given by rounding down to the nearest power
2 and dividing that number by 1024. Also, the lower and upper
are used to protect privacy of owners of very low- or high-end

`const memory = navigator.deviceMemory
console.log (\"This device has at least \"  memory  \"GiB of RAM.\")`

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

do-not-trackcljs

(do-not-track this)

Property.

Returns the user's do-not-track setting. This is "1" if the has requested not to be tracked by web sites, content, or advertising.

`dnt = navigator.doNotTrack;

The value reflects that of the do-not-track header, i.e. values of {"1", "0", "unspecified" }. Note: Prior to Gecko 32, Gecko used the values { "yes", "no", "unspecified"} (bug 887703).`

See also: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/doNotTrack

Property.

Returns the user's do-not-track setting. This is \"1\" if the
has requested not to be tracked by web sites, content, or advertising.

`dnt = navigator.doNotTrack;

The value reflects that of the do-not-track header, i.e. values of {\"1\", \"0\", \"unspecified\" }. Note: Prior to Gecko 32, Gecko used the values { \"yes\", \"no\", \"unspecified\"} (bug 887703).`

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

geolocationcljs

(geolocation this)

Property.

The Navigator.geolocation read-only property returns a web.geolocation.Geolocation that gives Web content access to the location of the device. allows a Web site or app to offer customized results based on user's location.

geo = navigator.geolocation

See also: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/geolocation

Property.

The Navigator.geolocation read-only property returns a `web.geolocation.Geolocation`
that gives Web content access to the location of the device.
allows a Web site or app to offer customized results based on
user's location.

`geo = navigator.geolocation`

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

get-batterycljs

(get-battery this)

Method.

The getBattery() method provides information about the system's It returns a battery promise, which is resolved in a web.device.BatteryManager providing also some new events you can handle to monitor the status. This implements the Battery Status API; see that documentation additional details, a guide to using the API, and sample code.

var batteryPromise = navigator.getBattery();

See also: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/getBattery

Method.

The getBattery() method provides information about the system's
It returns a battery promise, which is resolved in a `web.device.BatteryManager`
providing also some new events you can handle to monitor the
status. This implements the Battery Status API; see that documentation
additional details, a guide to using the API, and sample code.

`var batteryPromise = navigator.getBattery();`

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

get-gamepadscljs

(get-gamepads this)

Method.

The Navigator.getGamepads() method returns an array of web.gamepad.Gamepad one for each gamepad connected to the device.

var gamepads = navigator.getGamepads();

See also: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/getGamepads

Method.

The Navigator.getGamepads() method returns an array of `web.gamepad.Gamepad`
one for each gamepad connected to the device.

`var gamepads = navigator.getGamepads();`

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

get-user-mediacljs

(get-user-media this constraints success-callback error-callback)

Method.

The deprecated Navigator.getUserMedia() method prompts the user permission to use up to one video input device (such as a camera shared screen) and up to one audio input device (such as a microphone) the source for a web.streams.MediaStream.

navigator.getUserMedia(constraints, successCallback, errorCallback);

See also: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/getUserMedia

Method.

The deprecated Navigator.getUserMedia() method prompts the user
permission to use up to one video input device (such as a camera
shared screen) and up to one audio input device (such as a microphone)
the source for a `web.streams.MediaStream`.

`navigator.getUserMedia(constraints, successCallback, errorCallback);`

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

get-vr-displayscljs

(get-vr-displays this & args)

Method.

The getVRDisplays() method of the web.performance.Navigator returns a promise that resolves to an array of web.media.VRDisplay representing any available VR displays connected to the computer.

navigator.getVRDisplays().then(function(displays) { // Do something with the available VR displays });

See also: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/getVRDisplays

Method.

The getVRDisplays() method of the `web.performance.Navigator`
returns a promise that resolves to an array of `web.media.VRDisplay`
representing any available VR displays connected to the computer.

`navigator.getVRDisplays().then(function(displays) {
// Do something with the available VR displays
});`

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

keyboardcljs

(keyboard this)

Property.

The keyboard read-only property of the web.performance.Navigator returns a web.keyboard.Keyboard object which provides access functions that retrieve keyboard layout maps and toggle capturing key presses from the physical keyboard.

var keyboard = navigator.keyboard

See also: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/keyboard

Property.

The keyboard read-only property of the `web.performance.Navigator`
returns a `web.keyboard.Keyboard` object which provides access
functions that retrieve keyboard layout maps and toggle capturing
key presses from the physical keyboard.

`var keyboard = navigator.keyboard`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Navigator/keyboard`
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.performance.Navigator 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/Navigator/locks

Property.

The locks read-only property of the `web.performance.Navigator`
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/Navigator/locks`
sourceraw docstring

max-touch-pointscljs

(max-touch-points this)

Property.

The maxTouchPoints read-only property of the web.performance.Navigator returns the maximum number of simultaneous touch contact points supported by the current device.

touchPoints = navigator.maxTouchPoints;

See also: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/maxTouchPoints

Property.

The maxTouchPoints read-only property of the `web.performance.Navigator`
returns the maximum number of simultaneous touch contact points
supported by the current device.

`touchPoints = navigator.maxTouchPoints;`

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

media-devicescljs

(media-devices this)

Property.

The Navigator.mediaDevices read-only property returns a web.audio.MediaDevices which provides access to connected media input devices like cameras microphones, as well as screen sharing.

var mediaDevices = navigator.mediaDevices;

See also: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/mediaDevices

Property.

The Navigator.mediaDevices read-only property returns a `web.audio.MediaDevices`
which provides access to connected media input devices like cameras
microphones, as well as screen sharing.

`var mediaDevices = navigator.mediaDevices;`

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

moz-is-locally-availablecljs

(moz-is-locally-available this uri if-offline)

Method.

The Navigator.mozIsLocallyAvailable() method allows add-ons to whether or not a given resource is available.

navigator.mozIsLocallyAvailable(uri, ifOffline);

See also: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/mozIsLocallyAvailable

Method.

The Navigator.mozIsLocallyAvailable() method allows add-ons to
whether or not a given resource is available.

`navigator.mozIsLocallyAvailable(uri, ifOffline);`

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

ms-launch-uricljs

(ms-launch-uri this uri success-callback no-handler-callback)

Method.

The msLaunchUri() method is a Microsoft extension to the web.performance.Navigator which is used to start a service or app, such as an email client, handles a given protocol. The Uniform Resource Identifier (URI) the protocol for the default service or app, such as mailto://test@contoso.com.

navigator.msLaunchUri(uri, successCallback, noHandlerCallback);

See also: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/msLaunchUri

Method.

The msLaunchUri() method is a Microsoft extension to the `web.performance.Navigator`
which is used to start a service or app, such as an email client,
handles a given protocol. The Uniform Resource Identifier (URI)
the protocol for the default service or app, such as mailto://test@contoso.com.

`navigator.msLaunchUri(uri, successCallback, noHandlerCallback);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Navigator/msLaunchUri`
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

oscpucljs

(oscpu this)

Property.

The Navigator.oscpu property returns a string that identifies current operating system.

`oscpuInfo = window.navigator.oscpu

oscpuInfo is a string that takes the following form:

Operating system oscpuInfo string format

OS/2 OS/2 Warp x (either 3, 4 or 4.5)

Windows CE WindowsCE x.y1

Windows 64-bit (64-bit build) Windows NT x.y; Win64; x64

Windows 64-bit (32-bit build) Windows NT x.y; WOW64

Windows 32-bit Windows NT x.y

Mac OS X (PPC build) PPC Mac OS X x.y

Mac OS X (i386/x64 build) Intel Mac OS X x.y

Linux 64-bit (32-bit build) Output of uname -s plus "i686 on x86_64"

Linux Output of uname -sm

1x.y refers to the version of the operating system`

See also: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/oscpu

Property.

The Navigator.oscpu property returns a string that identifies
current operating system.

`oscpuInfo = window.navigator.oscpu


oscpuInfo is a string that takes the following form:





Operating system
oscpuInfo string format


OS/2
OS/2 Warp x (either 3, 4 or 4.5)


Windows CE
WindowsCE x.y1


Windows 64-bit (64-bit build)
Windows NT x.y; Win64; x64


Windows 64-bit (32-bit build)
Windows NT x.y; WOW64


Windows 32-bit
Windows NT x.y


Mac OS X (PPC build)
PPC Mac OS X x.y


Mac OS X (i386/x64 build)
Intel Mac OS X x.y


Linux 64-bit (32-bit build)
Output of uname -s plus \"i686 on x86_64\"


Linux
Output of uname -sm




1x.y refers to the version of the operating system`

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

permissionscljs

(permissions this)

Property.

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

permissionsObj = globalObj.navigator.permissions

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

Property.

The Navigator.permissions read-only property returns a `web.permissions.Permissions`
that can be used to query and update permission status of APIs
by the Permissions API.

`permissionsObj = globalObj.navigator.permissions`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Navigator/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

product-subcljs

(product-sub this)

Property.

The Navigator.productSub read-only property returns the build of the current browser.

`prodSub = window.navigator.productSub

prodSub is a string.`

See also: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/productSub

Property.

The Navigator.productSub read-only property returns the build
of the current browser.

`prodSub = window.navigator.productSub


prodSub is a string.`

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

register-content-handlercljs

(register-content-handler this & args)

Method.

Allows web sites to register themselves as possible handlers content of a particular MIME type.

`navigator.registerContentHandler(mimeType, uri, title);

mimeType is the desired MIME type as a string. uri is the URI to the handler as a string. title is the title of the handler presented to the user as a string.`

See also: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/registerContentHandler

Method.

Allows web sites to register themselves as possible handlers
content of a particular MIME type.

`navigator.registerContentHandler(mimeType, uri, title);


mimeType is the desired MIME type as a string.
uri is the URI to the handler as a string.
title is the title of the handler presented to the user as a string.`

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

register-protocol-handlercljs

(register-protocol-handler this protocol url title)

Method.

The web.performance.Navigator method registerProtocolHandler() web sites register themselves as possible handlers for particular

navigator.registerProtocolHandler(protocol, url, title);

See also: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/registerProtocolHandler

Method.

The `web.performance.Navigator` method registerProtocolHandler()
web sites register themselves as possible handlers for particular

`navigator.registerProtocolHandler(protocol, url, title);`

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

request-media-key-system-accesscljs

(request-media-key-system-access this key-system supported-configurations)

Method.

The Navigator.requestMediaKeySystemAccess() method returns a which delivers a web.audio.MediaKeySystemAccess object that be used to access a particular media key system, which can in be used to create keys for decrypting a media stream. This method part of the Encrypted Media Extensions API, which brings support encrypted media and DRM-protected video to the web.

​Promise = Navigator.requestMediaKeySystemAccess(keySystem, supportedConfigurations);

See also: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/requestMediaKeySystemAccess

Method.

The Navigator.requestMediaKeySystemAccess() method returns a
which delivers a `web.audio.MediaKeySystemAccess` object that
be used to access a particular media key system, which can in
be used to create keys for decrypting a media stream. This method
part of the Encrypted Media Extensions API, which brings support
encrypted media and DRM-protected video to the web.

`​Promise = Navigator.requestMediaKeySystemAccess(keySystem, supportedConfigurations);`

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

send-beaconcljs

(send-beacon this url data)

Method.

The navigator.sendBeacon() method can be used to asynchronously a small amount of data over HTTP to a web server.

navigator.sendBeacon(url, data);

See also: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/sendBeacon

Method.

The navigator.sendBeacon() method can be used to asynchronously
a small amount of data over HTTP to a web server.

`navigator.sendBeacon(url, data);`

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

service-workercljs

(service-worker this)

Property.

The Navigator.serviceWorker read-only property returns the web.workers.ServiceWorkerContainer for the associated document, which provides access to registration, upgrade, and communication with the web.workers.ServiceWorker.

var workerContainerInstance = navigator.serviceWorker;

See also: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/serviceWorker

Property.

The Navigator.serviceWorker read-only property returns the `web.workers.ServiceWorkerContainer`
for the associated document, which provides access to registration,
upgrade, and communication with the `web.workers.ServiceWorker`.

`var workerContainerInstance = navigator.serviceWorker;`

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

set-active-vr-displays!cljs

(set-active-vr-displays! this val)

Property.

The activeVRDisplays read-only property of the web.performance.Navigator returns an array containing every web.media.VRDisplay object is currently presenting (VRDisplay.ispresenting is true).

var myActiveDisplays = navigator.activeVRDisplays;

See also: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/activeVRDisplays

Property.

The activeVRDisplays read-only property of the `web.performance.Navigator`
returns an array containing every `web.media.VRDisplay` object
is currently presenting (`VRDisplay.ispresenting` is true).

`var myActiveDisplays = navigator.activeVRDisplays;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Navigator/activeVRDisplays`
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-battery!cljs

(set-battery! this val)

Property.

The battery read-only property returns a web.device.BatteryManager information about the system's battery charge level; provides some new events you can handle to monitor the battery status. implements the Battery Status API; see that documentation for details, a guide to using the API, and sample code.

var battery = navigator.battery;

See also: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/battery

Property.

The battery read-only property returns a `web.device.BatteryManager`
information about the system's battery charge level; provides
some new events you can handle to monitor the battery status.
implements the Battery Status API; see that documentation for
details, a guide to using the API, and sample code.

`var battery = navigator.battery;`

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

set-build-id!cljs

(set-build-id! this val)

Property.

Returns the build identifier of the browser. In modern browsers property now returns a fixed timestamp as a privacy measure, 20181001000000 in Firefox 64 onwards.

buildID = navigator.buildID;

See also: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/buildID

Property.

Returns the build identifier of the browser. In modern browsers
property now returns a fixed timestamp as a privacy measure,
20181001000000 in Firefox 64 onwards.

`buildID = navigator.buildID;`

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

set-connection!cljs

(set-connection! this val)

Property.

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

networkInformation = navigator.connection

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

Property.

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

`networkInformation = navigator.connection`

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

(set-cookie-enabled! this val)

Property.

navigator.cookieEnabled returns a Boolean value that indicates cookies are enabled or not.

`var cookieEnabled = navigator.cookieEnabled;

\tcookieEnabled is a Boolean: true or false.`

See also: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/cookieEnabled

Property.

navigator.cookieEnabled returns a Boolean value that indicates
cookies are enabled or not.

`var cookieEnabled = navigator.cookieEnabled;


\tcookieEnabled is a Boolean: true or false.`

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

set-credentials!cljs

(set-credentials! this val)

Property.

The credentials property of the web.performance.Navigator interface the web.credential.CredentialsContainer interface, which exposes to request credentials. The web.credential.CredentialsContainer also notifies the user agent when an interesting event occurs, as a successful sign-in or sign-out. This interface can be used feature detection.

var credentialsContainer = navigator.credentials

See also: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/credentials

Property.

The credentials property of the `web.performance.Navigator` interface
the `web.credential.CredentialsContainer` interface, which exposes
to request credentials. The `web.credential.CredentialsContainer`
also notifies the user agent when an interesting event occurs,
as a successful sign-in or sign-out. This interface can be used
feature detection.

`var credentialsContainer = navigator.credentials`

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

set-device-memory!cljs

(set-device-memory! this val)

Property.

The deviceMemory read-only property of the navigator interface the approximate amount of device memory in gigabytes. This value an approximation given by rounding down to the nearest power 2 and dividing that number by 1024. Also, the lower and upper are used to protect privacy of owners of very low- or high-end

const memory = navigator.deviceMemory console.log (\"This device has at least \" memory \"GiB of RAM.\")

See also: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/deviceMemory

Property.

The deviceMemory read-only property of the `navigator` interface
the approximate amount of device memory in gigabytes. This value
an approximation given by rounding down to the nearest power
2 and dividing that number by 1024. Also, the lower and upper
are used to protect privacy of owners of very low- or high-end

`const memory = navigator.deviceMemory
console.log (\"This device has at least \"  memory  \"GiB of RAM.\")`

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

set-do-not-track!cljs

(set-do-not-track! this val)

Property.

Returns the user's do-not-track setting. This is "1" if the has requested not to be tracked by web sites, content, or advertising.

`dnt = navigator.doNotTrack;

The value reflects that of the do-not-track header, i.e. values of {"1", "0", "unspecified" }. Note: Prior to Gecko 32, Gecko used the values { "yes", "no", "unspecified"} (bug 887703).`

See also: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/doNotTrack

Property.

Returns the user's do-not-track setting. This is \"1\" if the
has requested not to be tracked by web sites, content, or advertising.

`dnt = navigator.doNotTrack;

The value reflects that of the do-not-track header, i.e. values of {\"1\", \"0\", \"unspecified\" }. Note: Prior to Gecko 32, Gecko used the values { \"yes\", \"no\", \"unspecified\"} (bug 887703).`

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

set-geolocation!cljs

(set-geolocation! this val)

Property.

The Navigator.geolocation read-only property returns a web.geolocation.Geolocation that gives Web content access to the location of the device. allows a Web site or app to offer customized results based on user's location.

geo = navigator.geolocation

See also: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/geolocation

Property.

The Navigator.geolocation read-only property returns a `web.geolocation.Geolocation`
that gives Web content access to the location of the device.
allows a Web site or app to offer customized results based on
user's location.

`geo = navigator.geolocation`

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

set-keyboard!cljs

(set-keyboard! this val)

Property.

The keyboard read-only property of the web.performance.Navigator returns a web.keyboard.Keyboard object which provides access functions that retrieve keyboard layout maps and toggle capturing key presses from the physical keyboard.

var keyboard = navigator.keyboard

See also: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/keyboard

Property.

The keyboard read-only property of the `web.performance.Navigator`
returns a `web.keyboard.Keyboard` object which provides access
functions that retrieve keyboard layout maps and toggle capturing
key presses from the physical keyboard.

`var keyboard = navigator.keyboard`

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

set-locks!cljs

(set-locks! this val)

Property.

The locks read-only property of the web.performance.Navigator 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/Navigator/locks

Property.

The locks read-only property of the `web.performance.Navigator`
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/Navigator/locks`
sourceraw docstring

set-max-touch-points!cljs

(set-max-touch-points! this val)

Property.

The maxTouchPoints read-only property of the web.performance.Navigator returns the maximum number of simultaneous touch contact points supported by the current device.

touchPoints = navigator.maxTouchPoints;

See also: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/maxTouchPoints

Property.

The maxTouchPoints read-only property of the `web.performance.Navigator`
returns the maximum number of simultaneous touch contact points
supported by the current device.

`touchPoints = navigator.maxTouchPoints;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Navigator/maxTouchPoints`
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-oscpu!cljs

(set-oscpu! this val)

Property.

The Navigator.oscpu property returns a string that identifies current operating system.

`oscpuInfo = window.navigator.oscpu

oscpuInfo is a string that takes the following form:

Operating system oscpuInfo string format

OS/2 OS/2 Warp x (either 3, 4 or 4.5)

Windows CE WindowsCE x.y1

Windows 64-bit (64-bit build) Windows NT x.y; Win64; x64

Windows 64-bit (32-bit build) Windows NT x.y; WOW64

Windows 32-bit Windows NT x.y

Mac OS X (PPC build) PPC Mac OS X x.y

Mac OS X (i386/x64 build) Intel Mac OS X x.y

Linux 64-bit (32-bit build) Output of uname -s plus "i686 on x86_64"

Linux Output of uname -sm

1x.y refers to the version of the operating system`

See also: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/oscpu

Property.

The Navigator.oscpu property returns a string that identifies
current operating system.

`oscpuInfo = window.navigator.oscpu


oscpuInfo is a string that takes the following form:





Operating system
oscpuInfo string format


OS/2
OS/2 Warp x (either 3, 4 or 4.5)


Windows CE
WindowsCE x.y1


Windows 64-bit (64-bit build)
Windows NT x.y; Win64; x64


Windows 64-bit (32-bit build)
Windows NT x.y; WOW64


Windows 32-bit
Windows NT x.y


Mac OS X (PPC build)
PPC Mac OS X x.y


Mac OS X (i386/x64 build)
Intel Mac OS X x.y


Linux 64-bit (32-bit build)
Output of uname -s plus \"i686 on x86_64\"


Linux
Output of uname -sm




1x.y refers to the version of the operating system`

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

set-permissions!cljs

(set-permissions! this val)

Property.

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

permissionsObj = globalObj.navigator.permissions

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

Property.

The Navigator.permissions read-only property returns a `web.permissions.Permissions`
that can be used to query and update permission status of APIs
by the Permissions API.

`permissionsObj = globalObj.navigator.permissions`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Navigator/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

set-service-worker!cljs

(set-service-worker! this val)

Property.

The Navigator.serviceWorker read-only property returns the web.workers.ServiceWorkerContainer for the associated document, which provides access to registration, upgrade, and communication with the web.workers.ServiceWorker.

var workerContainerInstance = navigator.serviceWorker;

See also: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/serviceWorker

Property.

The Navigator.serviceWorker read-only property returns the `web.workers.ServiceWorkerContainer`
for the associated document, which provides access to registration,
upgrade, and communication with the `web.workers.ServiceWorker`.

`var workerContainerInstance = navigator.serviceWorker;`

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

set-webdriver!cljs

(set-webdriver! this val)

Property.

The webdriver read-only property of the navigator interface whether the user agent is controlled by automation.

var isAutomated = navigator.webdriver

See also: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/webdriver

Property.

The webdriver read-only property of the `navigator` interface
whether the user agent is controlled by automation.

`var isAutomated = navigator.webdriver`

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

sharecljs

(share this data)

Method.

The Navigator.share() method invokes the native sharing mechanism the device as part of the Web Share API. If the Web Share API unsupported, then this method will be undefined.

var sharePromise = window.navigator.share(data);

See also: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/share

Method.

The Navigator.share() method invokes the native sharing mechanism
the device as part of the Web Share API. If the Web Share API
unsupported, then this method will be undefined.

`var sharePromise = window.navigator.share(data);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Navigator/share`
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

vendorcljs

(vendor this)

Property.

The value of the web.performance.Navigator vendor property always either "Google Inc.", "Apple Computer, Inc.", or (in the empty string.

venString = window.navigator.vendor

See also: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/vendor

Property.

The value of the `web.performance.Navigator` vendor property
always either \"Google Inc.\", \"Apple Computer, Inc.\", or (in
the empty string.

`venString = window.navigator.vendor`

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

vendor-subcljs

(vendor-sub this)

Property.

The value of the Navigator.vendorSub property is always the empty in any browser.

venSub = window.navigator.vendorSub

See also: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/vendorSub

Property.

The value of the Navigator.vendorSub property is always the empty
in any browser.

`venSub = window.navigator.vendorSub`

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

vibratecljs

(vibrate this & args)

Method.

The Navigator.vibrate() method pulses the vibration hardware the device, if such hardware exists. If the device doesn't support this method has no effect. If a vibration pattern is already progress when this method is called, the previous pattern is and the new one begins instead.

`var successBool = window.navigator.vibrate(pattern);

pattern Provides a pattern of vibration and pause intervals. Each value indicates a number of milliseconds to vibrate or pause, in alternation. You may provide either a single value (to vibrate once for that many milliseconds) or an array of values to alternately vibrate, pause, then vibrate again. See Vibration API for details.

Passing a value of 0, an empty array, or an array containing all zeros will cancel any currently ongoing vibration pattern.`

See also: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/vibrate

Method.

The Navigator.vibrate() method pulses the vibration hardware
the device, if such hardware exists. If the device doesn't support
this method has no effect. If a vibration pattern is already
progress when this method is called, the previous pattern is
and the new one begins instead.

`var successBool = window.navigator.vibrate(pattern);


pattern
Provides a pattern of vibration and pause intervals. Each value indicates a number of milliseconds to vibrate or pause, in alternation. You may provide either a single value (to vibrate once for that many milliseconds) or an array of values to alternately vibrate, pause, then vibrate again. See Vibration API for details.


Passing a value of 0, an empty array, or an array containing all zeros will cancel any currently ongoing vibration pattern.`

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

webdrivercljs

(webdriver this)

Property.

The webdriver read-only property of the navigator interface whether the user agent is controlled by automation.

var isAutomated = navigator.webdriver

See also: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/webdriver

Property.

The webdriver read-only property of the `navigator` interface
whether the user agent is controlled by automation.

`var isAutomated = navigator.webdriver`

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

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

× close