在 javascript 中查找固件
我正在寻找一种方法来查找正在查看我的网站的计算机的操作系统版本和型号版本。 jQuery、javascript、html、php、asp... 一般浏览器支持的任何语言都可以。 我知道这是可能的,comex 为 iOS 做到了。 我认为他做到了:
firmware.indexof("4.0");
但正如我之前所说,我也需要模型。这是一个veeeeeerrrrrryyyyyy很长的脚本,无论如何都不适合我。 我 谷歌搜索 它,但没有运气。 提前致谢!
I am looking for a way to find the os version and model version of the computer my site is being viewed on.
jQuery, javascript, html, php, asp...
Any language browsers generally support will do.
I know it's possible, comex did it for iOS.
I think he did:
firmware.indexof("4.0");
But I need the model too, as I said before. That is a veeeeeerrrrrryyyyyy long script that won't work for me anyway.
I googled
it, but no luck.
Thanks in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您预计您的客户将安装 Flash(世界上 95% 以上的客户都安装了 Flash),您可以使用 Flash 影片来检查 flash.system.Capability 对象。它有许多您可能感兴趣的信息< /a>.如果你想在 iOS 机器上找到它,那么显然这是行不通的,因为它上面没有 Flash。
If you expect that your clients will have Flash installed (95%+ of the world does), you can use a Flash movie to check the flash.system.Capabilities object. It has lots of information you might be interested in. If you're trying to find it on an iOS machine, then obviously this won't work since it's not going to have Flash on it.