Skip to content

@tripo3d/fingerprint / sources

Variable: sources

ts
const sources: object;

Defined in: sources/index.ts:53

The list of entropy sources used to make visitor identifiers.

This value isn't restricted by Semantic Versioning, i.e. it may be changed without bumping minor or major version of this package.

Note: Rollup and Webpack are smart enough to remove unused properties of this object during tree-shaking, so there is no need to export the sources individually.

Type Declaration

NameTypeDefault valueDefined in
applePay()() => -3 | -2 | -1 | 0 | 1getApplePayStatesources/index.ts:58
architecture()() => numbergetArchitecturesources/index.ts:59
audio()() => number | (() => Promise<number>)getAudioFingerprintsources/index.ts:60
audioBaseLatency()() => numbergetAudioContextBaseLatencysources/index.ts:61
canvas()() => CanvasFingerprintgetCanvasFingerprintsources/index.ts:62
colorDepth()() => numbergetColorDepthsources/index.ts:63
colorGamut()() => ColorGamut | undefinedgetColorGamutsources/index.ts:65
contrast()() => number | undefinedgetContrastPreferencesources/index.ts:66
cookiesEnabled()() => booleanareCookiesEnabledsources/index.ts:67
cpuClass()() => string | undefinedgetCpuClasssources/index.ts:68
dateTimeLocale()() => string | -2 | -3 | -1getDateTimeLocalesources/index.ts:69
deviceMemory()() => number | undefinedgetDeviceMemorysources/index.ts:70
domBlockers()(__namedParameters) => Promise<string[] | undefined>getDomBlockerssources/index.ts:71
fontPreferences()() => Promise<Record<string, number>>getFontPreferencessources/index.ts:72
fonts()() => Promise<string[]>getFontssources/index.ts:73
forcedColors()() => boolean | undefinedareColorsForcedsources/index.ts:74
hardwareConcurrency()() => number | undefinedgetHardwareConcurrencysources/index.ts:75
hdr()() => boolean | undefinedisHDRsources/index.ts:76
indexedDB()() => boolean | undefinedgetIndexedDBsources/index.ts:77
invertedColors()() => boolean | undefinedareColorsInvertedsources/index.ts:78
languages()() => string[][]getLanguagessources/index.ts:79
localStorage()() => booleangetLocalStoragesources/index.ts:80
math()() => Record<string, number>getMathFingerprintsources/index.ts:81
monochrome()() => number | undefinedgetMonochromeDepthsources/index.ts:82
openDatabase()() => booleangetOpenDatabasesources/index.ts:83
osCpu()() => string | undefinedgetOsCpusources/index.ts:84
pdfViewerEnabled()() => boolean | undefinedisPdfViewerEnabledsources/index.ts:85
platform()() => stringgetPlatformsources/index.ts:86
plugins()() => PluginData[] | undefinedgetPluginssources/index.ts:87
privateClickMeasurement()() => string | undefinedgetPrivateClickMeasurementsources/index.ts:88
reducedMotion()() => boolean | undefinedisMotionReducedsources/index.ts:89
reducedTransparency()() => boolean | undefinedisTransparencyReducedsources/index.ts:90
screenFrame()() => () => Promise<FrameSize | undefined>getScreenFramesources/index.ts:91
screenResolution()() => ScreenResolution | undefinedgetScreenResolutionsources/index.ts:92
sessionStorage()() => booleangetSessionStoragesources/index.ts:93
timezone()() => stringgetTimezonesources/index.ts:94
touchSupport()() => TouchSupportgetTouchSupportsources/index.ts:95
userAgentData()() => Promise<StableUserAgentData | undefined>getUserAgentDatasources/index.ts:98
vendor()() => stringgetVendorsources/index.ts:99
vendorFlavors()() => string[]getVendorFlavorssources/index.ts:100
webGlBasics()(__namedParameters) => WebGlBasicsPayload | SpecialStatusgetWebGlBasicssources/index.ts:104
webGlExtensions()(__namedParameters) => WebGlExtensionsPayload | SpecialStatusgetWebGlExtensionssources/index.ts:105

基于 MIT 协议发布(内部使用)