figerprintjs

介绍:
figerprintjs可以获取设备的所有物理信息。

安装:

1
npm install fingerprintjs2

使用:

1
2
3
4
new Fingerprint2().get(function(result, components){
console.log(result); //a hash, representing your device fingerprint
console.log(components); // an array of FP components
});

获取到的信息列表:

UserAgent :
Language :
Color Depth : 色彩深度
Screen Resolution : 屏幕分辨率
Timezone : 时区
Has session storage or not : 支持session storage ?
Has local storage or not : 支持session storage ?
Has indexed DB : 支持indexed DB?
Has IE specific ‘AddBehavior’ : 有IE特定’AddBehavior’?
Has open DB : 有开放的DB?
CPU class : CPU类型
Platform : 平台
DoNotTrack or not : DoNotTrack与否?
Full list of installed fonts (maintaining their order, which increases the entropy), implemented with Flash. 使用Flash实现的已安装字体的完整列表(维护其顺序,增加了熵)

A list of installed fonts, detected with JS/CSS (side-channel technique) - can detect up to 500 installed fonts without flash:
使用JS / CSS(侧通道技术)检测到的已安装字体列表,可以检测多达500个没有闪存的已安装字体

Canvas fingerprinting : 画布识别
WebGL fingerprinting :WebGL识别
Plugins (IE included):插件(包括IE)
Is AdBlock installed or not : 是否安装了AdBlock
Has the user tampered with its languages 1 : 用户是否篡改了其语言1
Has the user tampered with its screen resolution 1 : 用户是否篡改了屏幕分辨率1
Has the user tampered with its OS 1 : 用户是否篡改了其操作系统1
Has the user tampered with its browser 1 : 用户是否篡改了其浏览器1
Touch screen detection and capabilities :触摸屏检测和功能
Pixel Ratio : 像素比率
System’s total number of logical processors available to the user agent : 系统用户代理可用的逻辑处理器总数

物理信息截图

两个名词解释:
PV:page view,页面浏览量,或点击量
UV:unique visitor,指访问某个站点或点击某条新闻的不同IP地址的人数

baishiwen wechat
欢迎您扫一扫上面的微信公众号,订阅我的博客!