【问题标题】:The fingerprint generated with fingerprintjs is unstable用fingerprintjs生成的指纹不稳定
【发布时间】:2021-10-29 16:46:55
【问题描述】:

我使用fingerprintjs生成浏览器指纹,但是在调试过程中指纹发生变化,不规则。

【问题讨论】:

  • 所以...你的问题是...如何使它们保持一致?
  • 是的,兄弟,你有解决办法吗?
  • 请编辑问题以将其限制为具有足够详细信息的特定问题,以确定适当的答案。

标签: javascript fingerprint fingerprintjs2 fingerprintjs


【解决方案1】:

基本上有两种选择。

A) 您可以排除会导致受众不稳定的内置熵组件(或者您甚至可以添加新的自定义熵组件),例如

const result = await fp.get()

// The `languages` and `audio` components will be excluded
const { languages, audio, ...components } = result.components

// Optinally, you can make a visitor identifier from your custom list of components
const visitorId = FingerprintJS.hashComponents(components)

您可以在GitHub docs 中了解有关此选项的更多信息。

B) 您可以使用更精确的FingerprintJS Pro(具有免费层的商业产品)。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2018-06-27
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-05-06
    • 1970-01-01
    相关资源
    最近更新 更多