Facebook Autolike

auto facebook like<br>this script like first 60 post in your wall in facebook, its liking post with random time , so facebook cant detect you as spam<br><br><a href="http://silverboy.ir" rel="nofollow">http://silverboy.ir</a>

  1. // ==UserScript==
  2. // @name Facebook Autolike
  3. // @namespace http://silverboy.ir
  4. // @description auto facebook like<br>this script like first 60 post in your wall in facebook, its liking post with random time , so facebook cant detect you as spam<br><br><a href="http://silverboy.ir" rel="nofollow">http://silverboy.ir</a>
  5. // @include /^https?://www\.facebook\.com/.*$/
  6. // @require http://code.jquery.com/jquery-1.8.0.min.js
  7. // @grant none
  8. // @version 0.0.1.20150114051653
  9. // ==/UserScript==
  10. jQuery.noConflict();
  11. var autolikeLiked = 0;
  12. var autolikeTimeout = false;
  13. var autolikeArray = Array(3000, 2000, 4000, 1500,3000, 2000, 4000, 1500,3000, 2000, 4000, 1500);
  14. function autolikeFunc(){
  15. if(autolikeLiked == 60)
  16. return false;
  17. if(jQuery('.UFILikeLink').length > 0 && jQuery('button[name="like"]').length == 0)
  18. {
  19. jQuery('.UFILikeLink').each(function(){
  20. if(jQuery(this).text() == 'Like' && jQuery(this).attr('title') != 'Like this comment')
  21. {
  22. jQuery(this).removeAttr('href');
  23. jQuery(this)[0].click();
  24. var num = Math.floor((Math.random()*10)+1);
  25. clearTimeout(autolikeTimeout);
  26. var autolikeArray = Array(3000, 2000, 4000, 1500,3000, 2000, 4000, 1500,3000, 2000, 4000, 1500);
  27. setTimeout(autolikeFunc, autolikeArray[num])
  28. autolikeLiked++;
  29. return false;
  30. }
  31. else
  32. {
  33. if(autolikeTimeout != false)
  34. clearTimeout(autolikeTimeout);
  35. autolikeTimeout = setTimeout(autolikeFunc, 15000);
  36. }
  37. })
  38. }
  39. else {
  40. if(jQuery('button[name="like"]').length == 0)
  41. {
  42. if(autolikeTimeout != false)
  43. clearTimeout(autolikeTimeout);
  44. autolikeTimeout = setTimeout(autolikeFunc, 15000);
  45. return false;
  46. }
  47. jQuery('button[name="like"]').each(function(){
  48. jQuery(this).click();
  49. var num = Math.floor((Math.random()*10)+1);
  50. clearTimeout(autolikeTimeout);
  51.  
  52. setTimeout(autolikeFunc, autolikeArray[num])
  53. autolikeLiked++;
  54. return false;
  55. })
  56. }
  57. }
  58. if(location.href == 'http://facebook.com' || location.href == 'https://facebook.com'
  59. || location.href == 'http://www.facebook.com' || location.href == 'https://www.facebook.com'
  60. || location.href == 'http://www.facebook.com/' || location.href == 'https://www.facebook.com/')
  61. autolikeFunc();
  62. else {
  63. var div = document.createElement('div');
  64. jQuery(div).html('Do you Want To Like All Post In This Page?').css({
  65. width : '290px',
  66. height : '16px',
  67. position : 'absolute',
  68. top : '0px',
  69. left : '600px',
  70. border : '1px dotted silver',
  71. padding : '15px 5px 5px',
  72. background : 'rgba(255, 255, 255, 0.6)',
  73. textAlign : 'center'
  74. }).appendTo('#blueBar');
  75. var yes = document.createElement('a');
  76. var no = document.createElement('a');
  77. jQuery(yes).html(' Yes ').attr('href', 'javascript:void(0)').appendTo(div).click(function(){
  78. autolikeFunc()
  79. jQuery(div).hide();
  80. }).addClass('uiButton').css('border-radius', '3px');
  81. jQuery(no).html(' No ').attr('href', 'javascript:void(0)').appendTo(div).click(function(){
  82. jQuery(div).hide();
  83. }).addClass('uiButton').css('border-radius', '3px');
  84. }
  85. //autolikeFunc();