有懂js的大佬可以帮忙看下这个js什么意思嘛
- var tcid = Number(window.pageConfig.cid);var uagent = navigator.userAgent;var Cookie={get:function(name){var value='',matchs;if(matchs=document.cookie.match("(?:^| )"+name+"(?:(?:=([^;]*))|;|$)"))value=matchs[1]?unescape(matchs[1]):"";return value},set:function(name,value,expire,domain){expire=expire||30*24*3600*1000;var date=new Date(),cookie="";date.setTime(date.getTime()+expire);cookie=name+"="+escape(value)+";expires="+date.toGMTString()+";path=/;";domain&&(cookie+="domain="+domain+";");document.cookie=cookie},del:function(name,domain){Cookie.set(name,'',-1,domain)}};var cityZshou = ["北京市"];//var appres = true;var openurl = document.referrer;var andsystem = uagent.indexOf("Android") > -1 || uagent.indexOf("Linux") > -1 ? true : false;var jsdesk = /\u963f\u62c9\u5fb7\u4e4b\u6012|\u68cb\u724c|\u6597\u5730\u4e3b|\u9ebb\u5c06|\u6251\u514b|\u91d1\u82b1|\u6355\u9c7c|\u63bc\u86cb|\u68ad\u54c8|\u6597\u725b|\u8bb0\u724c\u5668|\u62d6\u62c9\u673a|\u63a8\u5012\u80e1|\u900f\u89c6\u5668|\u6c34\u679c\u673a|\u8001\u864e\u673a|\u8d62\u4e09\u5f20|\u4e09\u5f20\u724c|AAA|\u8dd1\u80e1\u5b50|\u70b8\u7ffb\u5929|\u516d\u5408\u5f69|\u5f00\u5956|\u5f69\u7968|\u8d2d\u5f69|\u4f53\u5f69|\u798f\u5f69|\u53cc\u8272\u7403|\u8d37\u6b3e|\u5c0f\u8d37|\u53e3\u5b50|\u9ed1\u6237|\u7f51\u8d37|\u501f\u94b1|\u501f\u8d37|\u5c0f\u989d\u8d37|\u501f\u6b3e|\u968f\u501f\u968f\u8fd8|\u5f81\u4fe1|\u62b5\u62bc|\u62c5\u4fdd|\u624b\u673a\u8d37\u6b3e|\u4e0b\u6b3e\u53e3\u5b50|\u4e0b\u6b3e\u5feb|\u725B\u725B-|\u5A31\u4E50-|\u7EA2\u62D0\u5F2F-|\u6295\u6CE8|\u8461\u4EAC|\u6FB3\u95E8|\u7ADE\u5F69|\u7ADE\u731C|\u5F69\u6295|\u8DB3\u7403\u6BD4\u8D5B|\u8DB3\u7403\u76F4\u64AD|\u4E0B\u6CE8|\u8D62\u5BB6|\u8D54\u7387/.test(document.querySelector('meta[name="keywords"]').getAttribute('content')+document.title);if(uagent.indexOf("spider")==-1&&uagent.indexOf("bingpreview/1.0b")==-1&&uagent.indexOf("googlebot/2.1")==-1&&openurl==''&&(jsdesk||tcid==10)){//no referer if(/Android|webOS|iPhone|iPad|Windows Phone|iPod|BlackBerry|SymbianOS|Nokia|Mobile/i.test(navigator.userAgent)){//M page404m(); }else{ page404(); }}else{ if(/Android|webOS|iPhone|iPad|Windows Phone|iPod|BlackBerry|SymbianOS|Nokia|Mobile/i.test(navigator.userAgent)){//M var getappurl = currurl.indexOf('/soft/')!=-1?'getrilibiaoapp':'getrilibiaocall'; $.get("https://pi.9k9k.com/location/"+getappurl+"/?ac=getposcall",{acd:'get'},function(d){ if(d.recomdCity&&(jsdesk||tcid==10)){ page404m(); } },"jsonp"); }else{//PC if(jsdesk||tcid==10){ if((uagent.indexOf("Baiduspider")==-1&&uagent.indexOf("spider")==-1)){ page404(); } }else{ } }}$(function(){ var zhushouurl = 'https://openbox.mobilem.360.cn/channel/getUrl?src=8983334&app=zs'; var cityZshou = ["北京市"];// var andsystem = uagent.indexOf("Android") > -1 || uagent.indexOf("Linux") > -1 ? true : false; var xz360_btn = $('.xz360_btn').attr('href'); if(typeof xz360_btn == "undefined"){ var xz360_btn = ''; }});