Skip to main content
Version: Next

FingerprintGeneratorOptions

Hierarchy

  • Partial<FingerprintOptionsOriginal>
    • FingerprintGeneratorOptions

Index

Properties

externaloptionalinheritedbrowserListQuery

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.

externaloptionalinheritedbrowsers

browsers?: BrowsersType

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

externaloptionalinheriteddevices

devices?: (desktop | mobile)[]

List of devices to generate the headers for.

externaloptionalinheritedhttpVersion

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.

externaloptionalinheritedlocales

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.

externaloptionalinheritedmockWebRTC

mockWebRTC?: boolean

externaloptionalinheritedoperatingSystems

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

List of operating systems to generate the headers for.

externaloptionalinheritedscreen

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

externaloptionalinheritedslim

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.

externaloptionalinheritedstrict

strict?: boolean

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