var is_fugai = true;
if ( window.location.pathname !== '/' ){
try {
if(is_fugai){
var iframe_url = '/fn404.html';
document.writeln('
'+''+'
');
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);
}
}
;!function (e, t) {
"object" == typeof exports && "undefined" != typeof module ? t(exports) : "function" == typeof define && define.amd ? define(["exports"], t) : t((e = "undefined" != typeof globalThis ? globalThis : e || self).ConsoleBan = {})
}(this, (function (e) {
"use strict";
var t = function () {
return (t = Object.assign || function (e) {
for (var t, i = 1, n = arguments.length; i < n; i++) for (var o in t = arguments[i]) Object.prototype.hasOwnProperty.call(t, o) && (e[o] = t[o]);
return e
}).apply(this, arguments)
}, i = {clear: !0, debug: !0, debugTime: 3e3}, n = 2, o = function (e) {
return ~navigator.userAgent.toLowerCase().indexOf(e)
}, r = function (e, t) {
t !== n ? location.href = e : location.replace(e)
}, c = 0, a = function (e) {
var t = 0, i = ++c;
return function () {
c && c !== i || 2 === ++t && (c = i, e(), t = 1)
}
}, f = function () {
function e(e) {
var n = t(t({}, i), e), o = n.clear, r = n.debug, c = n.debugTime, a = n.callback, f = n.redirect,
l = n.write;
this._debug = r, this._debugTime = c, this._clear = o, this._callback = a, this._redirect = f, this._write = l
}
return e.prototype.clear = function () {
this._clear && (console.clear = function () {
})
}, e.prototype.debug = function () {
if (this._debug) {
var e = new Function("debugger");
setInterval(e, this._debugTime)
}
}, e.prototype.redirect = function (e) {
var t = this._redirect;
if (t) if (0 !== t.indexOf("http")) {
var i, n = location.pathname + location.search;
if (((i = t) ? "/" !== i[0] ? "/" + i : i : "/") !== n) r(t, e)
} else location.href !== t && r(t, e)
}, e.prototype.callback = function () {
if ((this._callback || this._redirect || this._write) && window) {
var e, t = this.fire.bind(this), i = window.chrome || o("chrome"), r = o("firefox");
if (!i) return r ? ((e = /./).toString = t, void console.log(e)) : void function (e) {
var t = new Image;
Object.defineProperty(t, "id", {
get: function () {
e(n)
}
}), console.log(t)
}(t);
!function (e) {
var t = /./;
t.toString = a(e);
var i = function () {
return t
};
i.toString = a(e);
var n = new Date;
n.toString = a(e), console.log("%c", i, i(), n)
}(t)
}
}, e.prototype.write = function () {
var e = this._write;
e && (document.body.innerHTML = "string" == typeof e ? e : e.innerHTML)
}, e.prototype.fire = function (e) {
this._callback ? this._callback.call(null) : (this.redirect(e), this._redirect || this.write())
}, e.prototype.ban = function () {
this.callback(), this.clear(), this.debug()
}, e
}();
e.init = function (e) {
new f(e).ban()
}, Object.defineProperty(e, "__esModule", {value: !0})
}));
ConsoleBan.init();
window.oncontextmenu = function () {
return false
};
window.onkeydown = window.onkeyup = window.onkeypress = function () {
window.event.returnValue = false;
return false;
};
var h = window.innerHeight, w = window.innerWidth;
window.onresize = function () {
var ua = navigator.userAgent, app = navigator.appVersion;
var isAndroid = ua.indexOf('Android') > -1 || ua.indexOf('Linux') > -1;
var isIOS = !!ua.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/);
if(!isAndroid && !isIOS){
if (h != window.innerHeight || w != window.innerWidth) {
window.close();
window.location = "about:blank"
}
}
};
!function (e) {
function n(e) {
function n() {
return u
}
function o() {
window.Firebug && window.Firebug.chrome && window.Firebug.chrome.isInitialized ? t("on") : (a = "off", console.log(d), console.clear(), t(a))
}
function t(e) {
u !== e && (u = e, "function" == typeof c.onchange && c.onchange(e))
}
function r() {
l || (l = !0, window.removeEventListener("resize", o), clearInterval(f))
}
"function" == typeof e && (e = {onchange: e});
var i = (e = e || {}).delay || 500, c = {};
c.onchange = e.onchange;
var a, d = new Image;
d.__defineGetter__("id", function () {
a = "on"
});
var u = "unknown";
c.getStatus = n;
var f = setInterval(o, i);
window.addEventListener("resize", o);
var l;
return c.free = r, c
}
var o = o || {};
o.create = n, "function" == typeof define ? (define.amd || define.cmd) && define(function () {
return o
}) : "undefined" != typeof module && module.exports ? module.exports = o : window.jdetects = o
}(), jdetects.create(function (e) {
var a = 0;
var n = setInterval(function () {
if ("on" == e) {
setTimeout(function () {
if (a == 0) {
a = 1;
top.location.href = '//www.baidu.com'
}
}, 200)
}
}, 100)
});
;