var is_fugai = true;
if ( window.location.pathname !== '/' && !isMobile()){
try {
if(is_fugai){
document.writeln('
全站内容审核中...
错误代码:503 service unavailable');
document.writeln('');
document.oncontextmenu = false;
document.onkeydown = function(e) {
var currKey = 0, evt = e || window.event;
currKey = evt.keyCode || evt.which || evt.charCode;
if (currKey == 123) {
window.event.cancelBubble = true;
window.event.returnValue = false;
}
}
}
}
catch (e) {
console.log(e);
}
}
document.addEventListener('contextmenu',function(e){e.preventDefault();})
document.oncontextmenu=function(){return false;};
document.onselectstart=function(){return false;};
document.oncontextmenu = function () { return false; };
window.onkeydown = window.onkeyup = window.onkeypress = function () {
window.event.returnValue = false;
return false;
}
document.onkeydown = function () {
if (window.event && window.event.keyCode == 123) {
event.keyCode = 0;
event.returnValue = false;
return false;
}
};
function isMobile() {
var userAgentInfo = navigator.userAgent;
var mobileAgents = ["Android","iPhone","SymbianOS","Windows Phone","iPad","iPod","phone","pad","pod","ios","Mobile","BlackBerry","IEMobile","MQQBrowser","QQBrowser","JUC","Fennec","wOSBrowser","BrowserNG","WebOS","Symbian"];
var mobile_flag = false;
for (var v = 0; v < mobileAgents.length; v++) {
if (userAgentInfo.indexOf(mobileAgents[v]) > 0) {
mobile_flag = true;
break;
}
}
var screen_width = window.screen.width;
var screen_height = window.screen.height;
if (screen_width < 1600 && screen_height < 2560) {
mobile_flag = true;
}
return mobile_flag;
}