Get info from navigator.userAgent.

经过 chrome 手机模拟器和 iso12 的测试,ua 中并不包含 nettype 信息,所以,此方法无效。

Conclusion: It may work in android browsers, but doesn't work in safari browser of ios mobile system.