您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Removes topics posted by people listed
// ==UserScript== // @name Remove KoL Topics By Specific People // @namespace greasyfork.org // @description Removes topics posted by people listed // @include *forums.kingdomofloathing.com*forumdisplay.php* // @version 1.0 // ==/UserScript== stuff = document.getElementsByTagName('tr'); var names = []; // Add names here. This is case sensitive. names[names.length] = "name1"; names[names.length] = "NamE 2"; for(i=0;i<names.length;i++) { names[i] = "'_self')\">" + names[i]; } for(i=0;i<stuff.length;i++) { for(j=0;j<names.length;j++) { if(stuff[i].innerHTML.indexOf(names[j]) > -1 ) { stuff[i].parentNode.removeChild(stuff[i]); i--; } } }