跳转代码
<script>
var mobileUrl = 'https://www.baidu.com';
var mobileAgent = new Array("iphone", "ipod", "ipad", "android", "mobile", "blackberry", "webos", "incognito", "webmate", "bada", "nokia", "lg", "ucweb", "skyfire");
var browser = navigator.userAgent.toLowerCase();
var isMobile = false;
for (var i=0; i<mobileAgent.length; i++){
if (browser.indexOf(mobileAgent[i])!=-1){
isMobile = true;
break;
}
}
if(isMobile){
location.href = mobileUrl;
}
</script>
文章由官网发布,如若转载,请注明出处:https://www.23ziyi.com/archives/21.html
1.1k
发表评论
热门文章
【资源】霹雳布袋戏,全集网盘4.1w 阅读
![请输入图片描述][1] [scode] 霹....
![请输入图片描述][1] ``` 0....
霹雳布袋戏老剧1080P资源【天翼云】6.8k 阅读
[scode]整理发给各位,没有加任何水印的MP4....
JS反调试技术随笔记录-防止非法用户调试网页运行流程2.3k 阅读
[scode]1.Debugger断点调试 在C....
能量魔法巨无霸
2023年01月13日
请问诸位道友,80、90、和00后的老剧集怎么找啊?拜谢了