Removes those annoying price range listings from search results
< 脚本Ebay - Remove listings with multiple prices的反馈
add ebay.de support
// ==UserScript== // @name Ebay - Remove listings with multiple prices // @namespace ebay_remove_price_range_listings // @description Removes those annoying price range listings from search results // @include https://www.ebay.com/sch/i.html* // @include https://www.ebay.de/sch/i.html* // @author Jous // @grant none // @license Unlicense; http://unlicense.org/ // @version 1.0.1 // ==/UserScript== // hiro added support for ebay.de
var tags = document.querySelectorAll(".DEFAULT"); var count = 0; Array.prototype.forEach.call(tags, function(elem) { elem.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.removeChild(elem.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode); count++; });
tags = document.querySelectorAll(".prRange"); count = 0; Array.prototype.forEach.call(tags, function(elem) { elem.parentNode.parentNode.parentNode.parentNode.parentNode.removeChild(elem.parentNode.parentNode.parentNode.parentNode); count++; });
document.body.innerHTML += '
thanks for incorporating this, and then making it a lot better :)
登录(不可用)以发表回复。
土豆服务器,请按需使用
镜像地址随时可能被墙,建议加群获取最新地址
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址
add ebay.de support
// ==UserScript== // @name Ebay - Remove listings with multiple prices // @namespace ebay_remove_price_range_listings // @description Removes those annoying price range listings from search results // @include https://www.ebay.com/sch/i.html* // @include https://www.ebay.de/sch/i.html* // @author Jous // @grant none // @license Unlicense; http://unlicense.org/ // @version 1.0.1 // ==/UserScript== // hiro added support for ebay.de
var tags = document.querySelectorAll(".DEFAULT"); var count = 0; Array.prototype.forEach.call(tags, function(elem) { elem.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.removeChild(elem.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode); count++; });
tags = document.querySelectorAll(".prRange"); count = 0; Array.prototype.forEach.call(tags, function(elem) { elem.parentNode.parentNode.parentNode.parentNode.parentNode.removeChild(elem.parentNode.parentNode.parentNode.parentNode); count++; });
document.body.innerHTML += '
'; infoMsg = document.getElementById("removeThatCrap"); infoMsg.innerText = count + " price range listings \nwere removed. (spam choices)"; infoMsg.style.position = "absolute"; infoMsg.style.top = "40px"; infoMsg.style.left = "10px"; infoMsg.style.padding = "10px"; infoMsg.style.backgroundColor = "#ccc";