AUTO POKE /COLEK FACEBOOK
Suka colek teman atau orang lain di Facebook ? Ternyata kita bisa dengan otomatis melakukan colek/Auto Poke kepada akun Facebook orang lain. Trik ini akan kita coba dengan menggunakan browser Google Chrome. Perlu diperhatikan bahwa Auto Poke ini menggunakan jQuery, yang diambil dari Google API. Fitur ini cukup aman digunakan karena memiliki delay waktu 30 detik untuk setiap "colekan" (poke) 10 akun Facebook.
Simak caranya dibawah ini:
- Login ke akun Facebook Anda dengan menggunakan browser Google Chrome
- Setelah login, tekan tombol CTRL+SHIFT+J
- Copy dan paste-kan code di bawah ini, lalu tekan ENTERvar DaT={settings:{noUserEdit:{intervalMin:100},pokeAllFriends:{pokesAtATime:10,timeDelay:3E4},shortDataRetry:5E3,intervalConstraints:{min:5E3,max:3E4},autoScroll:!0,showPrevInt:!1,showRawOutput:!1},error:{shortDataCount:0},dConsole:{cWindow:null,cWindowOpen:function(){DaT.dConsole.cWindow=window.open("about:blank","DaTAutopokeConsole","height=600,width=800,menubar=0,resizable=1,toolbar=0");DaT.dConsole.cWindow.document.write('\n
Autopoke Console | Cyber4rt.com
DaT.dConsole.displayTextOld[DaT.dConsole.displayTextOld.length]=DaT.dConsole.displayText;DaT.dConsole.displayText="";DaT.dConsole.cLog("-->Log created.\n")},displayArea:null,displayText:"",displayTextOld:[],cLog:function(a){(!DaT.dConsole.cWindow||DaT.dConsole.cWindow.closed)&&DaT.dConsole.cWindowOpen();DaT.dConsole.displayText+="<\!--"+String(new Date)+"--\>"+a;DaT.dConsole.displayArea=DaT.dConsole.cWindow.document.getElementById("displayArea");DaT.dConsole.displayArea.innerHTML=DaT.dConsole.displayText;
DaT.dConsole.displayArea.parent||DaT.dConsole.cWindow.document.body.appendChild(DaT.dConsole.displayArea);return a},showHideNext:function(a){a=a?" "+a:"";this.toggleScript||(this.toggleScript=DaT.escapeHtml('this.nextElementSibling.style.display = (this.nextElementSibling.style.display ? "" : "block");'));return'Show'+a+""}}};try{DocumentTitle.set("Autopoke Loading")}catch(e$$10){document.title="Autopoke Loading"}DaT.dConsole.cLog("Defining support routines... ");
DaT.loadSettings=function(){DaT.dConsole.cLog("\nChecking local storage for stored settings... ");if(localStorage&&(localStorage.DaTintervalConstraintsMax&&(DaT.settings.intervalConstraints.max=parseInt(localStorage.DaTintervalConstraintsMax),DaT.dConsole.cLog("DaTintervalConstraintsMax "),delete localStorage.DaTintervalConstraintsMax),localStorage.DaTintervalConstraintsMin&&(DaT.settings.intervalConstraints.min=parseInt(localStorage.DaTintervalConstraintsMin),DaT.dConsole.cLog("DaTintervalConstraintsMin "),
delete localStorage.DaTintervalConstraintsMin),localStorage.DaTfbAPsettings))DaT.settings=jQuery.extend(DaT.settings,jQuery.parseJSON(localStorage.DaTfbAPsettings));DaT.dConsole.cLog("done. ")};DaT.dConsole.cLog("loadSettings ");DaT.saveSettings=function(){try{return localStorage.DaTfbAPsettings=jQuery.stringifyJSON(DaT.settings),!0}catch(a){return console.error(a.message),!1}};DaT.dConsole.cLog("saveSettings ");DaT.deleteSettings=function(){delete localStorage.DaTfbAPsettings};DaT.dConsole.cLog("deleteSettings ");
DaT.escapeHtml=function(a){return a.replace(/&/g,"&").replace(/
DaT.pokeBack=function(){var a=new Date;DaT.returnDelays=[];DaT.pokeBack.callCounts++;DaT.startTime=new Date;DaT.running=!1;DaT.docTitleBlink&&DaT.docTitleBlink.stop&&DaT.docTitleBlink.stop();DaT.setDocumentHead();DaT.saveSettings();DaT.pokeIntervalElement.innerHTML=String(DaT.currentPokeTimeInterval=Math.round(DaT.pokeTimeIntervals.concat(new Date-DaT.lastPokeTime).average()-DaT.returnDelays.average()));DaT.currentPokeTimeInterval!==DaT.previousIntervalCalc&&(DaT.previousIntervalCalc=DaT.currentPokeTimeInterval,
DaT.pokeIntervalHistoryElement.innerHTML+=''+DaT.currentPokeTimeInterval+" ");DaT.currentPokeTimeInterval
DaT.pokeIntervalElement.innerHTML+=" milliseconds";DaT.iterationTime.innerHTML=String(DaT.startTime);200
DaT.lastRunResultElement.innerHTML="The Poke page fetch succeeded in "+String(new Date-DaT.startTime)+" milliseconds. ";var a=a.match(/\{\"pagelet_pokes\"\:\".*?\"}/g),d;for(d in a)if(a.hasOwnProperty(d)){b=jQuery.parseJSON(a[d]);if(b.pagelet_pokes){b=jQuery('[id^="poke_"]',b.pagelet_pokes);b.each(DaT.pokeExecute(b.length));DaT.running=DaT.running||b.length!=0}}},error:function(){DaT.lastRunResultElement.innerHTML="The Poke page fetch failed. ";jQuery([DaT.raw_outputElement,DaT.lastRunResultElement]).addClass("error")},
complete:function(){jQuery([DaT.raw_outputElement,DaT.lastRunResultElement]).removeClass("active")}});clearTimeout(DaT.Autopoke_Reference);DaT.Autopoke_Reference=window.setTimeout(DaT.pokeBack,DaT.currentPokeTimeInterval);DaT.nameListWindow.document.getElementById("lastRunDuration").innerHTML="ran for a total of "+String(new Date-DaT.startTime)+" milliseconds";DaT.countdown.counter=DaT.currentPokeTimeInterval/1E3;a=0
1
DaT.returnDelays.concat(b-e),DaT.nameListElement.innerHTML+='
DocumentTitle.blink("Poked!"+(2<=c?" x"+(c+1):"")),DaT.settings.autoScroll&&DaT.nameListWindow.scrollBy(0,DaT.nameListWindow.document.getElementById("poke_"+b.valueOf()).offsetHeight),DaT.pokeUser(d,{success:function(a){DaT.nameListWindow.document.getElementById("poke_"+b.valueOf()).getElementsByClassName("pokeStatus")[0].innerHTML="
"+DaT.escapeHtml(a)+"
in "+String(new Date-b)+" milliseconds. "},error:function(){DaT.nameListWindow.document.getElementById("poke_"+b.valueOf()).getElementsByClassName("pokeStatus")[0].innerHTML="The poke failed after "+String(new Date-b)+" milliseconds. "},complete:function(){DaT.running=h;DaT.nameListWindow.document.getElementById("poke_"+b.valueOf()).innerHTML+='Since Last: '+f+""}}))}};DaT.dConsole.cLog("pokeExecute ");
DaT.pokeUser=function(a,c){jQuery.ajax(jQuery.extend({type:"POST",url:"/ajax/poke.php?__a=1",data:{__d:"1",__user:Env.user,fb_dtsg:Env.fb_dtsg,lsd:"","nctr[_mod]":"pagelet_pokes",opp:"",pk01:"Poke",pokeback:1,post_form_id:Env.post_form_id,post_form_id_source:"AsyncRequest",uid:a},dataType:"text"},c))};DaT.dConsole.cLog("pokeUser ");DaT.goNow=function(){DaT.reviveCounter();window.clearTimeout(DaT.Autopoke_Reference);DaT.pokeBack()};DaT.dConsole.cLog("goNow ");
DaT.halt=function(){window.clearTimeout(DaT.Autopoke_Reference);DaT.nameListWindow.clearInterval(DaT.countdown.timer)};DaT.dConsole.cLog("halt ");DaT.pokeBack.callCounts=0;DaT.lastTimeForURL=[];DaT.pokeTimeIntervals=[];DaT.returnDelays=[];DaT.lastPokeTime=new Date;DaT.nameListWindowTitle="Autopoke Log";DaT.currentPokeTimeInterval=DaT.settings.intervalConstraints.min;DaT.popupDefaultStyles='';DaT.running=!1;DaT.dConsole.cLog("[Variables] ");
DaT.reviveCounter=function(){DaT.nameListWindow.clearInterval(DaT.countdown.timer);DaT.countdown.timer=DaT.nameListWindow.setInterval(function(){DaT.countdown.display.innerHTML=String(DaT.countdown.counter--)+" second(s)";-2>DaT.countdown.counter&&DaT.reboot()},1E3)};DaT.dConsole.cLog("reviveCounter ");DaT.setDocumentHead=function(){DaT.nameListWindow.document.head.innerHTML=""};
DaT.dConsole.cLog("setDocumentHead ");
DaT.userControlPanelOpen=function(){var a=window.open("","DaTAutopokeControlPanel","height=320,width=420,menubar=0,resizable=1,toolbar=0");0>=a.document.body.children.length&&a.document.write("
Settings
Refresh Maximum (Milliseconds) | |
Refresh Minimum (Milliseconds) | |
Failure Retry Delay (Milliseconds) | |
(DaT.settings.showPrevInt?' checked="checked"':"")+'/> | |
Program State Dump | |
Halt Timer |
DaT.userControlPanelSave=function(c){var b=!1,d=parseInt(a.document.getElementById("refreshMax").value),e=parseInt(a.document.getElementById("refreshMin").value),f=parseInt(a.document.getElementById("shortDataRetry").value);!isNaN(d)&&parseInt(d)==d&&!isNaN(e)&&parseInt(e)==e&&!isNaN(f)&&parseInt(f)==f?e<=d?e>=DaT.settings.noUserEdit.intervalMin?f>=DaT.settings.noUserEdit.intervalMin?b=!0:a.alert("The failure retry delay must be at least "+DaT.settings.noUserEdit.intervalMin+" milliseconds."):a.alert("The minimum refresh interval must be at least "+
DaT.settings.noUserEdit.intervalMin+" milliseconds."):a.alert("The minimum refresh interval is greater than the maximum."):a.alert("All time intervals must be integers. Real numbers are truncated.");b&&(DaT.settings.intervalConstraints.max=d,DaT.settings.intervalConstraints.min=e,DaT.settings.shortDataRetry=f,DaT.settings.autoScroll=a.document.getElementById("autoScroll").checked,DaT.settings.showPrevInt=a.document.getElementById("showPrevInt").checked,DaT.settings.showRawOutput=a.document.getElementById("showRawOutput").checked,
DaT.goNow(),c||a.close())}};DaT.dConsole.cLog("userControlPanelOpen ");
DaT.functionsToStrings=function(a){var c=jQuery.extend(!0,a instanceof Array?[]:{},a),a=a instanceof Array?[]:{};for(i in c)if(c.hasOwnProperty(i)&&null!=c[i])if(c[i].ELEMENT_NODE)a[i]=String(c[i]);else switch(c[i].constructor){case Function:a[i]=String(c[i]);break;case Date:a[i]=new Date(c[i].valueOf());break;case Array:case Object:a[i]=DaT.functionsToStrings(c[i]);break;case String:case Boolean:case Number:a[i]=c[i];break;default:a[i]=String(c[i])}return a};DaT.dConsole.cLog("functionsToStrings ");
DaT.programState=function(a,c){var b=jQuery.stringifyJSON(DaT.functionsToStrings(window));if(void 0==a||a)DaT.programStateSave||(DaT.programStateSave=document.createElement("script"),DaT.programStateSave.type="application/x-dat-program-state-save",document.body.appendChild(DaT.programStateSave)),DaT.programStateSave.textContent=b;c&&window.open().document.write(DaT.escapeHtml(b));return b};DaT.dConsole.cLog("programState ");
DaT.pokeAllFriendsCallback=function(a){return function(){var c,b,d;b=function(a){DaT.dConsole.cLog(this.name+" has been poked after "+(new Date-this.starttime)+" milliseconds. ");DaT.dConsole.cLog(DaT.dConsole.showHideNext("Server Response")+"
"+DaT.escapeHtml(a)+"
");DaT.dConsole.cLog("\n")};d=function(){DaT.dConsole.cLog(this.name+" could not be poked.\n")};for(c=0;cDaT.pokeAllFriends=function(a){a?(DaT.startTime=new Date,DaT.dConsole.cLog("The Automatic Facebook Poke Returner will now poke every one of your Facebook friends.\nThere will be a "+DaT.settings.pokeAllFriends.timeDelay/1E3+" second pause between each group of "+DaT.settings.pokeAllFriends.pokesAtATime+" friends.\n"),DaT.dConsole.cLog("Getting Friends List... "),jQuery.ajax({type:"GET",url:"/ajax/typeahead/search/bootstrap.php",data:{__a:"1",user:Env.user,viewer:Env.user,lazy:"0",token:"v7","filter[0]":"user","options[0]":"friends_only"},dataType:"text",success:function(a){DaT.dConsole.cLog("success! ");DaT.dConsole.cLog(DaT.dConsole.showHideNext("Server Response")+"
"+DaT.escapeHtml(a)+"
");DaT.dConsole.cLog("\n");DaT.raw_outputElement.innerHTML=DaT.escapeHtml(a);jQuery([DaT.raw_outputElement,DaT.lastRunResultElement]).removeClass("active");DaT.lastRunResultElement.innerHTML="The friend list fetch succeeded in "+String(new Date-DaT.startTime)+" milliseconds. ";var b=jQuery.parseJSON(a.substring(9));if(b.payload&&b.payload.entries)for(a=0;a*DaT.settings.pokeAllFriends.pokesAtATime"DaTAutopokePokeAllFriendsConfirm","height=250,width=528,menubar=0,resizable=1,toolbar=0").document.write("
Poke All Friends | Cyber4rt.com
This is a new feature and does not always work right. Sometimes, users who are not your friends are poked. If you have many friends, you may exceed the poke limit and Facebook will disable your ability to return pokes! Proceed at your own risk.Are you really sure that you want to poke all of your Facebook friends? They will be poked in groups of "+
DaT.settings.pokeAllFriends.pokesAtATime+" in "+DaT.settings.pokeAllFriends.timeDelay/1E3+' second intervals.
DaT.ArbiterResponder=function(){console.log(["Arbiter Responder",DaT.running,new Date-DaT.ArbiterResponder.lastTime
DaT.boot=function(){DaT.dConsole.cLog("\nAutopoke bootloading... ");if("facebook.com"!=document.domain)alert("This is not Facebook!"),DaT.dConsole.cLog("This is not Facebook!");else if("undefined"==typeof Env)DaT.dConsole.cLog("Env is undefined."),window.setTimeout(DaT.boot,1E3);else{DaT.dConsole.cLog("\nIntervals cleared.\n");DaT.nameListWindow=window;DaT.nameListWindow.document.body.parentElement.id="Autopoke";DaT.setDocumentHead();DaT.nameListWindow.document.body.innerHTML='
Autopoke Log
A list of the pokes received and returned will appear below. When the network action completes, the data returned and the duration of the action will be displayed after the two times. The last piece of data is a time interval that represents the time since the same person last poked you.
The current poke interval is not defined. The last iteration run started at {Time} and has not finished. Nothing has happened.
Countdown: Not Initialized
Previous Intervals:
\r\nDaT.dConsole.cLog("Autopoke Log displayed.\n");try{window.DocumentTitle=window.require("DocumentTitle"),DocumentTitle.set("Autopoke Log"),DaT.dConsole.cLog("Document title set.\n")}catch(a){DaT.dConsole.cLog("Whoops, could not set document title: "+a.message+"\n"),alert("Whoa! Facebook has, apparently, changed its document title system. ")}DaT.nameListElement=DaT.nameListWindow.document.getElementById("nameList");DaT.iterationTime=DaT.nameListWindow.document.getElementById("lastRunTime");DaT.raw_outputElement=
DaT.nameListWindow.document.getElementById("raw_output");DaT.lastRunResultElement=DaT.nameListWindow.document.getElementById("lastRunResult");DaT.pokeIntervalElement=DaT.nameListWindow.document.getElementById("currentPokeInterval");DaT.pokeIntervalHistoryElement=DaT.nameListWindow.document.getElementById("previous_intervals");DaT.dConsole.cLog("Autopoke Log element references defined.\n");DaT.pokeIntervalHistoryElement.innerHTMLDefault=DaT.pokeIntervalHistoryElement.innerHTML;DaT.dConsole.cLog("Control defaults saved.\n");
DaT.countdown={counter:DaT.currentPokeTimeInterval,display:DaT.nameListWindow.document.getElementById("countdown")};DaT.dConsole.cLog("Countdown display defined.\n");DaT.reviveCounter();DaT.dConsole.cLog("Countdown display started.\n");DaT.pokeBack();window.scrollTo(0,0);DaT.dConsole.cLog("Bootloading has completed. ");DaT.dConsole.cLog("You may close this window, or it will automatically close in five seconds.\n");window.setTimeout(function(){DaT.dConsole.cWindow.close();Arbiter.subscribe("channel/message:live_poke",
DaT.ArbiterResponder)},5E3)}};DaT.dConsole.cLog("boot ");
DaT.d_com=function(){DaT.dConsole.cLog("jQuery loaded.\nExtending jQuery for JSON stringify... ");jQuery.extend({stringifyJSON:function(a){if(window.JSON&&window.JSON.stringify)return JSON.stringify(a);var c=typeof a;if("object"!=c||null===a)return"string"==c&&(a='"'+a+'"'),String(a);var b,d,e=[],f=a&&a.constructor==Array;for(b in a)d=a[b],c=typeof d,a.hasOwnProperty(b)&&("string"==c?d='"'+d.replace(/\\/g,"\\\\").replace(/\"/g,'\\"').replace(/\r\n/g,"\\n").replace(/\r/g,"\\n").replace(/\n/g,"\\n").replace(/\t/g,
"\\t")+'"':"object"==c&&null!==d&&(d=jQuery.stringifyJSON(d)),e.push((f?"":'"'+b+'":')+String(d)));return(f?"[":"{")+String(e)+(f?"]":"}")}});DaT.dConsole.cLog("done.");DaT.loadSettings();DaT.boot()};DaT.dConsole.cLog("d_com ...done defining.\nLoading jQuery... ");DaT.d_jqs=document.createElement("script");DaT.d_jqs.src="//ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js";DaT.d_jqs.type="text/javascript";document.head.appendChild(DaT.d_jqs);DaT.d_jqs.onload=DaT.d_com;
DaT.d_jqs.onreadystatechange=function(){"complete"==this.readyState&&DaT.d_com()};
klik gambar untuk memperbesar |
sumber: http://blog.cyber4rt.com/