您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
和驴驴说再见。为过滤低劣的反串黑,屏蔽全体名称相同者。
// ==UserScript== // @name No 驴 // @namespace http://sunsetware.org/ // @version 0.1 // @description 和驴驴说再见。为过滤低劣的反串黑,屏蔽全体名称相同者。 // @author TJYSunset // @match *://jandan.net/* // @match *://*.jandan.net/* // @require https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js // @grant none // ==/UserScript== (function() { 'use strict'; $("head").append("<style>.donkey {font-family: monospace;}</style>"); $(".commentlist li").each(function () { var author = $(this).find(".author strong").first(); if (author.text() == "我是一只驴驴" || author.attr("title") == "防伪码:7d4bf8573f165f87273e990ade6a1f25c039af51") { $(this).find(".text").html(" _\\<br> /`b<br>/####J<br> |\\ ||").addClass("donkey"); } }); })();