🏠 Home 

FJ Mod Mass Flag SFW MOD

MODMODMOD


Install this script?
  1. // ==UserScript==
  2. // @name FJ Mod Mass Flag SFW MOD
  3. // @author posttwo (Post15951)
  4. // @include *funnyjunk.com/sfw_mod/*
  5. // @version 1.4
  6. // @description MODMODMOD
  7. // @require http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js
  8. // @namespace https://greasyfork.org/users/3806
  9. // ==/UserScript==
  10. unsafeWindow.nsfw = function()
  11. {
  12. var things = $(':checked[name=toflag]');
  13. var things = $(things).parent().parent();
  14. var things = things.find('input[type="Button"]');
  15. $.each(things, function(index, value) {
  16. $(this).click();
  17. $('[value=nsfw]').click();
  18. $('span:contains("Flag")').click();
  19. });
  20. }
  21. unsafeWindow.illegal = function()
  22. {
  23. var things = $(':checked[name=toflag]');
  24. var things = $(things).parent().parent();
  25. var things = things.find('input[type="Button"]');
  26. $.each(things, function(index, value) {
  27. $(this).click();
  28. $('[value=illegal]').click();
  29. $('span:contains("Flag")').click();
  30. });
  31. }
  32. unsafeWindow.spam = function()
  33. {
  34. var things = $(':checked[name=toflag]');
  35. var things = $(things).parent().parent();
  36. var things = things.find('input[type="Button"]');
  37. $.each(things, function(index, value) {
  38. $(this).click();
  39. $('[value=spam]').click();
  40. $('span:contains("Flag")').click();
  41. });
  42. }
  43. unsafeWindow.copyright = function()
  44. {
  45. var things = $(':checked[name=toflag]');
  46. var things = $(things).parent().parent();
  47. var things = things.find('input[type="Button"]');
  48. $.each(things, function(index, value) {
  49. $(this).click();
  50. $('[value=copyright]').click();
  51. $('span:contains("Flag")').click();
  52. });
  53. }
  54. unsafeWindow.hate = function()
  55. {
  56. var things = $(':checked[name=toflag]');
  57. var things = $(things).parent().parent();
  58. var things = things.find('input[type="Button"]');
  59. $.each(things, function(index, value) {
  60. $(this).click();
  61. $('[value=hate_speech]').click();
  62. $('span:contains("Flag")').click();
  63. });
  64. }
  65. unsafeWindow.harassment = function()
  66. {
  67. var things = $(':checked[name=toflag]');
  68. var things = $(things).parent().parent();
  69. var things = things.find('input[type="Button"]');
  70. $.each(things, function(index, value) {
  71. $(this).click();
  72. $('[value=harassment]').click();
  73. $('span:contains("Flag")').click();
  74. });
  75. }
  76. unsafeWindow.copyrighted = function()
  77. {
  78. var things = $(':checked[name=toflag]');
  79. var things = $(things).parent().parent();
  80. var things = things.find('input[type="Button"]');
  81. $.each(things, function(index, value) {
  82. $(this).click();
  83. $('[value=copyrighted_content]').click();
  84. $('span:contains("Flag")').click();
  85. });
  86. }
  87. unsafeWindow.gore = function()
  88. {
  89. var things = $(':checked[name=toflag]');
  90. var things = $(things).parent().parent();
  91. var things = things.find('input[type="Button"]');
  92. $.each(things, function(index, value) {
  93. $(this).click();
  94. $('[value=gore]').click();
  95. $('span:contains("Flag")').click();
  96. });
  97. }
  98. unsafeWindow.checkboxes= function()
  99. {
  100. $('.com .r').append('<input type="checkbox" name="toflag" value="Flag">')
  101. }
  102. $(document).ready(function ()
  103. {
  104. $('.com .r').append('<input type="checkbox" name="toflag" value="Flag">');
  105. $('.aCenter').append('<br>')
  106. $("<a>",
  107. {
  108. "class": "lightgreenButton",
  109. text: "Flag - NSFW",
  110. onclick: 'nsfw()',
  111. value: "up",
  112. type: "button",
  113. }).appendTo("#contentLeft");
  114. $("<a>",
  115. {
  116. "class": "lightgreenButton",
  117. text: "Illegal",
  118. onclick: 'illegal()',
  119. value: "up",
  120. type: "button",
  121. }).appendTo("#contentLeft");
  122. $("<a>",
  123. {
  124. "class": "lightgreenButton",
  125. text: "Spam",
  126. onclick: 'spam()',
  127. value: "up",
  128. type: "button",
  129. }).appendTo("#contentLeft");
  130. $("<a>",
  131. {
  132. "class": "lightgreenButton",
  133. text: "Copyright",
  134. onclick: 'copyright()',
  135. value: "up",
  136. type: "button",
  137. }).appendTo("#contentLeft");
  138. $("<a>",
  139. {
  140. "class": "lightgreenButton",
  141. text: "Hate",
  142. onclick: 'hate()',
  143. value: "up",
  144. type: "button",
  145. }).appendTo("#contentLeft");
  146. $("<a>",
  147. {
  148. "class": "lightgreenButton",
  149. text: "Harassment",
  150. onclick: 'harassment()',
  151. value: "up",
  152. type: "button",
  153. }).appendTo("#contentLeft");
  154. $("<a>",
  155. {
  156. "class": "lightgreenButton",
  157. text: "Copyrighted",
  158. onclick: 'copyrighted()',
  159. value: "up",
  160. type: "button",
  161. }).appendTo("#contentLeft");
  162. $("<a>",
  163. {
  164. "class": "lightgreenButton",
  165. text: "Gore",
  166. onclick: 'gore()',
  167. value: "up",
  168. type: "button",
  169. }).appendTo("#contentLeft");
  170. $("<a>",
  171. {
  172. "class": "yellowButton",
  173. text: "Add Checkboxes",
  174. onclick: 'checkboxes()',
  175. value: "up",
  176. type: "button",
  177. }).appendTo("#contentLeft");
  178. });