标签:
<script type="text/javascript">
if ((navigator.userAgent.match(/(iPhone|iPod|Android|ios|iOS|iPad|Backerry|WebOS|Symbian|Windows Phone|Phone)/i))) {
window.location.href = "http://www.baidu.com/";
}
</script>
标签:
原文地址:http://www.cnblogs.com/lmx22/p/4825473.html