测试指纹
// ==UserScript==
// @name 测试指纹
// @namespace https://bbs.tampermonkey.net.cn/
// @version 0.1.1
// @description try to take over the world!
// @author You
// @match https://*.*.*
// @require https://openfpcdn.io/fingerprintjs/v3/iife.min.js
// ==/UserScript==
setTimeout(() => {
FingerprintJS.load({ monitoring: false })
.then(fp => fp.get())
.then(
result => {
const { canvas, colorGamut, domBlockers, cookiesEnabled, fontPreferences, fonts, videoCard, ...components } = result.components
console.log('result.components', components, FingerprintJS.hashComponents(components))
//alert('visitorId'+FingerprintJS.hashComponents(fonts))
})
}, 5000)