如何在移动浏览器上使用javascript找到手机制造商 [英] How can I find the mobile phone manufacturer using javascript on mobile browser

查看:94
本文介绍了如何在移动浏览器上使用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等).这就是我想要的.

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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