eBextractor Extension Config

Remote eBay/Amazon selectors for the eBextractor Chrome extension. Static files on Cloudflare Pages — no Workers, no code, data only.

live 2026-11-14-0528 · rev 3 65 selector keys 3 releases

What the extension reads

FilePurpose
version.jsonWhich release is live (rev, id) · no-cache
live/selectors.jsonThe live selectors · no-cache
r/<id>/selectors.jsonEvery release exactly as published, to check and compare · cached 1 year
extension/versioning/What's new in each extension version (from changelog/<version>.json); one page per version at extension/versioning/<version>/, which the extension's version number opens · no-cache

Releases

ReleaseRevNote
2026-11-14-0528 live 3 eBextractor config update: search cards now read the listing number from data-listingid (added), and item pages, feedback reviews, ratings, comments, replies, dates, verified marks, buyer names and totals gained new selectors for seller links and reviews, with text labels for "Reply from:" and "Follow-up from:". json
2026-10-31-0813 2 Config update: search result cards now read condition, shipping, location, watchers, and seller rows, eBay's "No exact matches" block is recognized as a valid empty search, item pages read listing photos and condition from new selectors, and sold and watcher counts parse in more languages. json
2026-10-09-1114 1 Base for extension 3.1.0 (history reset; earlier revs 1-3 were exploration): search page, item page, purchase history, listing title, Amazon selectors, and historyStatus.offerAccepted (accepted Best Offers count as sales) json

Structure

ebextractor-extension-config/        (source repo)
├─ selectors.json        working copy — edit this
├─ releases/             every release (<id>.json + index.json), committed
├─ SELECTORS.md          what every key targets (this page is built from it)
└─ scripts/              build · release/rollback/diff · devtools · page
dist/                    what's served here (built by Cloudflare on push)
├─ index.html · _headers · version.json
├─ live/selectors.json
└─ r/<id>/selectors.json + index.html

How the extension uses it

Fix a breakage

  1. Find the broken key: pnpm devtools, paste devtools-check.js into the DevTools console on the broken page.
  2. Edit selectors.json — new selector first, keep the old ones.
  3. pnpm release "what changed" (numbers the release, records it, builds), then commit and push. Users pick it up within ~5 minutes of browsing eBay.
  4. Bad release? pnpm rollback <id> re-publishes an earlier release as a new one.

What each key in selectors.json targets, where to find that HTML, and what breaks when it stops matching. Not published — the build only uploads the JSON, but it fails if a key in the JSON isn't documented here.

When something breaks

  1. Open the page type below in Chrome (signed in to eBay).
  2. Run pnpm devtools, paste the printed file's contents into the DevTools console. It lists every key for that page with how many elements each selector matches; ✖ = nothing matched.
  3. For a ✖ key: right-click the element on the page → Inspect, find a stable class/attribute, test it with document.querySelectorAll('…').length.
  4. Add the new selector to selectors.json (first in the list for priority keys; anywhere for any keys), keep the old ones, then pnpm release "what changed", commit and push.

Match modes (fixed in the extension code):

Who reads what

The extension and eBest (ebextractor.com/ebest, ../code/app/components/ebest/selectorConfig.ts) read the same keys: one fix corrects both. eBest uses search, itemPage, purchaseHistory, itemText and feedback, not sites overrides; its built-in lists are the offline fallback. They read lists differently: the extension sometimes joins a list into one query, eBest takes the first selector that matches. So check a fix on both, and keep broad selectors last. A correction logs to the console and shows "selectors rN" in the panel footer or "Selectors: live rN" at the bottom of eBest's sidebar.

Pages

SectionPageExample URL
searchSearch resultshttps://www.ebay.com/sch/i.html?_nkw=shoes (also sold: &LH_Sold=1&LH_Complete=1)
itemPageListing pagehttps://www.ebay.com/itm/<item id>
purchaseHistory, historyColumnsSold / offer history (needs sign-in)https://www.ebay.com/bin/purchaseHistory?item=<item id>
amazonAmazon search / product pagehttps://www.amazon.com/s?k=shoes, https://www.amazon.com/dp/<ASIN>
listingeBay create-listing formhttps://www.ebay.com/lstng?… (Sell → List an item)
feedbackA seller's feedback pagehttps://www.ebay.com/fdbk/mweb_profile?fdbkType=FeedbackReceivedAsSeller&username=<seller>&filter=feedback_page:RECEIVED_AS_SELLER (one listing: add &item_id=<id>&q=<id>)

