Find Similar Items
A simple JavaScript tool to quickly list auctions similar to the one youâre looking at.
Iâm always excited to discover something new while searching on eBay, but Iâve been around long enough to know that thereâs virtually no such thing as âone of a kind.â
When youâve found an item youâre interested in, itâs often helpful to look for other auctions for similar items, either to compare prices or perhaps to find something better. Typically, this requires opening a search box and typing the name of the item for which to search. Hereâs a quick hack that will eliminate these steps and list similar items with a single click.
Create a new button on your browserâs Links bar (see Customizing the Links Bar for details) and type the following JavaScript code, all on one line, into the new link:
javascript:void(win=window.open( 'http://search.ebay.com/ws/search/SaleSearch?satitle='+ document.title.substring(document.title.indexOf(' - ')+3)))
Make sure to note the capitalization of the JavaScript code, such as
the uppercase âOâ in the
indexOf
keyword. Note also the spaces around the
hyphen (' - ')
. You can name the new link anything
you like, such as âFind Similar.â
Then, open any auction page and click the new link, as shown in Figure 2-2. (Naturally, the hack wonât work on a non-auction page.) A new window will appear with search results matching the title of the auction you were just looking at, which, in theory, should contain at least one auction. ...
Get eBay Hacks now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.