Options
All
  • Public
  • Public/Protected
  • All
Menu

The state and the identity of the user agent. It allows scripts to query it and to register themselves to carry on some activities.

Hierarchy

  • MSFileSaver
  • MSNavigatorDoNotTrack
  • NavigatorAutomationInformation
  • NavigatorBeacon
  • NavigatorConcurrentHardware
  • NavigatorContentUtils
  • NavigatorCookies
  • NavigatorID
  • NavigatorLanguage
  • NavigatorOnLine
  • NavigatorPlugins
  • NavigatorStorage
    • Navigator

Index

Properties

Readonly activeVRDisplays

activeVRDisplays: readonly VRDisplay[]

Readonly appCodeName

appCodeName: string

Readonly appName

appName: string

Readonly appVersion

appVersion: string

bluetooth

bluetooth: Bluetooth

Readonly clipboard

clipboard: Clipboard

Readonly cookieEnabled

cookieEnabled: boolean

Readonly credentials

credentials: CredentialsContainer

Readonly doNotTrack

doNotTrack: null | string

Readonly geolocation

geolocation: Geolocation

Readonly hardwareConcurrency

hardwareConcurrency: number

hid

hid: { getDevices: any; requestDevice: any }

Type declaration

Readonly language

language: string

Readonly languages

languages: readonly string[]

Readonly maxTouchPoints

maxTouchPoints: number

Readonly mediaDevices

mediaDevices: MediaDevices

Readonly mimeTypes

mimeTypes: MimeTypeArray

Readonly msManipulationViewsEnabled

msManipulationViewsEnabled: boolean

Readonly msMaxTouchPoints

msMaxTouchPoints: number

Readonly msPointerEnabled

msPointerEnabled: boolean

Readonly onLine

onLine: boolean

Readonly permissions

permissions: Permissions

Readonly platform

platform: string

Readonly plugins

plugins: PluginArray

Readonly pointerEnabled

pointerEnabled: boolean

Readonly product

product: string

Readonly productSub

productSub: string

Readonly serviceWorker

serviceWorker: ServiceWorkerContainer

Readonly storage

storage: StorageManager

Readonly usb

usb: USB

Readonly userAgent

userAgent: string

Readonly vendor

vendor: string

Readonly vendorSub

vendorSub: string

Readonly webdriver

webdriver: boolean

Methods

confirmSiteSpecificTrackingException

  • confirmSiteSpecificTrackingException(args: ConfirmSiteSpecificExceptionsInformation): boolean
  • Parameters

    • args: ConfirmSiteSpecificExceptionsInformation

    Returns boolean

confirmWebWideTrackingException

  • confirmWebWideTrackingException(args: ExceptionInformation): boolean
  • Parameters

    • args: ExceptionInformation

    Returns boolean

getGamepads

  • getGamepads(): (null | Gamepad)[]
  • Returns (null | Gamepad)[]

getUserMedia

  • getUserMedia(constraints: MediaStreamConstraints, successCallback: NavigatorUserMediaSuccessCallback, errorCallback: NavigatorUserMediaErrorCallback): void
  • Parameters

    • constraints: MediaStreamConstraints
    • successCallback: NavigatorUserMediaSuccessCallback
    • errorCallback: NavigatorUserMediaErrorCallback

    Returns void

getVRDisplays

  • getVRDisplays(): Promise<VRDisplay[]>
  • Returns Promise<VRDisplay[]>

javaEnabled

  • javaEnabled(): boolean
  • Returns boolean

msLaunchUri

  • msLaunchUri(uri: string, successCallback?: MSLaunchUriCallback, noHandlerCallback?: MSLaunchUriCallback): void
  • Parameters

    • uri: string
    • Optional successCallback: MSLaunchUriCallback
    • Optional noHandlerCallback: MSLaunchUriCallback

    Returns void

msSaveBlob

  • msSaveBlob(blob: any, defaultName?: string): boolean
  • Parameters

    • blob: any
    • Optional defaultName: string

    Returns boolean

msSaveOrOpenBlob

  • msSaveOrOpenBlob(blob: any, defaultName?: string): boolean
  • Parameters

    • blob: any
    • Optional defaultName: string

    Returns boolean

registerProtocolHandler

  • registerProtocolHandler(scheme: string, url: string, title: string): void
  • Parameters

    • scheme: string
    • url: string
    • title: string

    Returns void

removeSiteSpecificTrackingException

  • removeSiteSpecificTrackingException(args: ExceptionInformation): void
  • Parameters

    • args: ExceptionInformation

    Returns void

removeWebWideTrackingException

  • removeWebWideTrackingException(args: ExceptionInformation): void
  • Parameters

    • args: ExceptionInformation

    Returns void

requestMediaKeySystemAccess

  • requestMediaKeySystemAccess(keySystem: string, supportedConfigurations: MediaKeySystemConfiguration[]): Promise<MediaKeySystemAccess>
  • requestMediaKeySystemAccess(keySystem: string, supportedConfigurations: Iterable<MediaKeySystemConfiguration>): Promise<MediaKeySystemAccess>
  • Parameters

    • keySystem: string
    • supportedConfigurations: MediaKeySystemConfiguration[]

    Returns Promise<MediaKeySystemAccess>

  • Parameters

    • keySystem: string
    • supportedConfigurations: Iterable<MediaKeySystemConfiguration>

    Returns Promise<MediaKeySystemAccess>

sendBeacon

  • sendBeacon(url: string, data?: null | string | Blob | ArrayBufferView | ArrayBuffer | FormData | URLSearchParams | ReadableStream<Uint8Array>): boolean
  • Parameters

    • url: string
    • Optional data: null | string | Blob | ArrayBufferView | ArrayBuffer | FormData | URLSearchParams | ReadableStream<Uint8Array>

    Returns boolean

share

  • share(data?: ShareData): Promise<void>
  • Parameters

    • Optional data: ShareData

    Returns Promise<void>

storeSiteSpecificTrackingException

  • storeSiteSpecificTrackingException(args: StoreSiteSpecificExceptionsInformation): void
  • Parameters

    • args: StoreSiteSpecificExceptionsInformation

    Returns void

storeWebWideTrackingException

  • storeWebWideTrackingException(args: StoreExceptionsInformation): void
  • Parameters

    • args: StoreExceptionsInformation

    Returns void

unregisterProtocolHandler

  • unregisterProtocolHandler(scheme: string, url: string): void
  • Parameters

    • scheme: string
    • url: string

    Returns void

vibrate

  • vibrate(pattern: number | number[]): boolean
  • Parameters

    • pattern: number | number[]

    Returns boolean

Generated using TypeDoc