Ebay - Remove listings with multiple prices

Removes those annoying price range listings from search results

Author
jous
Daily installs
0
Total installs
476
Ratings
5 1 2
Version
1.1.3
Created
2018-07-31
Updated
2020-11-06
License
Unlicense
Applies to

v1.1.3 (2020-11-06)

Added possibility to whitelist searches. Open the script for editing and it's the first variable. Gipnokote notified me of subcategories like the "/56083" part in www.ebay.de/sch/56083/i.html mungles up the @include directives. Subcategories should work now.

Some ebay sites have removed the "from xx to xx" price information, eg. search "usb cable" in ebay.com and price ranges no longer show up. I have not investigated further so I don't know if there's any remedy for this crap. Possibly not. I did not change this. Ebay did. Please include a fix suggestion yourself before bugging me with messages like "I need this fixed now and you're a worthless person for not predicting my needs / ebay changes before they happened". I'm just a person fixing ebay for myself. I gave it to you without expecting anything in return.

v1.1.2 (2018-10-25)

Seems they're doing some A/B testing with the styles. Both layout types are now removed.

v1.1.1 (2018-10-25)

Ebay changed their page layout again. This time the classes that we're looking for are 'DEFAULT ITALIC'. This is fixed.

v1.1 (2018-9-21)

Fixed the pull down menus (Sort, View and Items per page). In previous versions the buttons didnt do anything after price range items were removed.
This was because i just concatenated the grey infomessage to document.body.innerHTML. This version uses document.body.appendChild().

v1.0.5 (2018-9-19)

Ebay made some changes to their layout. Price range items are now listed with the class 'prRange' instead of '_DEFAULT'. This is fixed.
Added automatic sorting to "Price + Shipping: lowest first", 200 results per page and filter to "Buy It Now".
Added support for all international sites: at, be, ca, cn, fr, de, in, ie, it, com.au, com.hk, com.my, com.sg, com.tw, co.th, co.uk, nl, ph, pl, es, ch, vn. Thanks to user "hiro neu" for pointing this out!

v1.0.1 (2018-07-31)

I was angry about ebay's lack of action on fake listings.

This script will remove all listings that have multiple prices, eg. looking like "EUR 0.99 to EUR 293.23". They usually have some totally unrelated product for EUR 0.99 and the real product will cost EUR 293.23. If you search with "Price + Shipping: lowest first" it will still show those expensive multi-product listings on the first page.

Now there are three options:

1) Use this script
2) Filter the search with "Sold items"
3) For every page, open developer console and run $('.DEFAULT').parent().parent().parent().parent().parent().parent().remove();

If you decide to use this script, you should define sorting and "items per page" before enabling, because the pagination plugin will crash when any greasemonkey script is run.

This is just an implementation of an stackoverflow question:

https://webapps.stackexchange.com/questions/73586/how-to-filter-deceptive-bait-switch-price-listings-on-ebay-when-sorted-by-pr#117127

Tested on firefox quantum 61.0.1