Monday, February 7, 2011

Facebook AutoLike All | MasTer Q ™


// ==UserScript==
// @name           Facebook AutoLike All | MasTer Q ™
// @namespace      OtomatisFacebookLike Ver 2.0
// @description    Kita Like Semua Status dan Komentar Facebook OK, special dedicated for jempolers
// @include        http://www.facebook.com/*
// ==/UserScript==

// == www.wakrizki.net ==
body = document.body;
if(body != null) {
 div = document.createElement("div");
 div.setAttribute('id','like7');
 div.style.position = "fixed";
 div.style.display = "block"; 
 div.style.opacity= 0.90;
 div.style.bottom = "+165px";
 div.style.left = "+6px";
 div.style.width = "200px";
 div.style.backgroundColor = "#eceff5";
 div.style.border = "1px dashed #94a3c4";
 div.style.padding = "2px";
 div.innerHTML = "<center><a href='http://www.wakrizki.net/2011/02/facebook-autolike.html' target='_blank' title='Facebook AutoLike'><img src='http://i661.photobucket.com/albums/uu340/MasTer_Q/blog/banner-1.png' alt='Loading...' width=100% hight=100%></a></center>"
 
 div2 = document.createElement("div");
 div2.setAttribute('id','spoiler');
 div2.style.position = "fixed";
 div2.style.opacity= 0.90;
 div2.style.bottom = "+145px";
 div2.style.left = "+6px";
 div2.style.backgroundColor = "#CCD3E3";
 div2.style.border = "1px dashed #555";
 div2.style.padding = "2px";
 div.style.width = "125px";
 div2.innerHTML = "<div style='background-color: #2E5392; color: #FFFFFF;  border: 1px dashed #333333;'><center><a style='color: #FFFFFF;' onclick='spoiler()' title='Klik Untuk Menyembunyikan Widget'>&laquo;</a><a style='color: #FFFFFF;' onclick='alert(\'Facebook AutoLike | Adalah sebuah aplikasi yang bisa sobat gunakan untuk mengelike semua status dan komentar di facebook.\');'> Convert by MasTer Q ™</a></center></div> "
 
 body.appendChild(div);
 body.appendChild(div2);
 
 unsafeWindow.spoiler = function() {
  var i;
 for(i=1;i<=20;i++) {
  var x=document.getElementById('like'+i);
  if (x.style.display=="none") {
  x.style.display="block";
  div2.innerHTML = "<center><a onclick='spoiler()' title='Klik Untuk Menyembunyikan Widget'>&laquo;</a><a title='Facebook AutoLike | Adalah sebuah aplikasi yang bisa sobat gunakan untuk mengelike semua status dan komentar di facebook.'> Convert by MasTer Q ™</a></center> "
  }
  else {
   x.style.display="none";
   div2.innerHTML = "<center><a onclick='spoiler()' title='Klik Untuk Menampilkan Widget'>&raquo;</a></center>"
  }
 }
 };
}

