手机识别:
var isAndroid = navigator.appVersion.toLowerCase().indexOf(‘android’) >= 0,
isIphone = navigator.appVersion.toLowerCase().indexOf(‘iphone’) >= 0;
if (isAndroid)
{
window.location.href = ”XXX.html”;
}
手机识别:
var isAndroid = navigator.appVersion.toLowerCase().indexOf(‘android’) >= 0,
isIphone = navigator.appVersion.toLowerCase().indexOf(‘iphone’) >= 0;
if (isAndroid)
{
window.location.href = ”XXX.html”;
}