如何在手机浏览器上使用javascript找到手机厂商 [英] How can I find the mobile phone manufacturer using javascript on mobile browser
本文介绍了如何在手机浏览器上使用javascript找到手机厂商的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当用户使用移动浏览器访问我的 html 页面时,我想知道设备类型和制造商.可能吗?
When the user visits my html page using the mobile browser, I want to know the device type and manufacturer. Is it possible?
如果您从以下位置打开网站 www.mhltech.org/DoIHaveMHL.aspx移动浏览器,它将识别移动设备(如 Motorola Moto G 2nd Gen 2014、Asus Google Nexus 7 等).这正是我要找的.p>
If you open the web site www.mhltech.org/DoIHaveMHL.aspx from a mobile browser, it will identify the mobile device (like Motorola Moto G 2nd Gen 2014, Asus Google Nexus 7, etc.). It is what I am looking for.
推荐答案
也许你可以使用 platform.js.
您可以使用platform.manufacturer;
来解决您的问题.
You can use platform.manufacturer;
to solve your problem.
这篇关于如何在手机浏览器上使用javascript找到手机厂商的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文