Skip to main content
Version: 3.12

FingerprintGeneratorOptions

Hierarchy

  • Partial<FingerprintOptionsOriginal>
    • FingerprintGeneratorOptions

Index

Properties

externaloptionalbrowserListQuery

browserListQuery?: string

Browser generation query based on the real world data. For more info see the query docs. If browserListQuery is passed the browsers array is ignored.

externaloptionalbrowsers

browsers?: BrowsersType

List of BrowserSpecifications to generate the headers for, or one of chrome, edge, firefox and safari.

externaloptionaldevices

devices?: (desktop | mobile)[]

List of devices to generate the headers for.

externaloptionalhttpVersion

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.

externaloptionallocales

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.

externaloptionalmockWebRTC

mockWebRTC?: boolean

externaloptionaloperatingSystems

operatingSystems?: (windows | macos | linux | android | ios)[]

List of operating systems to generate the headers for.

externaloptionalscreen

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 (~0.0007s/fingerprint -> ~0.03s/fingerprint)


Type declaration

  • externaloptionalmaxHeight?: number
  • externaloptionalmaxWidth?: number
  • externaloptionalminHeight?: number
  • externaloptionalminWidth?: number

externaloptionalslim

slim?: boolean

Enables the slim mode for the fingerprint injection. This disables some performance-heavy evasions, but might decrease benchmark scores.

Try enabling this if you are experiencing performance issues with the fingerprint injection.

externaloptionalstrict

strict?: boolean

If true, the generator will throw an error if it cannot generate headers based on the input.