您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
remove all comments with length < 200
// ==UserScript== // @name Pantip remove short comments // @namespace DollPantipRemoveShotComments // @version 0.1 // @description remove all comments with length < 200 // @author GroupDoll // @match http://pantip.com/topic/* // ==/UserScript== window.addEventListener('load', function() { $('.display-post-story').each(function( index, element ){if($(this).text().length < 200){$(this).parent().parent().parent().parent().remove()}}) $('.sub-loadmore').each(function( index, element ){if(!$(this).prev().hasClass('section-comment')){$(this).remove()}}) }, false);