skillnull / devicejs Goto Github PK
View Code? Open in Web Editor NEWJS获取设备信息(操作系统信息、地理位置、UUID、横竖屏状态、设备类型、网络状态、浏览器信息、生成浏览器指纹、日期、生肖、周几等)
Home Page: http://skillnull.com/others/DeviceJs/index.html
License: MIT License
JS获取设备信息(操作系统信息、地理位置、UUID、横竖屏状态、设备类型、网络状态、浏览器信息、生成浏览器指纹、日期、生肖、周几等)
Home Page: http://skillnull.com/others/DeviceJs/index.html
License: MIT License
希望支持windows 11的系统识别
RT
// 判段360浏览器
mime(option, value) {
var mimeTypes = navigator.mimeTypes;
for (var mt in mimeTypes) {
if (mimeTypes[mt][option] == value) {
return true;
}
}
return false;
}
PC用这个解决了 但是移动端用这个不行
手机型号: vivo nex s
系统:android 9.0
详情:移动版chrome点击获取按钮不返回任何信息,需要切换到桌面模式才有效。且桌面模式获取到的信息存在错误,比如deviceType : PC
OSVersion : 537.36
screenHeight : 772
screenWidth : 360
netWork : 3G(此时网络为wifi)
设备型号: iPad Pro 12.9
系统:iPad OS13.0
详情:safari获取到的信息存在错误,比如deviceType : PC
OSVersion : Others
screenHeight : 1366
screenWidth : 1024
netWork : undefined(此时网络为wifi)
报错内容: Uncaught ReferenceError: version is not defined
报错位置:
555: } else if (match['Chrome'] && _this.engine == 'WebKit' && parseInt(version['Chrome']()) > 27) {
parseInt(version['Chrome']()) > 27 中的 version 未在上下文中定义导致报错。
如题。
vue项目怎么使用这个库
iphone. 基本拿不到网络连接状态信息(wx内置浏览器可以采取别的方式拿到)
安卓的兼容性也不好奥
感觉只能通过JSBridge 拿到
小白提问:
useragent是已经添加进生成指纹对象了吗?useragent很容易伪造。
1.是否可以添加定位?
2.是否可以添加时间?
3.是否可以添加uuid?
经纬度获取失败
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.