您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Greasy Fork is available in English.
屏蔽掉闲鱼各种挂链接收购XXX的垃圾“商品”(会造成页面空白,介意勿用)
// ==UserScript== // @name 屏蔽闲鱼收购狗 // @namespace http://tampermonkey.net/ // @version 0.0.1 // @description 屏蔽掉闲鱼各种挂链接收购XXX的垃圾“商品”(会造成页面空白,介意勿用) // @author Rlunpika // @match http*://*.2.taobao.com/* // @require https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js // @grant none // ==/UserScript== (function($) { 'use strict'; var keyWord = RegExp(/收|求购/); setInterval(function(){ $('.item-brief-desc').each(function(){ if(this.innerHTML.match(keyWord)){ this.closest('div.ks-waterfall').remove(); } }); $('.item-pic').children().children('img').each(function(){ if(this.title.match(keyWord)){ this.closest('div.ks-waterfall').remove(); } }); //兼容“闲鱼助手” $('.item-pic').children('a').each(function(){ if(this.title.match(keyWord)){ this.closest('div.ks-waterfall').remove(); } }); },1000); })(jQuery);