let UA = navigator.userAgent.toLowerCase();
 if(window.location.href.indexOf('m.birdwork.com')==-1){
   if ((UA.indexOf('iphone') != -1 || UA.indexOf('mobile') != -1 || UA.indexOf('android') != -1 || UA.indexOf('ipad') != -1 || UA.indexOf('windows ce') != -1 || UA.indexOf('ipod') != -1) && UA.indexOf('ipod') == -1) {
			window.location ='https://m.birdwork.com'
		}
	 }

  

posted on 2022-02-10 16:09  鄢宁  阅读(12)  评论(0编辑  收藏  举报