Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Navigator

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

Index

Properties

Readonly activeVRDisplays

activeVRDisplays: ReadonlyArray<VRDisplay>

Readonly appCodeName

appCodeName: string

Readonly appName

appName: string

Readonly appVersion

appVersion: string

Readonly clipboard

clipboard: Clipboard

Readonly cookieEnabled

cookieEnabled: boolean

Readonly credentials

Readonly doNotTrack

doNotTrack: string | null

Readonly geolocation

geolocation: Geolocation

Readonly hardwareConcurrency

hardwareConcurrency: number

Readonly language

language: string

Readonly languages

languages: ReadonlyArray<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

Readonly userAgent

userAgent: string

Readonly vendor

vendor: string

Readonly vendorSub

vendorSub: string

Readonly webdriver

webdriver: boolean

Methods

confirmSiteSpecificTrackingException

confirmWebWideTrackingException

getGamepads

  • Returns Gamepad[]

getUserMedia

getVRDisplays

  • Returns Promise<VRDisplay[]>

javaEnabled

  • javaEnabled(): boolean
  • Returns boolean

msLaunchUri

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

removeWebWideTrackingException

requestMediaKeySystemAccess

sendBeacon

  • sendBeacon(url: string, data?: BodyInit | null): boolean
  • Parameters

    • url: string
    • Optional data: BodyInit | null

    Returns boolean

share

  • Parameters

    Returns Promise<void>

storeSiteSpecificTrackingException

storeWebWideTrackingException

unregisterProtocolHandler

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

vibrate

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

    • pattern: number | number[]

    Returns boolean

Generated using TypeDoc