Skip to main content
Version: 3.9

FingerprintGeneratorOptions

Index

Properties

optionalbrowserListQuery

browserListQuery?: string

Browser generation query based on the real world data. For more info see the query docs.

Note: If browserListQuery is passed, the browsers array is ignored.

optionalbrowsers

List of BrowserSpecification objects or one of chrome, edge, firefox and safari.

optionaldevices

devices?: DeviceCategory[]

List of device types to generate the fingerprints for.

optionalhttpVersion

httpVersion?: 1 | 2

Http version to be used to generate headers (the headers differ depending on the version).

Can be either 1 or 2. Default value is 2.

optionallocales

locales?: string[]

List of at most 10 languages to include in the Accept-Language request header in the language format accepted by that header, for example en, en-US or de.

optionaloperatingSystems

operatingSystems?: OperatingSystemsName[]

List of operating systems to generate the headers for.

optionalscreen

screen?: { maxHeight?: number; maxWidth?: number; minHeight?: number; minWidth?: number }

Defines the screen dimensions of the generated fingerprint.

Note: Using this option can lead to a substantial performance drop (from ~0.0007s/fingerprint to ~0.03s/fingerprint)


Type declaration

  • optionalmaxHeight?: number
  • optionalmaxWidth?: number
  • optionalminHeight?: number
  • optionalminWidth?: number