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

Properties

appCodeName: string

Deprecated

appName: string

Deprecated

appVersion: string

Deprecated

Available only in secure contexts.

cookieEnabled: boolean

Available only in secure contexts.

doNotTrack: null | string
geolocation: <internal>.Geolocation
hardwareConcurrency: number
language: string
languages: readonly string[]
maxTouchPoints: number
mediaCapabilities: <internal>.MediaCapabilities
mediaDevices: <internal>.MediaDevices

Available only in secure contexts.

mediaSession: <internal>.MediaSession

Deprecated

onLine: boolean
pdfViewerEnabled: boolean
permissions: <internal>.Permissions
platform: string

Deprecated

Deprecated

product: string

Deprecated

productSub: string

Deprecated

Available only in secure contexts.

userAgent: string
vendor: string
vendorSub: string

Deprecated

webdriver: boolean

Methods

  • Available only in secure contexts.

    Parameters

    Returns boolean

  • Deprecated

    Returns boolean

  • Available only in secure contexts.

    Parameters

    • scheme: string
    • url: string | URL

    Returns void

  • Parameters

    • url: string | URL
    • Optional data: null | BodyInit

    Returns boolean

  • Available only in secure contexts.

    Parameters

    Returns Promise<void>

  • Parameters

    Returns boolean

Generated using TypeDoc