Sold Live listings search switcher - no more checkbox clicking madness
Summary: itolduandso expresses frustration with the design and functionality of eBay's platform, particularly the glitchy behavior of the checkboxes for Sold and Completed listings. They criticize the new platform while indicating no issues with the old one and share a script for Grease Monkey that bypasses the checkbox system. The script provides buttons to toggle between Live and Sold listings, simplifying the process and improving user experience. This innovative solution highlights ongoing issues with eBay's interface and offers a practical workaround for other users experiencing similar frustrations.
This new platform feels like something running on corporate Kronos software or something, it doesn't have life, so I would say 50/50 chance it's going to die. There wasn't any issue with the old platform.
Anyways, Ebay should fix other stuff and not fixing stuff that is not broken. Actual ebay page sucks so badly. I decided to fix one of the frustrations today with the Sold / Completed checkmark buttons on the left. That Scripted menu on the left is glitchy like nuts. Whoever programmed it should be fired.
I am not alone, there are so many people complaining about this and nothing has been fixed for so many years. If your click Sold checbox or Completed checkbox, sometimes the page doesn't register the change or the server acts up, it completely loses track of that, page reloads (sometimes even doesn't) and checkbox is lose. And why do I need to click both checkboxes anyways? Clicking Sold checkbos doesn't check the Completed checkbox. Same vice versa when I am on completed sold listings and want to see live listings. I can't say happens half of the time, sometimes it does, sometimes it works just fine, but when it doesn't, it doesn't register and when page loads, it needs to be checked again and again wait for page load. It is an incredibly frustrating loop. This has been around for long time and it's not limited to a certain browser or OS.
So here is a script for Grease Monkey / Violent monkey or similar JS extension for browser, this is done in Gemini and works fine, perhaps there is a better approach but this is such a relief. It adds 2 buttons on the top of the page to show LIVE or show SOLD listings. Clicking them will do the work in the background and reload the page. Easy. Remove the dashed line.
-------------------------------------------------
// ==UserScript==
// @name eBay - Fast Toggle Live / Sold Items
// @namespace http://tampermonkey.net/
// @version 1.1
// @description Adds fast buttons to switch between Active and Sold/Completed listings instantly without fighting checkboxes.
// @author Your Friendly AI Peer
// @match https://www.ebay.com/sch/*
// @match https://www.ebay.ca/sch/*
// @match https://www.ebay.co.uk/sch/*
// @grant none
// @run-at document-end
// ==/UserScript==
(function() {
'use strict';
function injectToggleButtons() {
// Target the search button container or nearby space
const searchForm = document.querySelector('.gh-td-s, #gh-as-td, .gh-search-button');
if (!searchForm || document.getElementById('ebay-fast-toggle-container')) return;
// Container for our custom buttons
const container = document.createElement('div');
container.id = 'ebay-fast-toggle-container';
container.style.display = 'inline-flex';
container.style.marginLeft = '10px';
container.style.verticalAlign = 'middle';
container.style.gap = '6px';
// Styling blueprint for the buttons
const baseButtonStyle = `
padding: 8px 12px;
font-size: 13px;
font-weight: bold;
border: none;
border-radius: 4px;
cursor: pointer;
box-shadow: 0 1px 3px rgba(0,0,0,0.2);
transition: opacity 0.1s ease;
`;
// 1. SHOW LIVE BUTTON
const liveBtn = document.createElement('button');
liveBtn.innerText = 'Show LIVE';
liveBtn.style.cssText = baseButtonStyle + 'background-color: #4A4A4A; color: white;';
liveBtn.onclick = function(e) {
e.preventDefault();
let url = new URL(window.location.href);
url.searchParams.delete('LH_Sold');
url.searchParams.delete('LH_Complete');
window.location.href = url.toString();
};
// 2. SHOW SOLD BUTTON
const soldBtn = document.createElement('button');
soldBtn.innerText = 'Show SOLD';
soldBtn.style.cssText = baseButtonStyle + 'background-color: #43a047; color: white;';
soldBtn.onclick = function(e) {
e.preventDefault();
let url = new URL(window.location.href);
url.searchParams.set('LH_Sold', '1');
url.searchParams.set('LH_Complete', '1');
window.location.href = url.toString();
};
// Hover transparency mechanics
[liveBtn, soldBtn].forEach(btn => {
btn.onmouseenter = () => btn.style.opacity = '0.85';
btn.onmouseleave = () => btn.style.opacity = '1';
});
container.appendChild(liveBtn);
container.appendChild(soldBtn);
searchForm.parentNode.insertBefore(container, searchForm.nextSibling);
}
// Run on initial load
injectToggleButtons();
// Re-verify injection since eBay loves dynamic page refreshes
const observer = new MutationObserver(() => {
injectToggleButtons();
});
observer.observe(document.body, { childList: true, subtree: true });
})();