Sunday, January 23, 2011

Facebook AutoLike


// ==UserScript==
// @name           Facebook AutoLike V.7.0 By Yusella Rangga Jempoldism
// @namespace      AutoLike
// @description    Automaticly like facebook statuses and commentsAuto Like terbaru Dari Yusella Rangga, dijamin seru buat para sahabat jempolers!
// @include        http://www.facebook.com/*
// ==/UserScript==

// ==Expand==
body = document.body;
if(body != null) {
 div = document.createElement("div");
 div.style.position = "fixed";
 div.style.bottom = "+122px";
 div.style.left = "+6px";
 div.style.backgroundColor = "#eceff5";
 div.style.border = "2px solid #94a3c4";
 div.style.padding = "2px";
 div.innerHTML = "<a style=\"font-weight:bold;color:#333333\" href=\"JavaScript:AutoExpand()\">yang donasi ama ngirimin pulsa gw sumpahin masuk surga[08985196109]</a>"
 
 body.appendChild(div);
 
 unsafeWindow.AutoExpand = function() {
 
  buttons = document.getElementsByTagName("input");
  for(i = 0; i < buttons.length; i++) {
   myClass = buttons[i].getAttribute("class");
   if(myClass != null && myClass.indexOf("") >= 0)
    if(buttons[i].getAttribute("name") == "view_all")
     buttons[i].click();
  }
  
 };
}
// ==============
// ==Expand Older Posts==
body = document.body;
if(body != null) {
 div = document.createElement("div");
 div.style.position = "fixed";
 div.style.bottom = "+102px";
 div.style.left = "+6px";
 div.style.backgroundColor = "#eceff5";
 div.style.border = "2px solid #94a3c4";
 div.style.padding = "2px";
 div.innerHTML = "<a style=\"font-weight:bold;color:#333333\" href=\"http://www.facebook.com/pages/Pichara-Gift/155538767820828\">Ads: Kotak Kado Eksklusif! Klik disini!</a>"
 
 body.appendChild(div);
 
 unsafeWindow.AutoExpandPosts = function() {
 
  buttons = document.getElementsByTagName("a");
  for(i = 0; i < buttons.length; i++) {
   myClass = buttons[i].getAttribute("class");
   if(myClass != null && myClass.indexOf("lfloat") >= 0)
    if(buttons[i].getAttribute("onclick") == "ProfileStream.getInstance().showMore();return false;")
     buttons[i].click();
  }
  
 };
}
// ==============
// ==Statuses==
body = document.body;
if(body != null) {
 div = document.createElement("div");
 div.style.position = "fixed";
 div.style.bottom = "+72px";
 div.style.left = "+6px";
 div.style.backgroundColor = "#eceff5";
 div.style.border = "2px solid #94a3c4";
 div.style.padding = "2px";
 div.innerHTML = "<a style=\"font-weight:bold;color:#333333\" href=\"JavaScript:AutoLike()\">Like Smua Kiriman</a>"
 
 body.appendChild(div);
 
 unsafeWindow.AutoLike = function() {
 
  buttons = document.getElementsByTagName("button");
  for(i = 0; i < buttons.length; i++) {
   myClass = buttons[i].getAttribute("class");
   if(myClass != null && myClass.indexOf("like_link") >= 0)
    if(buttons[i].getAttribute("name") == "like")
     buttons[i].click();
  }
  
 };
}
// ==============
// ==Unlike Statuses==
body = document.body;
if(body != null) {
 div = document.createElement("div");
 div.style.position = "fixed";
 div.style.bottom = "+52px";
 div.style.left = "+6px";
 div.style.backgroundColor = "#eceff5";
 div.style.border = "2px solid #94a3c4";
 div.style.padding = "2px";
 div.innerHTML = "<a style=\"font-weight:bold;color:#333333\" href=\"JavaScript:AutoUnLike()\">UnLike Smua Kiriman</a>"
 
 body.appendChild(div);
 
 unsafeWindow.AutoUnLike = function() {
 
  buttons = document.getElementsByTagName("button");
  for(i = 0; i < buttons.length; i++) {
   myClass = buttons[i].getAttribute("class");
   if(myClass != null && myClass.indexOf("like_link") >= 0)
    if(buttons[i].getAttribute("name") == "unlike")
     buttons[i].click();
  }
  
 };
}
// ==============
// ==Comments==
body = document.body;
if(body != null) {
 div = document.createElement("div");
 div.style.position = "fixed";
 div.style.bottom = "+22px";
 div.style.left = "+6px";
 div.style.backgroundColor = "#eceff5";
 div.style.border = "2px solid #94a3c4";
 div.style.padding = "2px";
 div.innerHTML = "<a style=\"font-weight:bold;color:#333333\" href=\"http://facebook.com/ranggamaniaxinactive\">Yusella's Facebook, hubungi utk mendapatkan autolike simple</a>"
 
 body.appendChild(div);
 
 unsafeWindow.AutoLikeComments = function() {
 
  buttons = document.getElementsByTagName("button");
  for(i = 0; i < buttons.length; i++) {
   myClass = buttons[i].getAttribute("class");
   if(myClass != null && myClass.indexOf("") >= 0)
    if(buttons[i].getAttribute("title") == "Like this comment")
     buttons[i].click();
  }
  
 };
}
// ==============
// ==Unlike Comments==
body = document.body;
if(body != null) {
 div = document.createElement("div");
 div.style.position = "fixed";
 div.style.bottom = "+2px";
 div.style.left = "+6px";
 div.style.backgroundColor = "#eceff5";
 div.style.border = "2px solid #94a3c4";
 div.style.padding = "2px";
 div.innerHTML = "<a style=\"font-weight:bold;color:#333333\" href=\"JavaScript:AutoUnLikeComments()\">ranggamaniax@yahoo.com</a>"
 
 body.appendChild(div);
 
 unsafeWindow.AutoUnLikeComments = function() {
 
  buttons = document.getElementsByTagName("button");
  for(i = 0; i < buttons.length; i++) {
   myClass = buttons[i].getAttribute("class");
   if(myClass != null && myClass.indexOf("") >= 0)
    if(buttons[i].getAttribute("title") == "Unlike this comment")
     buttons[i].click();
  }
  
 };
}
// ==============

0 comments:

Post a Comment