您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Greasy Fork is available in English.
屏蔽傻逼
当前为
// ==UserScript== // @name 优书网傻逼屏蔽 // @namespace http://www.lkong.net/home.php?mod=space&uid=516696 // @version 0.2 // @description 屏蔽傻逼 // @author 仙圣 // @match *://www.yousuu.com/book/* // @include *://www.yousuu.com/book/* // @icon http://www.yousuu.com/favicon.ico // ==/UserScript== (function(){ //屏蔽词列表。 //屏蔽词的双引号为英文半角引号,逗号也是,请勿忘记加逗号。 var blackList = [ "shego521","意淫党","不夜城传奇","沧海难平","尖尖碰碰拳","不吃黄瓜","solosolo1","alonezombie","天武者","闷猫","昆西昆西昆","华音","李老","a798894707","逻辑运算码", "s1344961876","岂得圣手扶炎宋","步月","栤べ","妹子快住手!","wangjuewwee","耳朵fg","孟佳","tinuver","枫雪隼痕","贺道尔","紫气来不来","烟霞弄晴","dai银", ]; function 屏蔽傻逼(){ var target = document.querySelectorAll("div.BookCommentItem"); console.log("屏蔽傻逼:"); for (var i = 0;i < target.length; i++){ if (target[i].querySelectorAll("div.comment-author-info>p")[0] != null){ var node = target[i].querySelectorAll("div.comment-author-info>p")[0]; for (var j = 0 ;j < blackList.length; j++){ //用户名在黑名单中则删掉 if (node.innerHTML.indexOf(blackList[j]) > -1){ target[i].remove(); console.log(node); } } } } } setInterval(屏蔽傻逼, 2000); })();