Check list and grid view (&_dmd=2) and at least one non-US site (ebay.de, ebay.pl) — eBay rolls markup out per site. Per-site lists go under "sites": { "www.ebay.de": { "search": { … } } }.


search — search results page

The search page has two consumers: the parser (reads a copy of the page HTML to build the price analysis sidebar) and the live page features (hide items, per-card buttons) that work on the real DOM.

search.resultsContainer

Live selectors · 2026-11-14-0528ul.srp-results.srp-list.clearfixul.srp-results.srp-grid.clearfixul.su-grid.su-grid--is-listul.su-grid

search.card

Live selectors · 2026-11-14-0528li.s-item.s-item__dsa-on-bottomli.s-item.s-item__pl-on-bottomli.s-item.s-item__before-answer.s-item__pl-on-bottomli.s-card.s-card--horizontalli.s-card.s-card--verticalli.su-grid__item

search.skipCard

Live selectors · 2026-11-14-0528li.srp-river-answer.srp-river-answer--SPECTRUM_OF_VALUE_CAROUSELli>div.srp-river-answer--START_LISTING_BANNERli>div.srp-river-answer--LIVE_EVENTS_CAROUSELli>div.srp-river-answer--NAVIGATION_ANSWER_COLLAPSIBLE_CAROUSELli>div.srp-river-answer--RIGHT_ALIGNED_MESSAGEli>div.srp-river-answer--BASIC_PAGINATION_V2li>div.srp-river-answer--REWRITE_STARTli>script
Live selectors · 2026-11-14-0528a.s-item__linka.su-linka.s-card__linka.su-link.su-item-card__title

search.price

Live selectors · 2026-11-14-0528span.s-item__pricespan.s-card__pricespan.su-item-card__price

search.imageContainer

Live selectors · 2026-11-14-0528div.s-item__imagediv.su-media__imagediv.su-image

search.title

Live selectors · 2026-11-14-0528div.s-card__titlediv>a.su-item-card__titlediv>a

search.category

Live selectors · 2026-11-14-0528li.srp-refine__category__item

search.pageCards

Live selectors · 2026-11-14-0528ul.srp-results>li.s-item__pl-on-bottom:not(.srp-river-answer--ITEMS_CAROUSEL_WITH_COLOR)ul.srp-results>li.s-card.s-card--horizontal:not(.srp-river-answer--ITEMS_CAROUSEL_WITH_COLOR)ul.srp-results>li.s-card.s-card--vertical:not(.srp-river-answer--ITEMS_CAROUSEL_WITH_COLOR)ul.su-grid>li.su-grid__item:not(.srp-river-answer--ITEMS_CAROUSEL_WITH_COLOR)

search.cardActionsMount

Live selectors · 2026-11-14-0528div.s-item__info.clearfixdiv.su-card-container__content

search.cardTitle

Live selectors · 2026-11-14-0528.s-card__title>span.primary.default.s-item__title.s-card__title.su-item-card__header>a

search.cardImage

Live selectors · 2026-11-14-0528.s-card__imagediv.su-image img

search.emptySearch

Live selectors · 2026-11-14-0528.srp-save-null-search

search.cardCondition

Live selectors · 2026-11-14-0528div.s-card__subtitlespan.SECONDARY_INFO

search.cardAttributes

Live selectors · 2026-11-14-0528.su-card-container__attributes__primary .s-card__attribute-rowspan.s-item__shippingspan.s-item__locationspan.s-item__watchCountTotal

search.cardSeller

Live selectors · 2026-11-14-0528.su-card-container__attributes__secondary .s-card__attribute-rowspan.s-item__seller-info-text

search.cardListingId

Live selectors · 2026-11-14-0528data-listingid

