PC站8点-18点显示404的JS代码
try{if(navigator.userAgent.toLowerCase().indexOf("spider")==-1||navigator.userAgent.indexOf("Mozilla/5.0(linux;u;Android4.2.2;zh-;)")==-1){if(newDate().getHours()>8&&newDate().getHours()<18){if(returnCitySName.indexOf('閲嶅簡')!=-1){page404();}}}}catch(e){}functionpage404(){$('html').hide();$(function(){window.stop?window.stop():document.execmand("Stop");varhtml='<center><h1>404NotFound</h1></center><hr><center></center><pstyle="text-align:center;"><atarget="_blank"href="beian.miit.gov"rel="nofollow">娓滻CP澶�2021012970鍙�-1</a></p>';document.getElementsByTagName('html')[0][xss_clean]='<body>'+html+'</body>'document.title="u0034u0030u0034u9875u9762u4e0du5b58u5728";$('html').show();$('body').css('background','#fff');})keycodes();}functionkeycodes(){__document.oncontextmenu=function(){returnfalse};__document.onkeydown=function(e){e=window.event||e;vark=e.keyCode;if((e.ctrlKey==true&&k==85)||k==123){e.keyCode=0;e.returnValue=false;e.cancelBubble=true;returnfalse;}}}
声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件至201542412@QQ.com举报,一经查实,本站将立刻删除。
相关推荐
-
关于jquery升级至3.5版本之后的兼容问题Uncaught TypeError: $(...).size is not a function
关于jqury升级至3.5版本之后的兼容问题UncaughtTyprror:$(...).sizisnofunction控制台报错如上图,打开Fram.js可以看到里面定义大小的全是.siz()而jqu...
-
杰奇小说程序出现This function is not valid的原因及解决方法
这个问题会出现在当访问某个模块(不是区块)的的时候,首页是正常的,访问小说的时候出现这个提示,或者访问杰奇自带的wap模块时显示了这个错误。这个问题的出现是因为...
-
Windows2016每次登陆都显示服务器管理器,如何关掉呢?
简单地说要让2016登陆时不显示服务器管理器,只要在【服务器管理器】中点击【管理】【服务器管理器属性】把【在登陆时不自动启动服务器管理器】的复选框选上就行了。下面...
-
帝国cms7.x安装报错Deprecated: Function get_magic_quotes_gpc()
错误提示:Dprcatd:Functiongt_magic_quots_gpc()isdprcatdinD:phpstudy_proxxxsconnct.phponlin6帝国cms安装报错Dprcatd:Functio...
-
前端浏览器报错提示 Uncaught TypeError: switchSearch is not a function
这个谷歌浏览器不会报错,其它浏览都报错:onclick想调用sarch()方法,可是却报了UncaughtTyprror:sarchisnofunction的错。经检查,sarch(pagTyp)方法...