A focused Chrome extension for reading Amazon Best Sellers Rank data directly from product pages, without asking for access to the rest of the web.
Amazon Bestseller Extractor watches supported Amazon product pages, surfaces the strongest Best Sellers Rank as a toolbar badge, and opens a compact popup with the full category breakdown.
- Shows the best BSR value as a toolbar badge when rank data exists.
- Lists every detected BSR category and link in a clean popup.
- Adds a quick CamelCamelCamel shortcut for the current ASIN.
- Supports multiple Amazon storefronts.
- Stays disabled outside supported Amazon domains.
- Avoids broad page access permissions.
- Open a supported Amazon storefront.
- Visit a product page with a
/dp/or/gp/product/URL. - The extension scans the page for Best Sellers Rank data.
- If rank data exists, the toolbar badge shows the best rank found.
- Click the extension icon to open the full BSR breakdown.
The red badge shows the best available rank on the page, meaning the lowest numeric rank found across all categories.
- Badge visible: rank data was found on the current product page.
- No badge: the page is not a supported Amazon product page, or Amazon did not expose BSR data.
The popup includes:
- A card list of detected BSR categories and links.
- A direct CamelCamelCamel link for the current product.
- Three built-in visual themes: Amazon, Dark, and Slate.
This project is intentionally scoped down.
- The toolbar action is disabled by default.
- It only lights up on supported Amazon storefront domains.
- Content scripts run only on supported Amazon domains.
- The popup reads data from the Amazon content script instead of injecting code into arbitrary active tabs.
- No extracted data is sent to external servers.
- amazon.com
- amazon.ca
- amazon.com.mx
- amazon.com.br
- amazon.com.au
- amazon.co.uk
- amazon.de
- amazon.fr
- amazon.it
- amazon.es
- amazon.nl
- amazon.se
- amazon.pl
- amazon.com.tr
- amazon.ae
- amazon.sa
- amazon.sg
- amazon.co.jp
- amazon.in
- amazon.eg
- amazon.com.be
- Clone or download this repository.
- Install the development dependencies with
npm install. - Build the extension scripts with
npm run build. - Open
chrome://extensions/in Chrome. - Enable Developer mode.
- Click Load unpacked.
- Select this project folder.
- Pin the extension if you want the badge visible at all times.
Chrome extensions do not execute TypeScript files directly. This project now keeps the source in src/*.ts and compiles the browser-facing files to background.js, content.js, and popup.js in the extension root so the manifest can continue to reference JavaScript.
npm run buildcompiles the TypeScript sources.npm run typecheckvalidates the project without writing output.npm run watchrecompiles on file changes during development.
If you change any TypeScript source, rebuild before reloading the unpacked extension in Chrome.
- Reads only the currently open supported Amazon page.
- Extracts BSR links from the DOM already present in the page.
- Sends nothing to a backend, database, or third-party API.
- Does not request broad temporary access to every site you browse.
- Built as a Manifest V3 Chrome extension.
- Runtime files loaded by Chrome are compiled JavaScript artifacts generated from
src/*.ts. - Badge state is maintained per tab.
- Action availability is controlled declaratively for supported Amazon hosts.
- Add storefront coverage for additional Amazon domains if needed.
- Improve extraction resilience for alternate Amazon product layouts.
- Add lightweight test fixtures for multiple product page formats.