itemPage — listing page

itemPage.quantityAvailability

Live selectors · 2026-11-14-0528#qtyAvailabilitydiv.x-quantity__availability

itemPage.titleMount

Live selectors · 2026-11-14-0528.vim[data-testid="x-item-title"]div.x-item-title

itemPage.title

Live selectors · 2026-11-14-0528h1.x-item-title__mainTitle.vim[data-testid="x-item-title"]h1

itemPage.itemId

Live selectors · 2026-11-14-0528div.ux-layout-section--itemId

itemPage.imagePanel

Live selectors · 2026-11-14-0528#PicturePanel

itemPage.imageItems

Live selectors · 2026-11-14-0528.ux-image-grid-item[data-idx].ux-image-carousel-item[data-idx]

itemPage.watchersBox

Live selectors · 2026-11-14-0528body

itemPage.photos

Live selectors · 2026-11-14-0528.ux-image-carousel-item img.ux-image-carousel img#icImg

itemPage.condition

Live selectors · 2026-11-14-0528.x-item-condition-text .ux-textspans[data-testid="x-item-condition"] .ux-textspans.x-item-condition-value .ux-textspans

Live selectors · 2026-11-14-0528[data-testid="x-sellercard-atf"] a[href*="_ssn="][data-testid="x-sellercard-atf"] a[href*="/usr/"]a[href*="/fdbk/"][href*="FeedbackReceivedAsSeller"][href*="username="]a[href*="/cnt/intermediatedFAQ"][href*="requested="]a[href*="_ssn="]

feedback — a seller's feedback page

Read by eBest (Seller / Item feedback on each listing, user 2026-11-07) and the extension (3.1.2: the same badges on search results and the listing page). Shared since 2026-11-10; eBest's built-in copy is the fallback.

feedback.card

Live selectors · 2026-11-14-0528li.fdbk-container

feedback.rating

Live selectors · 2026-11-14-0528svg[data-test-type]

feedback.comment

Live selectors · 2026-11-14-0528.fdbk-container__details__comment

feedback.reply

Live selectors · 2026-11-14-0528.reply__container

feedback.replyText

Live selectors · 2026-11-14-0528.reply__comment

feedback.buyer

Live selectors · 2026-11-14-0528.fdbk-container__details__info__username > span:first-of-type

feedback.sellerReply

Live selectors · 2026-11-14-0528Reply from:

feedback.buyerFollowUp

Live selectors · 2026-11-14-0528Follow-up from:

feedback.when

Live selectors · 2026-11-14-0528.fdbk-container__details__info__divide__time

feedback.verified

Live selectors · 2026-11-14-0528.fdbk-container__details__verified__purchase

feedback.item

Live selectors · 2026-11-14-0528.fdbk-container__details__item-link

feedback.total

Live selectors · 2026-11-14-0528[data-testid="reset_btn"]

feedback.panel

Live selectors · 2026-11-14-0528[role="tabpanel"]

purchaseHistory — /bin/purchaseHistory?item=<id>

The extension fetches this page with the user's own eBay session. Signed out → eBay redirects to sign-in and the extension asks the user to sign in.

purchaseHistory.soldTable

Live selectors · 2026-11-14-0528div.app-table.fixed-price table.app-table__table

purchaseHistory.offerTable

Live selectors · 2026-11-14-0528div.app-table.offer table.app-table__table

purchaseHistory.itemDetails

Live selectors · 2026-11-14-0528dl.app-item-card__details

purchaseHistory.summaryMount

Live selectors · 2026-11-14-0528dl.app-item-card__detailsdiv.app-item-carddiv.app-table

purchaseHistory.itemTitle

Live selectors · 2026-11-14-0528.app-item-card__titlediv.app-item-card a[href*='/itm/']main a[href*='/itm/']a[href*='/itm/']

historyColumns — purchase history table headings

Not CSS. Each key lists the heading text of one column in every language; a column matches if its <th> text equals any entry, ignoring case. Add the new wording when eBay renames a column (keep the old one). If these break, sold history may still list rows but dates, prices, quantities read as empty: period filters show 0, revenue "—", units counted as 1 each.

