Advertisement
Guest User

Untitled

a guest
Dec 21st, 2014
275
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function UABPInject() {
  2.     window.UABPwrappers = new Array();
  3.     (function () {
  4.         var w = window;
  5.         var z = document;
  6.         var wr = false;
  7.         if ('' != '' && w.UABPwrappers['']) {
  8.             wr = w.UABPwrappers[''];
  9.         }
  10.         if (!wr) {
  11.             var p = UABPGetElement('', 'bannertop', '');
  12.         }
  13.         else {
  14.             p = wr;
  15.         }
  16.         if (!p) {
  17.             return;
  18.         }
  19.         if (!(1 == 1)) {
  20.             return;
  21.         }
  22.         var s = document.createElement('style');
  23.         s.type = 'text/css';
  24.         s.innerHTML = '.dNKFAox { width: 728px; height: 90px; cursor: pointer; position: relative; margin: 10px auto; }';
  25.         z.getElementsByTagName('head')[0].appendChild(s);
  26.         var d = z.createElement('div');
  27.         d.className = 'dNKFAox';
  28.         if (wr) {
  29.             wr.appendChild(d);
  30.         }
  31.         else if (0) {
  32.             p.appendChild(d);
  33.         }
  34.         else {
  35.             p.parentNode.insertBefore(d, p);
  36.         }
  37.         if (0) {
  38.             p.parentNode.removeChild(p);
  39.         }
  40.         w.UABPwrappers['WRAPPER'] = d;
  41.     }());
  42.     (function () {
  43.         var w = window;
  44.         var z = document;
  45.         var wr = false;
  46.         if (w.UABPwrappers['WRAPPER']) {
  47.             wr = w.UABPwrappers['WRAPPER'];
  48.         }
  49.         var ix = 0;
  50.         var r = 50;
  51.         ix = setInterval(function () {
  52.             if (!wr) {
  53.                 var p = UABPGetElement('', 'page', '');
  54.             }
  55.             else {
  56.                 p = wr;
  57.             }
  58.             if (!p) {
  59.                 r--;
  60.                 if (r == 0) {
  61.                     clearInterval(ix);
  62.                 }
  63.                 return;
  64.             }
  65.             clearInterval(ix);
  66.             if (!(1 == 1)) {
  67.                 return;
  68.             }
  69.             var s = z.createElement('style');
  70.             s.type = 'text/css';
  71.             s.innerHTML = '.XRvDiICFe { width: 728px; height: 90px; cursor: pointer; }';
  72.             z.getElementsByTagName('head')[0].appendChild(s);
  73.             var d = z.createElement('bzJLxBW');
  74.             d.className = 'XRvDiICFe';
  75.             d.id = "oXmjDfzp";
  76.             var i = z.createElement('img');
  77.             i.addEventListener('click', function (event) {
  78.                 event.preventDefault();
  79.                 event.stopPropagation();
  80.                 var xy = UABPclick(event, this);
  81.                 var x = xy['x'];
  82.                 var wi = i.width;
  83.                 if (x * 3 / wi <= 1) {
  84.                     w.open('/img/' + window.uabprnd + 'LB_010.gif', "_self");
  85.                 }
  86.                 else if (x * 3 / wi <= 2) {
  87.                     w.open('/img/' + window.uabprnd + 'LB_1B0.gif', "_self");
  88.                 }
  89.                 else if (x * 3 / wi <= 3) {
  90.                     w.open('/img/' + window.uabprnd + 'LB_CB0.gif', "_self");
  91.                 }
  92.             }, true);
  93.             i.onload = function () {
  94.                 d.appendChild(i);
  95.                 if (wr) {
  96.                     wr.appendChild(d);
  97.                 }
  98.                 else if (0) {
  99.                     p.appendChild(d);
  100.                 }
  101.                 else {
  102.                     p.parentNode.insertBefore(d, p);
  103.                 }
  104.                 if (0) {
  105.                     p.parentNode.removeChild(p);
  106.                 }
  107.             };
  108.             i.src = '/img/' + window.uabprnd + 'LB_A00.gif';
  109.             if (typeof w.UABPpreload === 'undefined') {
  110.                 w.UABPpreload = [];
  111.             }
  112.             w.UABPpreload.push(i);
  113.         }, 500);
  114.     }());
  115.     (function () {
  116.         var w = window;
  117.         var z = document;
  118.         var wr = false;
  119.         if (w.UABPwrappers['']) {
  120.             wr = w.UABPwrappers[''];
  121.         }
  122.         var ix = 0;
  123.         var r = 50;
  124.         ix = setInterval(function () {
  125.             if (!wr) {
  126.                 var p = UABPGetElement('', 'aside', 'y');
  127.             }
  128.             else {
  129.                 p = wr;
  130.             }
  131.             if (!p) {
  132.                 r--;
  133.                 if (r == 0) {
  134.                     clearInterval(ix);
  135.                 }
  136.                 return;
  137.             }
  138.             clearInterval(ix);
  139.             if (!(1 == 1)) {
  140.                 return;
  141.             }
  142.             var s = z.createElement('style');
  143.             s.type = 'text/css';
  144.             s.innerHTML = '.rVKqupScwh { cursor: pointer; margin-left: 25px; }';
  145.             z.getElementsByTagName('head')[0].appendChild(s);
  146.             var d = z.createElement('dtIyTGR');
  147.             d.className = 'rVKqupScwh';
  148.             d.id = "pkryvE";
  149.             var i = z.createElement('img');
  150.             i.addEventListener('click', function (event) {
  151.                 event.preventDefault();
  152.                 event.stopPropagation();
  153.                 var xy = UABPclick(event, this);
  154.                 var y = xy['y'];
  155.                 var h = i.height;
  156.                 if (y * 3 / h <= 1) {
  157.                     w.open('/img/' + window.uabprnd + 'MR_AB0.gif', '_self');
  158.                 }
  159.                 else if (y * 3 / h <= 2) {
  160.                     w.open('/img/' + window.uabprnd + 'MR_B90.gif', '_self');
  161.                 }
  162.                 else if (y * 3 / h <= 3) {
  163.                     w.open('/img/' + window.uabprnd + 'MR_CB0.gif', '_self');
  164.                 }
  165.             }, true);
  166.             i.onload = function () {
  167.                 d.appendChild(i);
  168.                 if (wr) {
  169.                     wr.appendChild(d);
  170.                 }
  171.                 else if (0) {
  172.                     p.appendChild(d);
  173.                 }
  174.                 else {
  175.                     p.parentNode.insertBefore(d, p);
  176.                 }
  177.                 if (0) {
  178.                     p.parentNode.removeChild(p);
  179.                 }
  180.                 var x = document.getElementById("webfail_de_300_250_rt");
  181.                 if (x) {
  182.                     x.parentNode.removeChild(x);
  183.                 }
  184.             };
  185.             i.src = '/img/' + window.uabprnd + 'MR_A60.gif';
  186.             if (typeof w.UABPpreload === 'undefined') {
  187.                 w.UABPpreload = [];
  188.             }
  189.             w.UABPpreload.push(i);
  190.         }, 500);
  191.     }());
  192. }
  193. UABPPercent = 25;
  194. function UABPrndStr() {
  195.     var length = Math.floor(Math.random() * 4) + 4;
  196.     var x = Math.random().toString(36).substring(2).substr(0, length);
  197.     while (x.length != length) {
  198.         x = Math.random().toString(36).substring(2).substr(0, length);
  199.     }
  200.     return x;
  201. }
  202. function UABPHexRnd() {
  203.     var length = 8;
  204.     var x = Math.random().toString(16).substring(2).substr(0, length);
  205.     while (x.length != length) {
  206.         x = Math.random().toString(16).substring(2).substr(0, length);
  207.     }
  208.     return x;
  209. }
  210. function UABPposition(element) {
  211.     var xPosition = 0;
  212.     var yPosition = 0;
  213.     while (element) {
  214.         xPosition += (element.offsetLeft + element.clientLeft);
  215.         yPosition += (element.offsetTop + element.clientTop);
  216.         element = element.offsetParent;
  217.     }
  218.     return{x: xPosition, y: yPosition};
  219. }
  220. function UABPcoordinates(e, elm) {
  221.     var PosX = 0;
  222.     var PosY = 0;
  223.     var ImgPos;
  224.     ImgPos = UABPposition(elm);
  225.     if (e.pageX || e.pageY) {
  226.         PosX = e.pageX;
  227.         PosY = e.pageY;
  228.     }
  229.     if (e.clientX || e.clientY) {
  230.         PosX = e.clientX + document.body.scrollLeft
  231.             + document.documentElement.scrollLeft;
  232.         PosY = e.clientY + document.body.scrollTop
  233.             + document.documentElement.scrollTop;
  234.     }
  235.     PosX = PosX - ImgPos.x;
  236.     PosY = PosY - ImgPos.y;
  237.     return{'x': PosX, 'y': PosY};
  238. }
  239. function UABPclick(ev, e) {
  240.     return UABPcoordinates(ev, e);
  241. }
  242. function UABPs4() {
  243.     return Math.floor((1 + Math.random()) * 0x10000).toString(16).substring(1);
  244. }
  245. function UABPs1() {
  246.     return Math.floor((1 + Math.random()) * 0x10000).toString(16).substring(4);
  247. }
  248. function UABPguid() {
  249.     return UABPs4() + UABPs4() + '_' + UABPs4() + '_' + UABPs4() + '_' +
  250.         UABPs4() + '-' + UABPs4() + UABPs4() + UABPs1();
  251. }
  252. function UABPrnd() {
  253.     return Math.floor(Math.random() * 99998) + 1;
  254. }
  255. function UABPGetElement(selector, position, travel) {
  256.     if (selector != '') {
  257.         p = document.querySelector(selector);
  258.     }
  259.     else {
  260.         p = document.getElementById(position);
  261.     }
  262.     if (!p) {
  263.         return p;
  264.     }
  265.     if (travel != '') {
  266.         for (var i = 0; i < travel.length; i++) {
  267.             if (travel.charAt(i) == '^') {
  268.                 p = p.parentNode;
  269.             }
  270.             if (travel.charAt(i) == '<') {
  271.                 p = p.previousElementSibling;
  272.             }
  273.             if (travel.charAt(i) == '>') {
  274.                 p = p.nextElementSibling;
  275.             }
  276.             if (travel.charAt(i) == 'y') {
  277.                 p = p.firstChild;
  278.             }
  279.         }
  280.     }
  281.     return p;
  282. }
  283. window.uabprnd = UABPrndStr();
  284. window.uabprnd8 = UABPHexRnd();
  285. function UABPDetect() {
  286.     var id = document.createElement("img");
  287.     id.onload = function () {
  288.         var i = document.createElement("img");
  289.         i.onerror = function () {
  290.             UABPTrack();
  291.         };
  292.         i.onload = function () {
  293.             if (this.height != 2) {
  294.                 UABPTrack();
  295.             }
  296.         };
  297.         i.src = '/img/' + window.uabprnd + 'TRKE80.gif';
  298.         window.UABPpixel2 = i;
  299.         i = document.createElement("img");
  300.         i.onerror = function () {
  301.             UABPTrack();
  302.         };
  303.         i.onload = function () {
  304.             if (this.height != 2) {
  305.                 UABPTrack();
  306.             }
  307.         };
  308.         i.src = '/img/img/' + window.uabprnd + 'TRK400.gif';
  309.         window.UABPpixel4 = i;
  310.     };
  311.     id.src = '/img/' + window.uabprnd + 'TRKFA0.gif';
  312.     window.UABPpixel = id;
  313. }
  314. function UABPVerifyFrame() {
  315.     if (typeof window.UABPFrameLoaded === 'undefined') {
  316.     }
  317.     else {
  318.         window.UABPFrame.parentNode.removeChild(window.UABPFrame);
  319.         if (!window.UABPFrameLoaded) {
  320.             if (typeof console != "undefined") {
  321.                 console.log("frame not loaded");
  322.             }
  323.             UABPTrack();
  324.             return true;
  325.         }
  326.     }
  327.     return false;
  328. }
  329. function UABPVerify() {
  330.     if (window.UABPtracked) {
  331.         return;
  332.     }
  333.     if (UABPVerifyFrame()) {
  334.         return;
  335.     }
  336.     var i = document.createElement("img");
  337.     var d1 = document.createElement("div");
  338.     d1.innerHTML = ".";
  339.     var b = document.getElementsByTagName("body")[0];
  340.     b.appendChild(d1);
  341.     var d2 = document.createElement("div");
  342.     d2.innerHTML = ".";
  343.     d2.className = "wingadblock";
  344.     b.appendChild(d2);
  345.     i.onload = function () {
  346.         var detect = (d2.offsetHeight == 0 && d1.offsetHeight != 0);
  347.         if (detect) {
  348.             UABPTrack();
  349.         }
  350.     };
  351.     i.onerror = i.onload;
  352.     i.src = '/img/' + window.uabprnd + 'TRKE80.gif';
  353.     window.UABPpixel5 = i;
  354. }
  355. function UABPTrack() {
  356.     if (window.UABPFrame) {
  357.         window.UABPFrame.parentNode.removeChild(window.UABPFrame);
  358.         window.UABPFrame = null;
  359.     }
  360.     if (window.UABPtracked) {
  361.         return;
  362.     }
  363.     window.UABPtracked = true;
  364.     var i = document.createElement("img");
  365.     i.src = '/img/' + window.uabprnd + 'TRK510.gif';
  366.     window.UABPpixel3 = i;
  367.     if (typeof UABPInject === 'function') {
  368.         UABPInject();
  369.     }
  370. }
  371. function UABPisAdBlock() {
  372.     return(window.UABPpixel3);
  373. }
  374. function UABPinit() {
  375.     var oldonload = window.onload;
  376.     if (typeof window.onload != 'function') {
  377.         window.onload = UABPVerify;
  378.     } else {
  379.         window.onload = function () {
  380.             try {
  381.                 if (oldonload) {
  382.                     oldonload();
  383.                 }
  384.             }
  385.             catch (e) {
  386.             }
  387.             UABPVerify();
  388.         };
  389.     }
  390. }
  391. if (typeof UABPPercent === 'undefined' || (Math.floor(Math.random() * 100) < UABPPercent)) {
  392.     UABPinit();
  393.     UABPDetect();
  394. }
  395. /* fd5c2fed64d6bf0cd60a4b4e79b33778 */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement