您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
try to take over the world!
// ==UserScript== // @name 六维网购工具 // @namespace http://tampermonkey.net/ // @version 0.1 // @description try to take over the world! // @author You // @match *://s.taobao.com/search?* // @match *://search.jd.com/* // @grant GM_registerMenuCommand // @require http://code.jquery.com/jquery-1.11.0.min.js // ==/UserScript== (function() { 'use strict'; // 注册(不可用)菜单 GM_registerMenuCommand("开始屏蔽淘宝低销量商品", TB_Remove); function TB_Remove(){ var str = ''; var sell = 50; var num = 0; $("div.deal-cnt").each(function(){ str = $(this).text(); if(parseInt(str.split('人')[0])<sell) {$(this).parent().parent().parent().hide();num++} str = ''; }) $(".info__npaid").each(function(){ str = $(this).text(); if(parseInt(str.split('人')[0])<sell) {$(this).parent().parent().parent().hide();num++} str = ''; }) if(num>0) alert('本页面共有'+num+'个商品低于'+sell+'人购买,已经被屏蔽!'); } //淘宝搜索页小于指定人数付款商品屏蔽 if (location.hostname === 's.taobao.com') { } //京东搜索页推广商品屏蔽 if (location.hostname === 'search.jd.com') { $('.p-promo-flag').parent().parent().hide(); // Your code here... } })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址