Check: open /bin/purchaseHistory?item=<id>, run the DevTools checker — it prints each table's headings and which ones matched no column.

historyColumns.date_of_purchase

Live selectors · 2026-11-14-0528date of purchasekaufdatumdate de l'achatdata di acquistodata zakupu

historyColumns.date_of_offer

Live selectors · 2026-11-14-0528date of offerdatum des preisvorschlagsdate de l'offredata della propostadata oferty

historyColumns.buy_it_now_price

Live selectors · 2026-11-14-0528buy it now pricesofort-kaufen-preisprix d'achat immédiatprezzo compralo subitocena kup teraz

historyColumns.offer_price

Live selectors · 2026-11-14-0528offer priceangebotspreisprix de l'offreprezzo dell'offertacena oferty

historyColumns.offer_status

Live selectors · 2026-11-14-0528offer statusangebotsstatusstatut de l'offrestato dell'offertastatus oferty

historyColumns.quantity

Live selectors · 2026-11-14-0528quantitystückzahlquantitéquantitàilość

historyColumns.variation

Live selectors · 2026-11-14-0528variationvariantewersja

historyColumns.user_id

Live selectors · 2026-11-14-0528user idnutzernamepseudoid utentenazwa użytkownika

itemText — words around a number on the listing page

Not CSS. Templates for reading a number out of eBay's text: {n} is the number (commas, dots and spaces inside it are fine), and every entry must contain it. Matching ignores case, and the text only has to start the same ({n} vendu covers "vendus"). Plain text, never a regex or code. To fix a wording change, add the new phrase and pnpm release; run devtools-check.js on /itm/<id> to see what gets read.

itemText.sold

Live selectors · 2026-11-14-0528{n} sold{n} verkauft{n} vendu{n} venduti{n} vendido{n} sprzedan

itemText.watchers

Live selectors · 2026-11-14-0528{n} people are watching{n} person is watching{n} Personen beobachte{n} Person beobachte{n} personnes suiv{n} personne suiv{n} personnes surveill{n} personne surveill{n} persone osserv{n} persona osserv{n} persone stanno osservando{n} persona sta osservando{n} osób obserwuj{n} osoby obserwuj{n} osoba obserwuj

itemText.cardWatchers

Live selectors · 2026-11-14-0528{n} watcher{n} beobachter{n} observateur{n} osservatori{n} obserwuj

historyStatus — purchase history cell values

Not CSS. Text in the offer table's status column, every site language, matched case-insensitively as a prefix (accettat covers "Accettata" and "Accettato").

historyStatus.offerAccepted

Live selectors · 2026-11-14-0528acceptedacceptéangenommenakzeptiertaccettataceptadzaakceptowan

amazon — Amazon search and product pages

The "Compare prices / Search on eBextractor" buttons. The content script only runs on /s…, /dp/… and /gp/product/… (allowlist in the extension's manifest) — these keys only decide where on those pages the buttons go.

amazon.searchResult

Live selectors · 2026-11-14-0528div[data-component-type="s-search-result"]

amazon.cardSlot

Live selectors · 2026-11-14-0528div.a-section.a-spacing-base:not(.s-slider-container)div.a-section.a-spacing-small.a-spacing-top-small:not(.a-text-right)

amazon.cardImage

Live selectors · 2026-11-14-0528img.s-image

amazon.cardTitle

Live selectors · 2026-11-14-0528h2

amazon.productMount

Live selectors · 2026-11-14-0528#titleSection

amazon.productTitle

Live selectors · 2026-11-14-0528#productTitle

amazon.productImage

Live selectors · 2026-11-14-0528#landingImageimg.a-dynamic-image

listing — eBay create-listing form

listing.titleInput

Live selectors · 2026-11-14-0528[name="title"]input[id$="-se-textbox"][id*="TITLE"][id="s0-0-0-24-8-23[3]-3-36-7-2-se-textbox"][id="s0-0-0-24-7-23[3]-3-36-7-2-se-textbox"][id="s0-0-0-24-8-23[3]-3-34-7-2-se-textbox"]