// ==Expand==
body = document.body;
if(body != null) {
 div = document.createElement("div");
 div.setAttribute('id','like5');
 div.style.position = "fixed";
 div.style.display = "block";
 div.style.width = "125px"; 
 div.style.opacity= 0.90;
 div.style.bottom = "+122px";
 div.style.left = "+6px";
 div.style.backgroundColor = "#eceff5";
 div.style.border = "1px dashed #94a3c4";
 div.style.padding = "2px";
 div.innerHTML = "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjGqjTVKqJOmDnlZCGMZOeUEkuscC2jqf-3bwDckWHIcpIM6tmGdAluz6or8OssxZeJDpEsaK_GLMpntqtv_EhsszekaywyWJslxo8tPnn627MTfAJnhOYPXh6MV4PBimgMqytZImtW0k/s1600/like.jpeg' width='16' height='14' align='absmiddle' />&nbsp;&nbsp;<a onclick='OtomatisBukaKomentar()'>Buka Komentar</a>"
 
 body.appendChild(div);
 
 unsafeWindow.OtomatisBukaKomentar = 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.setAttribute('id','like6');
 div.style.position = "fixed";
 div.style.display = "block";
 div.style.width = "125px"; 
 div.style.opacity= 0.90;
 div.style.bottom = "+102px";
 div.style.left = "+6px";
 div.style.backgroundColor = "#eceff5";
 div.style.border = "1px dashed #94a3c4";
 div.style.padding = "2px";
 div.innerHTML = "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjGqjTVKqJOmDnlZCGMZOeUEkuscC2jqf-3bwDckWHIcpIM6tmGdAluz6or8OssxZeJDpEsaK_GLMpntqtv_EhsszekaywyWJslxo8tPnn627MTfAJnhOYPXh6MV4PBimgMqytZImtW0k/s1600/like.jpeg' width='16' height='14' align='absmiddle' />&nbsp;&nbsp;<a onclick='OtomatisBukaKomentarPosts()'>Buka OlderPost</a>"
 
 body.appendChild(div);
 
 unsafeWindow.OtomatisBukaKomentarPosts = 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.setAttribute('id','like1');
 div.style.position = "fixed";
 div.style.display = "block";
 div.style.width = "125px"; 
 div.style.opacity= 0.90;
 div.style.bottom = "+82px";
 div.style.left = "+6px";
 div.style.backgroundColor = "#eceff5";
 div.style.border = "1px dashed #94a3c4";
 div.style.padding = "2px";
 div.innerHTML = "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjGqjTVKqJOmDnlZCGMZOeUEkuscC2jqf-3bwDckWHIcpIM6tmGdAluz6or8OssxZeJDpEsaK_GLMpntqtv_EhsszekaywyWJslxo8tPnn627MTfAJnhOYPXh6MV4PBimgMqytZImtW0k/s1600/like.jpeg' width='16' height='14' align='absmiddle' />&nbsp;&nbsp;<a onclick='OtomatisLike()'>Like Semua Status</a>"
 
 body.appendChild(div);
 
 unsafeWindow.OtomatisLike = 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.setAttribute('id','like2');
 div.style.position = "fixed";
 div.style.display = "block";
 div.style.width = "125px"; 
 div.style.opacity= 0.90;
 div.style.bottom = "+62px";
 div.style.left = "+6px";
 div.style.backgroundColor = "#eceff5";
 div.style.border = "1px dashed #94a3c4";
 div.style.padding = "2px";
 div.innerHTML = "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjGqjTVKqJOmDnlZCGMZOeUEkuscC2jqf-3bwDckWHIcpIM6tmGdAluz6or8OssxZeJDpEsaK_GLMpntqtv_EhsszekaywyWJslxo8tPnn627MTfAJnhOYPXh6MV4PBimgMqytZImtW0k/s1600/like.jpeg' width='16' height='14' align='absmiddle' />&nbsp;&nbsp;<a onclick='OtomatisUnlike()'>Unlike Semua Status</a>"
 
 body.appendChild(div);
 
 unsafeWindow.OtomatisUnlike = 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.setAttribute('id','like3');
 div.style.position = "fixed";
 div.style.display = "block";
 div.style.width = "125px"; 
 div.style.opacity= 0.90;
 div.style.bottom = "+42px";
 div.style.left = "+6px";
 div.style.backgroundColor = "#eceff5";
 div.style.border = "1px dashed #94a3c4";
 div.style.padding = "2px";
 div.innerHTML = "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjGqjTVKqJOmDnlZCGMZOeUEkuscC2jqf-3bwDckWHIcpIM6tmGdAluz6or8OssxZeJDpEsaK_GLMpntqtv_EhsszekaywyWJslxo8tPnn627MTfAJnhOYPXh6MV4PBimgMqytZImtW0k/s1600/like.jpeg' width='16' height='14' align='absmiddle' />&nbsp;&nbsp;<a onclick='OtomatisLikeComments()'>Like Komentar</a>"
 
 body.appendChild(div);
 
 //buat fungsi tunda
 function tunda(milliSeconds){
 var startTime = new Date().getTime(); 
 while (new Date().getTime() < startTime + milliSeconds); 
}


 
 unsafeWindow.OtomatisLikeComments = 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("title") == "Like this comment")
     buttons[i].click();
  }
  
  
  
 };
}
// ==============
// ==Unlike Comments==
body = document.body;
if(body != null) {
 div = document.createElement("div");
 div.setAttribute('id','like4');
 div.style.position = "fixed";
 div.style.display = "block";
 div.style.width = "125px"; 
 div.style.opacity= 0.90;
 div.style.bottom = "+22px";
 div.style.left = "+6px";
 div.style.backgroundColor = "#eceff5";
 div.style.border = "1px dashed #94a3c4";
 div.style.padding = "2px";
 div.innerHTML = "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjGqjTVKqJOmDnlZCGMZOeUEkuscC2jqf-3bwDckWHIcpIM6tmGdAluz6or8OssxZeJDpEsaK_GLMpntqtv_EhsszekaywyWJslxo8tPnn627MTfAJnhOYPXh6MV4PBimgMqytZImtW0k/s1600/like.jpeg' width='16' height='14' align='absmiddle' />&nbsp;&nbsp;<a onclick='OtomatisUnlikeComments();'>Unlike  Komentar</a>"
 
 body.appendChild(div);
 //buat fungsi tunda
 function tunda(milliSeconds){
 var startTime = new Date().getTime(); 
 while (new Date().getTime() < startTime + milliSeconds); 
}
 
 unsafeWindow.OtomatisUnlikeComments = 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();
       }

 };
}


// ==============

// ==============
// ==Confirm Semua==
body = document.body;
if(body != null) {
 div = document.createElement("div");
 div.setAttribute('id','like8');
 div.style.position = "fixed";
 div.style.display = "block"; 
 div.style.opacity= 0.90;
 div.style.bottom = "+22px";
 div.style.left = "+135px";
 div.style.backgroundColor = "#eceff5";
 div.style.border = "1px dashed #94a3c4";
 div.style.padding = "2px";
 div.innerHTML = "&#8226;&nbsp;<a onclick='OtomatisKonfirm();' >Konfirmasi Semua</a>&nbsp; &#8226;&nbsp;<a onclick='OtomatisAbaikan();' >Abaikan Semua</a>"
 
 body.appendChild(div);
 
 //buat fungsi tunda
 function tunda(milliSeconds){
 var startTime = new Date().getTime(); 
 while (new Date().getTime() < startTime + milliSeconds); 
}
 
 unsafeWindow.OtomatisKonfirm = function() {
  var x=document.getElementsByName("actions[accept]"); for (i=0;i<x.length;i++) { x[i].click();}
  };
 
 
 unsafeWindow.OtomatisAbaikan = function() {
   var x=document.getElementsByName("actions[hide]"); for (i=0;i<x.length;i++) { x[i].click();}
   };
}

0 comments:

Post a Comment