您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Hide items with a price range from the eBay search results
当前为
// ==UserScript== // @name Hide eBay items with price range // @namespace http://tampermonkey.net/ // @version 0.1 // @description Hide items with a price range from the eBay search results // @author Steve Chambers // @match https://www.ebay.com/* // @match https://www.ebay.co.uk/* // ==/UserScript== $("h3:contains('Show only')").parent().next().prepend("<li class='x-refine__main__list--value x-refine__main__list--aspect' name='LH_NPR'><div class='x-refine__multi-select ' id='w2-w0-multiselect[9]'><a class='cbx x-refine__multi-select-link' _sp='p2351460.m4118.c1'><input type='checkbox' aria-label='No price range' class='cbx x-refine__multi-select-checkbox heiwpr' autocomplete='off' aria-hidden='true' tabindex='-1' role='presentation'><span class='cbx x-refine__multi-select-cbx'>No price range</span><span class='x-refine__multi-select-histogram'></span></a></div></li>"); $("input.heiwpr").change(function() { $("span.DEFAULT:contains(' to ')").closest('li').toggle(!this.checked); }); $("input.heiwpr").prop('checked', true).change();