您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
MODMODMOD
当前为
// ==UserScript== // @name FJ Mod Mass Flag SFW MOD // @author posttwo (Post15951) // @include *funnyjunk.com/sfw_mod/* // @version 1.4 // @description MODMODMOD // @require http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js // @namespace https://greasyfork.org/users/3806 // ==/UserScript== unsafeWindow.nsfw = function() { var things = $(':checked[name=toflag]'); var things = $(things).parent().parent(); var things = things.find('input[type="Button"]'); $.each(things, function(index, value) { $(this).click(); $('[value=nsfw]').click(); $('span:contains("Flag")').click(); }); } unsafeWindow.illegal = function() { var things = $(':checked[name=toflag]'); var things = $(things).parent().parent(); var things = things.find('input[type="Button"]'); $.each(things, function(index, value) { $(this).click(); $('[value=illegal]').click(); $('span:contains("Flag")').click(); }); } unsafeWindow.spam = function() { var things = $(':checked[name=toflag]'); var things = $(things).parent().parent(); var things = things.find('input[type="Button"]'); $.each(things, function(index, value) { $(this).click(); $('[value=spam]').click(); $('span:contains("Flag")').click(); }); } unsafeWindow.copyright = function() { var things = $(':checked[name=toflag]'); var things = $(things).parent().parent(); var things = things.find('input[type="Button"]'); $.each(things, function(index, value) { $(this).click(); $('[value=copyright]').click(); $('span:contains("Flag")').click(); }); } unsafeWindow.hate = function() { var things = $(':checked[name=toflag]'); var things = $(things).parent().parent(); var things = things.find('input[type="Button"]'); $.each(things, function(index, value) { $(this).click(); $('[value=hate_speech]').click(); $('span:contains("Flag")').click(); }); } unsafeWindow.harassment = function() { var things = $(':checked[name=toflag]'); var things = $(things).parent().parent(); var things = things.find('input[type="Button"]'); $.each(things, function(index, value) { $(this).click(); $('[value=harassment]').click(); $('span:contains("Flag")').click(); }); } unsafeWindow.copyrighted = function() { var things = $(':checked[name=toflag]'); var things = $(things).parent().parent(); var things = things.find('input[type="Button"]'); $.each(things, function(index, value) { $(this).click(); $('[value=copyrighted_content]').click(); $('span:contains("Flag")').click(); }); } unsafeWindow.gore = function() { var things = $(':checked[name=toflag]'); var things = $(things).parent().parent(); var things = things.find('input[type="Button"]'); $.each(things, function(index, value) { $(this).click(); $('[value=gore]').click(); $('span:contains("Flag")').click(); }); } unsafeWindow.checkboxes= function() { $('.com .r').append('<input type="checkbox" name="toflag" value="Flag">') } $(document).ready(function () { $('.com .r').append('<input type="checkbox" name="toflag" value="Flag">'); $('.aCenter').append('<br>') $("<a>", { "class": "lightgreenButton", text: "Flag - NSFW", onclick: 'nsfw()', value: "up", type: "button", }).appendTo("#contentLeft"); $("<a>", { "class": "lightgreenButton", text: "Illegal", onclick: 'illegal()', value: "up", type: "button", }).appendTo("#contentLeft"); $("<a>", { "class": "lightgreenButton", text: "Spam", onclick: 'spam()', value: "up", type: "button", }).appendTo("#contentLeft"); $("<a>", { "class": "lightgreenButton", text: "Copyright", onclick: 'copyright()', value: "up", type: "button", }).appendTo("#contentLeft"); $("<a>", { "class": "lightgreenButton", text: "Hate", onclick: 'hate()', value: "up", type: "button", }).appendTo("#contentLeft"); $("<a>", { "class": "lightgreenButton", text: "Harassment", onclick: 'harassment()', value: "up", type: "button", }).appendTo("#contentLeft"); $("<a>", { "class": "lightgreenButton", text: "Copyrighted", onclick: 'copyrighted()', value: "up", type: "button", }).appendTo("#contentLeft"); $("<a>", { "class": "lightgreenButton", text: "Gore", onclick: 'gore()', value: "up", type: "button", }).appendTo("#contentLeft"); $("<a>", { "class": "yellowButton", text: "Add Checkboxes", onclick: 'checkboxes()', value: "up", type: "button", }).appendTo("#contentLeft"); });