您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Remove blank quotations from adnmb
// ==UserScript== // @name Remove Brainless // @namespace https://adnmb2.com/ // @version 0.2.4 // @description Remove blank quotations from adnmb // @author Toka-MK // @match https://adnmb2.com/* // @grant GM_addStyle // ==/UserScript== (function() { "use strict"; var htmlCollection = document.getElementsByClassName("h-threads-content"); var array = [].slice.call(htmlCollection); for (var i = 0; i < array.length; i++) { if (array[i].parentElement.childElementCount < 3 && array[i].textContent.trim().replace(/>>No.[1-9][0-9]{0,9}/, "").length == 0) { array[i].parentElement.parentElement.remove(); } } })();