![]() ![]() |
I need a script that can do this; strip items with 0 bids out of my search results. This is important to me because without it I can not effectively use eBay. The site has been over-run with thousands of overpriced spam items. These usually end with zero bids, so if there is an item with any interest at all and received so much as a single bid I can see it in my results without it being buried within all the 0 bid items. Can someone make this for me? There is an old one that doesn't work on the site but that author doesn't seem to be around any more. Thanks in advance for your help! |
![]() ![]() |
I only looked at two results pages, so this probably needs tweaking, but here's a start: var results, i, txt;
results = document.querySelectorAll('#ResultSet table.li, #ResultSetItems table.li');
if (results.length > 0){
for (i=0; i<results.length; i++){
if (results[i].rows[0].cells[3].firstElementChild)
txt = results[i].rows[0].cells[3].firstElementChild.textContent.toLowerCase();
else
txt = results[i].rows[0].cells[3].textContent.toLowerCase();
if (txt.length > 0){ if (txt.indexOf("0 bids") == 0){
results[i].style.display = "none"; // suppress entire table
}}
}
}
|
![]() ![]() |
eBay's advanced search page lets you filter by no. of bids, so it can probably be achieved just by changing the URL query |
![]() ![]() |
thank you so much! |


