Greasy Fork is available in English.

Auto Join Group Facebook

Join Grup Otomatis

  1. // ==UserScript==
  2. // @name Auto Join Group Facebook
  3. // @namespace Auto Join Group Facebook ver.1.0
  4. // @description Join Grup Otomatis
  5. // @author 13470X (http://www.facebook.com/erwin.dimitri)
  6. // @icon http://profile.ak.fbcdn.net/hprofile-ak-snc4/211212_123119524438901_2557853_n.jpg
  7. // @include http://www.facebook.com/*
  8. // @include https://www.facebook.com/*
  9. // @exclude htt*://developers.facebook.com/*
  10. //
  11. // Copyright (c) 2015, 13470X
  12. // Auto Join Group Function.
  13. // @version 0.0.1.20151019192131
  14. // ==/UserScript==
  15.  
  16. // ==13470X==
  17. body = document.body;
  18. if(body != null) {
  19. div = document.createElement("div");
  20. div.setAttribute('id','like5');
  21. div.style.position = "fixed";
  22. div.style.display = "block";
  23. div.style.width = "125px";
  24. div.style.opacity= 0.80;
  25. div.style.bottom = "+50px";
  26. div.style.left = "+6px";
  27. div.style.backgroundColor = "#eceff5";
  28. div.style.border = "1px dashed #94a3c4";
  29. div.style.padding = "2px";
  30. div.innerHTML = "<center><a href='http://www.facebook.com/erwin.dimitri'><img src='https://pbs.twimg.com/profile_images/502451294137618432/effnuCCh_400x400.jpeg' alt='Sabar...' width=126 hight=100</a></center>"
  31. div2 = document.createElement("div");
  32. div2.setAttribute('id','spoiler');
  33. div2.style.position = "fixed";
  34. div2.style.opacity= 0.90;
  35. div2.style.bottom = "+155px";
  36. div2.style.left = "+6px";
  37. div2.style.backgroundColor = "#CCD3E3";
  38. div2.style.border = "1px dashed #555";
  39. div2.style.padding = "2px";
  40. div.style.width = "125px";
  41. div2.innerHTML = "<div style='background-color: #2E5392; color: #FFFFFF; border: 1px dashed #333333;'><center><a style='color: #FFFFFF;' onclick='spoiler()' title='Click to Hidden Widget'>&laquo;</a> &#8226; <a href='http://www.facebook.com/erwin.dimitri' style='color: #FFFFFF;' onclick='alert(\'Thanks for instal this script\');'>Auto Join Group</a></center></div> "
  42. div3 = document.createElement("div");
  43. div3.setAttribute('id','spoiler');
  44. div3.style.position = "fixed";
  45. div3.style.opacity= 0.90;
  46. div3.style.bottom = "+130px";
  47. div3.style.left = "+6px";
  48. div3.style.backgroundColor = "#CCD3E3";
  49. div3.style.border = "1px dashed #555";
  50. div3.style.padding = "2px";
  51. div.style.width = "125px";
  52. div3.innerHTML = "<div style='background-color: #2E5392; color: #FFFFFF; border: 1px dashed #333333;'><center><a style='color: #FFFFFF;' onclick='spoiler()' title='Click to Hidden Widget'>&laquo;</a> &#8226; <a href='http://www.facebook.com/erwin.dimitri' style='color: #FFFFFF;' onclick='alert(\'Thanks for instal this script\');'>Function :</a></center></div> "
  53.  
  54. body.appendChild(div);
  55. body.appendChild(div2);
  56. body.appendChild(div3);
  57. unsafeWindow.spoiler = function() {
  58. var i;
  59. for(i=1;i<=20;i++) {
  60. var x=document.getElementById('like'+i);
  61. if (x.style.display=="none") {
  62. x.style.display="block";
  63. div2.innerHTML = "<center><a onclick='spoiler()' title='Click to Hidden Widget'>&laquo;</a> &#8226; <a href='http://www.facebook.com/erwin.dimitri' title='Thanks for instal this script'>ID:Ryusekai</a></center> "
  64. }
  65. else {
  66. x.style.display="none";
  67. div2.innerHTML = "<center><a onclick='spoiler()' title='Click to Show Widget'>&raquo;</a></center>"
  68. }
  69. }
  70. };
  71. }
  72. // ==============
  73. // ==Otw Search==
  74. body = document.body;
  75. if(body != null) {
  76. div = document.createElement("div");
  77. div.setAttribute('id','like1');
  78. div.style.position = "fixed";
  79. div.style.display = "block";
  80. div.style.width = "100px";
  81. div.style.opacity= 0.90;
  82. div.style.bottom = "+105px";
  83. div.style.left = "+6px";
  84. div.style.backgroundColor = "#eceff5";
  85. div.style.border = "1px dashed #94a3c4";
  86. div.style.padding = "2px";
  87. div.innerHTML = "<img src='http://t2.gstatic.com/images?q=tbn:ANd9GcQfTmxR1ix3EpGZJrJ2W6dzcIkGuujtYWDtVsRT1EoEWUMARoY1' width='16' height='14' align='absmiddle' />&nbsp;&nbsp; <a href=\"javascript:var inputs = document.getElementsByClassName('_42ft _4jy0 _4jy3 _517h _51sy'); for(var i=0; i<inputs.length;i++) { inputs[i].click(); }\">Auto Join 1</a>"
  88. body.appendChild(div);
  89. }
  90. // ==============
  91. // ==Otw Local==
  92. body = document.body;
  93. if(body != null) {
  94. div = document.createElement("div");
  95. div.setAttribute('id','like1');
  96. div.style.position = "fixed";
  97. div.style.display = "block";
  98. div.style.width = "100px";
  99. div.style.opacity= 0.90;
  100. div.style.bottom = "+80px";
  101. div.style.left = "+6px";
  102. div.style.backgroundColor = "#eceff5";
  103. div.style.border = "1px dashed #94a3c4";
  104. div.style.padding = "2px";
  105. div.innerHTML = "<img src='http://t2.gstatic.com/images?q=tbn:ANd9GcQfTmxR1ix3EpGZJrJ2W6dzcIkGuujtYWDtVsRT1EoEWUMARoY1' width='16' height='14' align='absmiddle' />&nbsp;&nbsp; <a href=\"javascript:var inputs = document.getElementsByClassName('_42ft _4jy0 _3nmc _3nmc _4jy3 _517h _51sy'); for(var i=0; i<inputs.length;i++) { inputs[i].click(); }\">Auto Join 2</a>"
  106.  
  107. body.appendChild(div);
  108. }
  109. // ==Konfirm Kabeh==
  110. body = document.body;
  111. if(body != null) {
  112. div = document.createElement("div");
  113. div.setAttribute('id','like8');
  114. div.style.position = "fixed";
  115. div.style.display = "block";
  116. div.style.width = "100px";
  117. div.style.opacity= 0.90;
  118. div.style.bottom = "+56px";
  119. div.style.left = "+6px";
  120. div.style.backgroundColor = "#eceff5";
  121. div.style.border = "1px dashed #94a3c4";
  122. div.style.padding = "2px";
  123. div.innerHTML = "<img src='http://t2.gstatic.com/images?q=tbn:ANd9GcQfTmxR1ix3EpGZJrJ2W6dzcIkGuujtYWDtVsRT1EoEWUMARoY1' width='16' height='14' align='absmiddle' />&nbsp;&nbsp;<a onclick='OtomatisKonfirm();' >Auto Accept</a>"
  124. body.appendChild(div);
  125. //fungsi jeda
  126. function tunda(milliSeconds){
  127. var startTime = new Date().getTime();
  128. while (new Date().getTime() < startTime + milliSeconds);
  129. }
  130. unsafeWindow.OtomatisKonfirm = function() {
  131. var x=document.getElementsByName("actions[accept]"); for (i=0;i<x.length;i++) { x[i].click();}
  132. };
  133. }